PDA

Click to See Complete Forum and Search --> : Computer Name


ramdasv
Aug 24th, 1999, 02:34 AM
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.

Drinky
Aug 24th, 1999, 07:54 PM
you can retrieve the 'friendly name' of a computer with the winsock controll

name = winsck1.LocalHostName

------------------
Third year Software Engineering Student.

On placement at the University of Manchester
playing with expensive cool things...:)
http://drinky.u4l.com
wizard_03@hotmail.com