Packaging Wizard - Command Line

G

George

Hi all,

I need to open an Access Db right after the application has
installed. I understand that entering a conmmand in the
command line of the wizard should open the db. The Db is
installed in C:\Program Files. The Command I enter is
"C:\Program Files\MyDb.mdb". But, it will not open after
installation.

What am I doing wrong?

Thanks.
 
A

Arvin Meyer

Just guessing, but it may be that Access is not being register as an
application until rebooting. I'd try changing my command line to include the
Access executable:

"C:\Program Files\Office\msaccess.exe" "C:\Program Files\MyDb.mdb"

or whatever your path to Access is.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 
S

Stefan Menner

George said:
I need to open an Access Db right after the application has
installed. I understand that entering a conmmand in the
command line of the wizard should open the db. The Db is
installed in C:\Program Files. The Command I enter is
"C:\Program Files\MyDb.mdb". But, it will not open after
installation.

I you just want to manipulate the MDB (structure and / or data) you could
use a shareware tool that i wrote.
JetExec is a commandline tool to send SQL to MDB files.
The exe is 113KB small and doesn't need to be installed.
A help file is included.
JetExec works even if there is no MS Access installed because the Jet engine
comes with Windows 2000 and up.
JetExec can also display selected records on screen or export them to a csv
file, list tables, table structures, alter table structure etc etc.
Some older screenshots: http://www.menner.de/produkt/jetexec/screenshots.htm
Download: http://www.menner.de/files/jetexec.zip

Contact me for more information if you like... (info_A_T_menner_D_O_T_de)

Stefan
 
G

George

Hello Stefan,

Thanks for responding to my query. I down loaded
jetexec.zip as you suggested. After unzipping it, when I
opened, I get a message that says "This version of JetExec
is not registered. Contact ... ".

What do I do next?

Thanks.
 
S

Stefan Menner

George said:
Hello Stefan,

Thanks for responding to my query. I down loaded
jetexec.zip as you suggested. After unzipping it, when I
opened, I get a message that says "This version of JetExec
is not registered. Contact ... ".
What do I do next?

Hi George,

JetExec is a command line tool.
JetExec needs Windows 2000 and up *or* MS Access installed.
Open a dos prompt and type "JetExec /?" - or double click on JetExec.hlp to
read about all the parameters.
The MessageBox is simply a reminder that this version is unregistered.
If JetExec finds a JetExec.ini in the current directory, it also looks for
parameters specified in this ini file.

This is an example of an JetExec.INI-File i use every day to find out who
was callling while i was away...
==============================================================
[JetExec]
DB=ISDNLog.mdb
SQL=SELECT TOP 50 Wann, Wer, AnruferName, ZielMSN FROM TB_LOG LEFT JOIN
TB_Anrufer on TB_Anrufer.MSN = TB_LOG.Wer ORDER BY Wann DESC
COL=19,15,50,8
RepHead=30

Explanation
=======
DB = Your MDB file
SQL = Your Select- Alter- Update- Whatever-Statement
Col = column-width
RepHead = Repeat the header line every nn lines

Feel free to contact me for more information...

Best regards,
Stefan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top