Sign in to follow this  
Followers 0
chiners_68

help running a file

6 posts in this topic

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..?

Share this post


Link to post
Share on other sites



If you double click on your mde file, what happened ?

It opens ?


[u]No fate but what we make (Connor, Sarah)[/u]

Share this post


Link to post
Share on other sites

If you double click on your mde file, what happened ?

It opens ?

What about?

ShellExecute ( "filename" [, "parameters" [, "workingdir" [, "verb" [, showflag]]]] )

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

when i run the mde file manually it opens up in access without a problem.

ill give shell execute a go..

Share this post


Link to post
Share on other sites

shellexecute worked. im sure ive used it before but you know what its like if you dont use these things for months..lol

cheers

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0