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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I launch the calculator?

Status
Not open for further replies.

ErroR

Technical User
Apr 9, 2001
79
US
I have a Tools menu and a Calculator entry, now what code do I put into that section for the app to lauch the Microsoft Calulator?
 
shell("calc.exe") Karl Blessing aka kb244{fastHACK}
kblogo.jpg
 
Hello ErroR

Try using the command shell. for your example

shell "calc, vbNormalFocus"

The calc is the name of the calculator (actualy calc.exe)
The vbNormalFocus is that you want a focus on the specific application that is lunched.

Similar to the calulator you can execute any program as long as you know it's path or you may skip the path part if you know that the file exist in the system's path (like calculator or the note pad)

I hope this will help you
"The Camel will walk the desert of programming once again ..."

Camel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top