Results 1 to 5 of 5

Thread: Dial-Up?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Location
    Aruba
    Posts
    6

    Question Dial-Up?

    Hi,
    I have a few questions concerning dial-up connection.

    1) How can i get the connected time from a connection?
    2) If (1) isn't possible, how can i just bring up the default one?
    3) And if the default one comes up, how can i disallow people
    from going into it's settings?

    * I'm asking these questions cause i'm making a kind of internet
    cafe, and people always F**K around in the settings so it would
    be nice to make my own, or just disable them.

    Any help on how to create my own or just disable the settings is greately appreciated..


    Yours truly,
    Orson Oehlers
    .ARUBA.
    Nothing is impossible, there are only possibilities waiting to be discovered.

  2. #2
    Member
    Join Date
    Sep 2000
    Posts
    39
    This is the way I would approach this:

    Create a VB form dialog that has a timer. The time is needed to know how much time has elapsed. On the form place User/Login/Password, whatever is needed in your situation.
    And here is the tricky part: export all Dial-UP sessions from Dial-Up networking foloder to a different location, as far away from user as possible. This is done simply by dragging the a session to a diff. folder. Now you have a file with your session name and .DUN extension. In your program use shell() to execute
    rundll32.exe rnaui.dll,RnaDial {name of connection to establish}
    Make sure you specify a full path and extension for the connection.
    Now just create a dummy form with topmost attribute and use SENDKEY to initiate your session.

    Hope this helps.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Location
    Aruba
    Posts
    6
    Hi,
    I just started with programming, doing mostly tech/design stuff, and i don't know that much about programming.
    Your explanation sounds good, but i wouldn't know how to execute that from shell().
    ...oh....i'm running win2000, so the rnaui.dll doesn't exist.

    Could you please explain some more.
    Nothing is impossible, there are only possibilities waiting to be discovered.

  4. #4
    Member
    Join Date
    Sep 2000
    Posts
    39
    Hi Orson,

    It sounds like a real challange. I guess you will have to set a tight W2K security on the client sets. Another thing I can contribute is the following link that explains how to deal with RAS under W2K and other OSs. Good Luck.

    http://home.iprimus.com.au/billmcc/P...n/dunintro.htm

  5. #5

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Location
    Aruba
    Posts
    6
    Thanks for the info.
    I'll look for some more info, and if i find out i'll post it.
    If I don't find out anything i'll then try to disable the settings and properties buttons, which i don't know how to do yet.
    Nothing is impossible, there are only possibilities waiting to be discovered.

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