Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Too cheap to buy static IP
Message
From
21/03/2000 19:34:55
 
 
To
21/03/2000 19:27:28
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00348371
Message ID:
00348673
Views:
17
>>Fred,
>>If you can obtain the RAS connection handle (did you initiate the connection?), you can use RASGetProjectionInfo in RASAPI32.dll to return the IP address of your current connection. This function returns a structure that makes it a little difficult to accomplish this in native VFP (you are obliged to use a C/C++ API).
>>
>>I don't know how to get the handle that another process started (never had to worry about that one).
>>
>>
>>Good Luck
>What about
>ipconfig > somefile.txt
>then read that file?

That's got it!
Some times the old ways are the best.

Thanx
Fred Lauckner

You know, it works on my computer. I don't know what your problem is.

.Net aint so bad.
Previous
Reply
Map
View

Click here to load this message in the networking platform