Jump to content

How to get AI to launch dialup connection box?


Recommended Posts

I have the code for a bat file solution, which is:

" rundll rnaui.dll,RnaDial <connectoid>

where <connectoid> is the name of the connection you want to start."

But since I now use AI rather than batch files, I need to do the same code above but in AI.

I did a search in this forum, but there was no help in the one message that the search brought up.

Thanks.

Link to comment
Share on other sites

  • 4 weeks later...

If you want a dialup connect box. Then you could use this instead:

Run(@ComSpec & ' /c ' & FileGetShortName(@AppDataCommonDir & '\Microsoft\Network\Connections\Pbk\rasphone.pbk'), '', @SW_HIDE)

<{POST_SNAPBACK}>

I apologize for delay. I just figured out how to get to msgs I've posted using My Assistant. Replies are not being forwarded on to me, so I just assumed no answer. I'll go see where I can fix that in my profile as I'm sure I ticked that I needed replies.

Thanks much for the code. I'll give this a try. I'm tired of the bat file <g>!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...