|
-
Mar 12th, 2002, 06:22 AM
#1
Thread Starter
New Member
IP Address with Win32API
Hi there,
My name is Saber. I am an ameture programmer, just pass time with programming. I badly wanna know about getting the IP address of my computer. I know that with API everything is possible. Is there anyone kind enough to solve my problem? I want full source code of retrieving the IP address from any computer.
Hope someone will help me.
-
Mar 12th, 2002, 07:12 AM
#2
You don't need an API for that. Just add a WinSock control, then say
VB Code:
Private Sub Form_Load()
Label1.Caption = WinSock1.LocalIP
End Sub
-
Mar 12th, 2002, 11:48 AM
#3
Black Cat
Try http://www.mvps.org/vbnet/ and look for the most popular code section for how to do this API style.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
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
|