Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to initiate DUN from VFP5
Message
From
20/03/1999 10:39:16
 
 
To
20/03/1999 04:54:43
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00199769
Message ID:
00200134
Views:
14
>Hi, Erik!
>
>>>Any words of wisdom?
>>>
>>>Wayne
>>
>>wwIPstuff, as Josh mentioned is great. But it's RAS funcitons only work under WinNT. If you need to do this in Win95, just use
>>
>>RUN /N RunDLL rnaui.dll,rnadial MyConnection
>>
>>where myconnection is the name of your connection.
>>
>>Be aware though, that this method gives you no "handle" on the dialup session, so you don't have a way to programmatically hang up.
>
>Actually he will have a way to hang up programmaticaly, but not so easily. It will require to call about 5 functions from RAS API and enough long coding. It's not too difficult, but bore affair. Does nobody wrote a complete RAS API wrapper yet? Strange...

Actually yes. One comes with the code on the CD included with "Visual Foxpro 5 Enterprise Development". It's not public domain code, but maybe JVP wouldn't mind posting the class here...
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform