I have a combobox and command button on my form. How do I populate the combobox with all of the computer names connected to an ad-hoc network?
+1
A:
Sadly, there is no easy way of doing this. The API is documented at the following URL:
http://msdn.microsoft.com/en-us/library/ms706584(v=VS.85).aspx
The documentation root for wireless networking is at:
http://msdn.microsoft.com/en-us/library/ms706556(v=VS.85).aspx
It says that the documentation is for C/C++ programmers. It will take a lot of COM knowledge to create code in VB that can interface with it.
The only other way I can suggest is find a command-line utility which outputs this information, and parse its ouput.
Mark Bertenshaw
2010-08-23 12:10:48
A:
It's been a very long while since I did anything with VB6, but I can remember enumerating LAN computers went something like this.