By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,486 Members | 2,169 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,486 IT Pros & Developers. It's quick & easy.

Starting other Applications

P: 74
Is it possible to start up an application via Command button? i want to open another database (B) to view information while in database (A).
Jun 6 '07 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 218
Hi Hutch

Yes, you can use the following code in the button's click event:-
Expand|Select|Wrap|Line Numbers
  1. Dim TaskId as Variant
  2. TaskId = Shell(CommandLine, WindowStyle)
Check out the help on the Shell function.

HTH
Steve
Jun 6 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.