Results 1 to 2 of 2

Thread: Computer Name

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 1999
    Location
    India
    Posts
    85

    Post

    From a vb activeX exe application I would like to dynamically determine the name of the computer.
    I need to install in a web server. depending on the Server on which the component is installed it should take the name of the computer. what method can I use to retrive the computer name?
    If any one have an idea on this do reply soon.
    thanks for your time.

  2. #2
    Junior Member
    Join Date
    May 1999
    Location
    N/A, N/A, England
    Posts
    21

    Post

    you can retrieve the 'friendly name' of a computer with the winsock controll

    Code:
     name = winsck1.LocalHostName
    ------------------
    Third year Software Engineering Student.

    On placement at the University of Manchester
    playing with expensive cool things...
    http://drinky.u4l.com
    [email protected]



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