Dec 9, 2005 #1 JackSES Technical User Joined Dec 9, 2005 Messages 4 Location 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 Joined Jan 15, 2003 Messages 4,769 Location 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 Joined Dec 9, 2005 Messages 4 Location GB KK thank you for the tip HarleyQuinn Upvote 0 Downvote
Dec 9, 2005 #4 dcurtis Technical User Joined May 1, 2003 Messages 273 Location 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 Joined May 24, 2001 Messages 20,264 Location GB >What about the FollowHyperlink FollowHyperlink is an Office method, not VB ... Upvote 0 Downvote
Dec 10, 2005 Thread starter #6 JackSES Technical User Joined Dec 9, 2005 Messages 4 Location 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 Joined May 24, 2001 Messages 20,264 Location GB Er .. HarleyQuinn provided a pointer for you Upvote 0 Downvote
Dec 10, 2005 #8 billy71 Programmer Joined Aug 20, 2002 Messages 89 Location 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 Joined Dec 9, 2005 Messages 4 Location 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 Joined Dec 19, 2005 Messages 3 Location US Sub Command1_click Dim ff ff = Shell("c:\program files\adobe\adobe.exe", 3) ff = doevents End Sub Upvote 0 Downvote