Results 1 to 5 of 5

Thread: Names of Computers on a Network

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    4

    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.

  2. #2
    Addicted Member craigreilly's Avatar
    Join Date
    Jul 2004
    Location
    Scottsdale, AZ
    Posts
    188

    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.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    4

    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.

  4. #4

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    4

    Exclamation 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

  5. #5

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    4

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width