not logged in • loginregister

Forums


Forums Index » Computers » Visual Basic/.net » Get computer name

Get computer name


Go to Page: 1


 
August 10th, 2005 15:50
#1

vbprog

User

Registered: 06/08/05 @ 18:00
Posts: 17


This very simple script will get the computer name.

'first method, very simple
Dim strName as string
strName=ENVIRON("COMPUTERNAME&quot

'or if you want to complicate things(useless)
'you need to add a Winsock component
strName=Winsock1.LocalHostName

______________________
Back to top


Go to Page: 1



Forums Index » Computers » Visual Basic/.net » Get computer name

Jump to:   

Who's Browsing This Topic?

1 guest.


Move to: