Building an application wrapper

B

Bob Segrest

I have an Access application.

I want to write a VB application that will...

1. restore the Access data file
2. launch the Access application
3. wait for it to close
4. and then backup the data file

Restoring, backup and launching Access are easy.

The problem is getting the VB application to wait for the Access application
to close. Can anyone suggest how I might do this?

Bob Segrest
 
T

Tran Gia Loc

Hi Bob,
I can suggest you 2 solutions:
1. Your app should intercept a certain event triggered
by Access during its shutdown.
2. Write a small add-in intercepting a certain event
triggered by Access during its shutdown. Indeed, Office
programs always notify their add-ins during their shutdown.
When receiving this notification, your add-in immediately
alarms your app.
Tran Gia Loc.
 

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