Jump to content

How to run an MDE?


kenz
 Share

Recommended Posts

I'm trying to run an .MDE file from a script. I tried just using the Run command but that doesn't work. I'd rather not Run Access with an argument since Access could possibly be installed in diffferent places. Any ideas? Thanks

Link to comment
Share on other sites

  • Developers

I'm trying to run an .MDE file from a script. I tried just using the Run command but that doesn't work. I'd rather not Run Access with an argument since Access could possibly be installed in diffferent places. Any ideas? Thanks

<{POST_SNAPBACK}>

try using Run(@comspec & " /c start file.mde", "", @SW_HIDE)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

I'd rather not Run Access with an argument since Access could possibly be installed in diffferent places.

You don't have to know where Access is to launch it. (try Start>Run>msaccess)

Therefore:

Run (@ComCpec & " /c start msaccess argument")

Link to comment
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
 Share

  • Recently Browsing   0 members

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