tempman Posted April 28, 2008 Share Posted April 28, 2008 Hi, At my office we use x32 GUI application writen I think in C lenguage, which use .MDB file for workng with data, at Windows Xp Professional platform. When I try to run office application using AutoIt $var = "C:\Program Files\Office Max\OfficeMax.exe" Run($var) OfficeMax inform me that "Nececery data is not available" When I use Command Prompt C:\Documents and Settings\Administrator>"C:\Program Files\Office Max\OfficeMax.exe" it is the same, but when I try these C:\Documents and Settings\Administrator>cd "C:\Program Files\Office Max\" C:\Program Files\Office Max\>OfficeMax.exe OfficeMax load with no error! Any hint how to run OfficeMax using AutoIt? Link to comment Share on other sites More sharing options...
Briegel Posted April 28, 2008 Share Posted April 28, 2008 Hi, At my office we use x32 GUI application writen I think in C lenguage, which use .MDB file for workng with data, at Windows Xp Professional platform. When I try to run office application using AutoIt $var = "C:\Program Files\Office Max\OfficeMax.exe" Run($var) OfficeMax inform me that "Nececery data is not available" When I use Command Prompt C:\Documents and Settings\Administrator>"C:\Program Files\Office Max\OfficeMax.exe" it is the same, but when I try these C:\Documents and Settings\Administrator>cd "C:\Program Files\Office Max\" C:\Program Files\Office Max\>OfficeMax.exe OfficeMax load with no error! Any hint how to run OfficeMax using AutoIt? Try this ... Run("C:\Program Files\Office Max\OfficeMax.exe","C:\Program Files\Office Max") Link to comment Share on other sites More sharing options...
tempman Posted April 28, 2008 Author Share Posted April 28, 2008 Try this ... Run("C:\Program Files\Office Max\OfficeMax.exe","C:\Program Files\Office Max") Cheers mate! - Thanks! Link to comment Share on other sites More sharing options...
Briegel Posted April 28, 2008 Share Posted April 28, 2008 Cheers mate! - Thanks!You're welcome! 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