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 strongm 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 open a app 1

Status
Not open for further replies.

JackSES

Technical User
Dec 9, 2005
4
GB
Can any body inform me on how to have a button open a application like Adobe Photoshop and other stuff from just click on a button.

Thanks for any advice
 
I would do a search on this forum for Shell().

That should turn up several examples.

Hope this helps

HarleyQuinn
---------------------------------
Get the most out of Tek-Tips, read FAQ222-2244 before posting.
 
KK thank you for the tip HarleyQuinn
 
What about the FollowHyperlink to the path of the application .exe in the OnClick of the button?
 
>What about the FollowHyperlink

FollowHyperlink is an Office method, not VB ...
 
does anyone tell me the code to open a app in VB please, thanks for that advice about that being for Office Strongm
 

This one opens an .exe program from a VB form with a command button.

Private Sub Command1_Click()
MyAppID = Shell("c:\Program Files\Your.exe", 1) ' Run All Reports
AppActivate MyAppID ' Activate Microsoft
End Sub

 
thanks for all the advice I now no how to open a app,
thank you
 
Sub Command1_click
Dim ff

ff = Shell("c:\program files\adobe\adobe.exe", 3)
ff = doevents

End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top