Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determing True Printer Port
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00441561
Message ID:
00484086
Views:
16
Excellent! I think this is exactly what I've been looking for. Thanks!

Ben Keene

>
>You can call the Win32 API function WNetGetConnection() to retrieve the UNC of a shared device; if the device name is local, then the return from WNetGetConnection() is null, and the port is the port AFA Windows is concerned.
>
>You can also use ADSI, or the Wscript.Network COM object to return the UNCs of shares at your station.
Previous
Reply
Map
View

Click here to load this message in the networking platform