Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need to initiate DUN from VFP5
Message
De
20/03/1999 10:39:16
 
 
À
20/03/1999 04:54:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00199769
Message ID:
00200134
Vues:
13
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform