PDA

Click to See Complete Forum and Search --> : Create DUN entries with RAS API


Garfew
Aug 5th, 2001, 11:46 PM
Hi there,

I would like to know how to create DUN(dial-up networking) entries also known as phonebook entries using RAS API.

Thanx in advance :)

Jay Rogozinsky
Aug 9th, 2001, 04:05 PM
Perhaps you can share with us WHY you want to do so.

I can tell you I have done a little work with RAS. I have been able to look through the phonebook; initiate and monitor a connection. However, when I attempted to set a phone number, the DUN entry became corrupted.

I have a feeling that Microsoft RAS is loose at best. Probably because of the rapid evolution of the internet and it's relation to Dial-Up ISP. With this in mind you may find it difficult to accomplish certain things with RAS with any sort of reliability - although I could be wrong.

crispin
Aug 9th, 2001, 11:13 PM
http://www.totalenviro.com/PlatformVB


http://www.freevbcode.com/ShowCode.Asp?ID=1674


the only problem that you're going to have with this is that the code differs greatly between OS's so the code for NTx will not work for W9x unfortunately. I wrote some code for autodialing the Internet that'll work regardless of OS, it may be of some use to you.....

http://forums.vb-world.net/showthread.php?s=&threadid=77428&highlight=dial+internet

hope this helps

crispin
Aug 9th, 2001, 11:18 PM
MS RAS isn't loose, the only problem is that the API is platform specific, you must unfortunately have had some sort of problem with your code......

Jay Rogozinsky
Aug 10th, 2001, 11:01 AM
Personally, crispin, I still think the word "loose" applies simply due to the platform differences - which you stated.

Garfew, I recommend you check out crispin's links, he's got a lot of good stuff there to get you started.