How can I create a network browser (but not using Winsock control-just API maybe) that is like window's Network neighborhood program?
Printable View
How can I create a network browser (but not using Winsock control-just API maybe) that is like window's Network neighborhood program?
hi,
try this
VB Code:
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long rtn = ShellExecute(Frm_M_Main.hwnd, "OPEN", "http://186.10.29.10:2500", vbNullString, vbNullString, 1)
Or use NET VIEW > A.TXT at a DOS level and analyse the resulting file.
Or see: http://www.mvps.org/vbnet/index.html...serverenum.htm