Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting User IP Address and other info in LAN (URGENT)
Message
From
14/12/2001 10:51:57
 
 
To
14/12/2001 01:17:40
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00594261
Message ID:
00594437
Views:
38
>Hello,
>
>i have developed a VB application which is runnig on LAN
>i want to do the following things
>if any user in LAN saves and commit the records then on SERVER
>i would like to flash a message box which will contain the
>IP Address, Name of Computer on network, record details of the user's machine
>who has saved and commited the record
>
>
>Thanx in advance,
>Amol

You could add the Winsock control to your client application's data entry form and obtain IP and computer name there so that it can be sent to the server along with the rest of the data. See sample below:
MsgBox Winsock1.LocalIP & vbCrLf & Winsock1.LocalHostName
Where Winsock1 is the name of the added winsock activex control.
Previous
Reply
Map
View

Click here to load this message in the networking platform