Since our company has databases and internet links in various locations some people have multiple copies and versions of some of the databases.
I’m building a faceplate that will find all the databases on a users PC and provide hyperlinks to our web sites. So far so good.
After the database searches the hard drive it lists the database, version, and path found.
(I have a version table in each db I create). Still working ok.
The next step is to select the most current version of each database and click on a process button.
This creates command buttons on the main menu for each selection. Works good. The next part I can’t get past.
After the buttons and code behind them are created, the VB window stays open in front. I can close it manually but I don’t want the users to have to do that.
I attached a copy of the database for anyone interested. I disabled the search and add database since the table is already populated
and you won’t have the same databases on your pc.
One extra question. Is there a way to delete the orphaned code (with VBA)when you remove a command button? I can see a need here when I build in the menu to
remove the buttons and regenerate them if the user wants to restart/update the buttons.
Thanks
Scott
-
Keep VB Window Closed (A2k)
- This topic has 10 replies, 2 voices, and was last updated 20 years, 4 months ago.
AuthorViewing 3 reply threadsAuthorViewing 3 reply threads