Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open calculator through VB application

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Can someone tell me how I can create a routine that when a user clicks the .exe it will open "Calculator" and if calculator is already open it will bring it forward? Thanks
 
shell command

I think it is something like

shell "C:\windows\calc.exe" , vbnormalfocus

or whatever the path to calc.exe is

you can also add the extra param to give the calc focus

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top