Quick compile

  • Thread starter Thread starter David S.
  • Start date Start date
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)
 
Why bother? Why not just use the menu option? Do you plan for your
application to programatically compile itself?

TC
 
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.
 
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.
 
Back
Top