PDA

Click to See Complete Forum and Search --> : Names of Computers on a Network


04nunhucks
Jun 2nd, 2006, 05:35 PM
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.

craigreilly
Jun 2nd, 2006, 08:26 PM
http://www.vbforums.com/showthread.php?t=279984&highlight=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.

04nunhucks
Jun 3rd, 2006, 05:03 AM
Thankyou craigreilly, however, it does not work in VB Express. Some parts of the code are not declared.

04nunhucks
Jun 3rd, 2006, 08:55 AM
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

04nunhucks
Jun 3rd, 2006, 10:30 AM
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.