Establishing a dial up connection with Windows NT

Posted on 1999-12-06
Medium Priority
Last Modified: 2010-05-02
shell "rundll rnaui.dll,RnaDial MyAccount",vbNormalFocus

Will run the dial up connection with the account MyAccount.  This works fine in Windows95/98, but rnaui.dll does not exist in NT and the version in 98 cannot be registered in NT.

Is there something similar that works with NT?
Question by:Goob123
  • 2

Accepted Solution

Torus earned 100 total points
ID: 2259181
you can use

Shell "Rasphone -d " & YourAccount, vbNormalFocus

Author Comment

ID: 2259746
I was looking into that and there are a few things about the rasphone that was corny.  Is there a way to suppress the "Dial-Up Networking Monitor" right now I am using a findwindow and sendmessage to close it but if there was a way to automatically suppress it that would be better.  And I was wanting to use the standard connection dialog just for consistency sake.  If there is no other way the rasphone would certainly be an option though.

Expert Comment

ID: 2273935
I think you can set it in the option of Dial-up Networking Monitor.
Run DUN, then choose More|Monitor Status|Preferences. Choose
"As an icon next to the taskbar clock" instead of "As a window on the
desktop". When connected, the DUN monitor will become to a tray icon.

I don't understand "standard connection dialog". That mean you want to display the dialog only unless you press the dial button for dialling? If so, just use rasphone YourAccount. For more detail about the option of the rasphone, you can use rasphone -?

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As a person who answers a lot of questions, I often see code that could be simplified, made easier to read, and perhaps most importantly made easier to maintain if the code was modified to use the Select Case statement. This article explains how to…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question