faster589 Posted December 15, 2011 Share Posted December 15, 2011 Hi, I'm using a Run() command to start applications. I have use this command for three kind of programs: - Chrome Run("C:\Documents and Settings\Administrator\Local Settings\Application Data\Google\Chrome\Application\chrome.exe") - Vlc Run("C:\Program Files\VideoLAN\VLC\vlc.exe") - Vnc Run("C:\Documents and Settings\Administrator\Desktop\tightnvc\vncviewer.exe") But suddenly Run() work only wit VLC and not with the two other. Why? The paths are correct and there are no error. I use Autoit in Win Xp.. Link to comment Share on other sites More sharing options...
faster589 Posted December 15, 2011 Author Share Posted December 15, 2011 I tried to create a single file with only the Run command and use Autoit debugger. When the run command whos execute a debugger show an @error with code 1. Why this command don't work? Please help me. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted December 15, 2011 Moderators Share Posted December 15, 2011 Hi, faster, welcome to the forums. First off, please note that it is good manners on the forums to wait 24 hours before reposting or "bumping" an issue. That gives us all plenty of time to respond and help you out Regarding your issue, do you have the same problem if you try a ShellExecute rather than Run? I run VLC this way, and it works for me. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
faster589 Posted December 15, 2011 Author Share Posted December 15, 2011 Hi JLogan30o13, thanks for your answer. I have fix my problem in this manner :http://support.microsoft.com/kb/812486/en-us 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