<br>
Look in MSDN at the WNetConnectionDialog1 function. You fill out a CONNECTDLGSTRUCT structure telling it what you want to browse for. Note that it has an embedded pointer to a NETRESOURCE structure that you must also fill out.<br>
<br>
I'm not sure what will happen if this function is called on a machine that doesn't have a network interface defined. I suspect you just get something other than WN_SUCCESS(user chose a resource) or 0xFFFFFFFF (user canceled), which you can lookup via GetLastError.<br>
<br>
Chip H.<br>
<br>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.