|
-
Nov 27th, 1999, 02:02 PM
#1
Thread Starter
Member
Im aware that winipcfg can return u your current ip address. But i was wondering how would u actually retrieve that.. Also i was wondering how u could take the last part of a ip and change it.. like as in the ip being 169.22.136.44 How would u take the 169.22.136 part away from that and store it in a variable?
Any help would be greatly appreaciated!!
Thanks
-
Nov 27th, 1999, 04:08 PM
#2
One of the Quickest and Simplest ways is probably to use the Winsock Control and look at the LocalIP Property.
Code:
Private Sub Form_Load()
Caption = Winsock1.LocalIP
End Sub
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
-
Nov 27th, 1999, 10:35 PM
#3
Hyperactive Member
What if you have multiple IP's? I have 2 of them, because of a LAN that I setup.
------------------
Tom Young, 14 Year Old
[email protected]
ICQ: 15743470 Add Me ICQ Me
AIM: TomY10
PERL, JavaScript and VB Programmer
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|