Results 1 to 5 of 5

Thread: Create DUN entries with RAS API

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Posts
    1

    Question Create DUN entries with RAS API

    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

  2. #2
    Addicted Member
    Join Date
    Jul 2001
    Posts
    133
    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.

  3. #3
    Fanatic Member crispin's Avatar
    Join Date
    Aug 2000
    Location
    2 clicks west of a Quirkafleeg...Cornwall, England
    Posts
    754
    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/showthrea...=dial+internet

    hope this helps
    Crispin
    VB6 ENT SP5
    VB.NET
    W2K ADV SVR SP3
    WWW.BLOCKSOFT.CO.UK

    [Microsoft Basic: 1976-2001, RIP]

  4. #4
    Fanatic Member crispin's Avatar
    Join Date
    Aug 2000
    Location
    2 clicks west of a Quirkafleeg...Cornwall, England
    Posts
    754
    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......
    Crispin
    VB6 ENT SP5
    VB.NET
    W2K ADV SVR SP3
    WWW.BLOCKSOFT.CO.UK

    [Microsoft Basic: 1976-2001, RIP]

  5. #5
    Addicted Member
    Join Date
    Jul 2001
    Posts
    133
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width