Quick compile

D

David S.

I came accross the following code to compile an app. The
problem is I cannot get it to throw an error if the app.
did not compile. I'd appreciate any insight you may
have. Thanks.

David

call SysCmd(504, 16483)
 
T

TC

Why bother? Why not just use the menu option? Do you plan for your
application to programatically compile itself?

TC
 
P

Paul Overway

I use the following code in a VB app...could also be VB Script

Kill strOut
x.SysCmd 603, strIn, strOut

where x is an Access application object, strIn is the database to compile
and make into MDE, and strOut is the output file.

I build 10 MDEs in 3 versions of Access, so, this saves some time. I ignore
errors if it can't compile, but it doesn't build the MDE, so, I know there
is a problem anyway.
 
T

TC

Ok, seems neat!

TC


Paul Overway said:
I use the following code in a VB app...could also be VB Script

Kill strOut
x.SysCmd 603, strIn, strOut

where x is an Access application object, strIn is the database to compile
and make into MDE, and strOut is the output file.

I build 10 MDEs in 3 versions of Access, so, this saves some time. I ignore
errors if it can't compile, but it doesn't build the MDE, so, I know there
is a problem anyway.
 

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