Dec 9, 2005 #1 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
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
Dec 9, 2005 1 #2 HarleyQuinn Programmer Jan 15, 2003 4,769 GB 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. Upvote 0 Downvote
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.
Dec 9, 2005 Thread starter #3 JackSES Technical User Dec 9, 2005 4 GB KK thank you for the tip HarleyQuinn Upvote 0 Downvote
Dec 9, 2005 #4 dcurtis Technical User May 1, 2003 273 US What about the FollowHyperlink to the path of the application .exe in the OnClick of the button? Upvote 0 Downvote
Dec 10, 2005 #5 strongm MIS May 24, 2001 20,148 GB >What about the FollowHyperlink FollowHyperlink is an Office method, not VB ... Upvote 0 Downvote
Dec 10, 2005 Thread starter #6 JackSES Technical User Dec 9, 2005 4 GB does anyone tell me the code to open a app in VB please, thanks for that advice about that being for Office Strongm Upvote 0 Downvote
does anyone tell me the code to open a app in VB please, thanks for that advice about that being for Office Strongm
Dec 10, 2005 #7 strongm MIS May 24, 2001 20,148 GB Er .. HarleyQuinn provided a pointer for you Upvote 0 Downvote
Dec 10, 2005 #8 billy71 Programmer Aug 20, 2002 89 US 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 Upvote 0 Downvote
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
Dec 14, 2005 Thread starter #9 JackSES Technical User Dec 9, 2005 4 GB thanks for all the advice I now no how to open a app, thank you Upvote 0 Downvote
Dec 19, 2005 #10 petesSakes Vendor Dec 19, 2005 3 US Sub Command1_click Dim ff ff = Shell("c:\program files\adobe\adobe.exe", 3) ff = doevents End Sub Upvote 0 Downvote