Establishing a dial up connection with Windows NT

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?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

you can use

Shell "Rasphone -d " & YourAccount, vbNormalFocus

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Goob123Author Commented:
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.
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 -?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.