Try this: "C:\Program Files\Microsoft Office\Office\MSAccess.exe" "C:\TestDB\DataBasetest.mdb"
"Alan Gunn" <[EMAIL PROTECTED]>
09/16/2005 10:14 AM |
|
Yeah, I was checking that out, but it isn't working for me. How would
the notepad.exe know where the file is? In my example, would I use
Run Program "Access.exe C:\TestDB\DataBasetest.mdb"
Or would it be something like
Run Program "Access.exe DataBasetest"
Neither of those seems to work.
Thanks for the help. I am also a big fan of the help menu.:)
alan
-----Original Message-----
From: Jakob Lanstorp [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 16, 2005 10:03 AM
To: Alan Gunn
Cc: [email protected]
Subject: RE: MI-L Run Application
>From the MapBasic help:
The following Run Program statement runs the Windows text editor,
"Notepad," and instructs Notepad to open the text file THINGS.2DO.
Run Program "notepad.exe things.2do"
The following statement issues a DOS command.
Run Program "command.com /c dir c:\mapinfo\ > C:\temp\dirlist.txt"
TGIF
Jakob
Jakob Lanstorp
Senior Consultant
Geographical Information & IT
COWI A/S
Odensevej 95
5260 Odense S.
Tel +45 6311 4900
Fax +45 6311 4949
Mob +45 5050 8087
E-mail [EMAIL PROTECTED]
http://www.cowi.dk
http://www.cowi.com
-----Original Message-----
From: Alan Gunn [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 16, 2005 4:39 PM
To: [email protected]
Subject: MI-L Run Application
Hey, me again.
Is it possible to start another non-MI or non-MB application from a
mapbasic application? For example, I want to have a button on my tool
bar that will launch an access database outside of MI.
I have tried a few things but all I get is "could not execute - program
could not be run".
Any hints?
Thanks,
Alan
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 17908
