Names of Computers on a Network
I know that this must be posted somewhere, but I can't find it. Hopefully this won't make you mad as this has probably been asked many times:
I need to display the names of computers within a network in a combo Box. I have seen many other codes on the internet, however, they do not work in Visual basic 2005 Express.
I have recently restarted to do a bit of programming and I have forgotten nearly everything, so please excuse me if I don't know what you mean.
Re: Names of Computers on a Network
http://www.vbforums.com/showthread.p...ht=wmi+network
This worked on VS 2005 Standard in a WORKGROUP environment.
Search to the bottom and find '02-26-2004, 05:53 PM by PAX' and the first one did not work properly.
Hopefull is will work on Express - although they left a lot of things out of that.
Re: Names of Computers on a Network
Thankyou craigreilly, however, it does not work in VB Express. Some parts of the code are not declared.
Re: Names of Computers on a Network
I have found a code that does what I want, however, it is written in VB6. Can it be translated to use in Visual Basic 2005 Express.
http://www.freevbcode.com/ShowCode.asp?ID=421
Re: Names of Computers on a Network
I am trying to upgrade the code however, I recieve this:
"Unexpected exception occurred during upgrade engine operation: Not able to bind to the source (Exception from HRESULT: 0x8004000A (OLE_E_CANT_BINDTOSOURCE))"
I cannot find the error message in msdn or any KB articles.