Diana (Cda) Posted February 13, 2005 Share Posted February 13, 2005 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 More sharing options...
MHz Posted February 13, 2005 Share Posted February 13, 2005 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) Link to comment Share on other sites More sharing options...
Diana (Cda) Posted March 12, 2005 Author Share Posted March 12, 2005 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now