Open an application

T

TIML

Is there a way to open an application (call on an .exe) from within access
vba?

Reason: I create a text file with Access and then have to open a VB
application that I built to convert to the text file into a different
(format) file.

I am using Access 2000.

Tim
 
S

SteveD

try using the wizard when adding a button to a form. It
walks through a series of steps to connect your
application. Then see the code behide it.

Hope that helps
 
D

Dirk Goldgar

TIML said:
Is there a way to open an application (call on an .exe) from within
access vba?

Reason: I create a text file with Access and then have to open a VB
application that I built to convert to the text file into a different
(format) file.

I am using Access 2000.

Tim

See help for the Shell function. Also, since you may need to wait for
the shelled application to finish, see this link:

http://www.mvps.org/access/api/api0004.htm
 
T

TIML

never mind, my question was answered by fusion_z. Sorry!!

shell("Path to program")
 
T

TIML

Thanks Steve, I did not see your response.

SteveD said:
try using the wizard when adding a button to a form. It
walks through a series of steps to connect your
application. Then see the code behide it.

Hope that helps
 

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