chiners_68 Posted April 22, 2008 Posted April 22, 2008 Ive never had a problem with run until now. When I try to run the mde file below im getting an error. run("C:\Program Files\CompassCC\ProAchieveSQL\PVSQL.mde") anyone know how I can run this mde from autoit..?
The_Blade Posted April 22, 2008 Posted April 22, 2008 If you double click on your mde file, what happened ? It opens ? [u]No fate but what we make (Connor, Sarah)[/u]
Briegel Posted April 22, 2008 Posted April 22, 2008 If you double click on your mde file, what happened ? It opens ? What about? ShellExecute ( "filename" [, "parameters" [, "workingdir" [, "verb" [, showflag]]]] )
The_Blade Posted April 22, 2008 Posted April 22, 2008 What about ? If the file association is not made in OS, you can use ShellExecute or anything else, file won't be loaded ... ShellExecute : "Success: Returns 1. Failure: Depends on RunErrorsFatal; see Remarks " Check it out ... [u]No fate but what we make (Connor, Sarah)[/u]
chiners_68 Posted April 22, 2008 Author Posted April 22, 2008 when i run the mde file manually it opens up in access without a problem. ill give shell execute a go..
chiners_68 Posted April 22, 2008 Author Posted April 22, 2008 shellexecute worked. im sure ive used it before but you know what its like if you dont use these things for months..lol cheers
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