Jump to content

Recommended Posts

Posted

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?

Posted

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")

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
  • Recently Browsing   0 members

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