Hi there,
I would like to know if it's possible to open a third party application from VB.
I have a form and a button. On click of the button I would like to be able to open up an application (for example Drawme).
Thanks in advance.
Printable View
Hi there,
I would like to know if it's possible to open a third party application from VB.
I have a form and a button. On click of the button I would like to be able to open up an application (for example Drawme).
Thanks in advance.
The following code calls up Pbrush.exe and opens a file called MyFile.bmp.
Code:
----------------------------------
'Create an empty file with Pbrush.exe in advance, the file name being MyFile.bmp
Shell "C:\Windows\Pbrush.exe C:\MyFile.bmp",vbMaximizedFocus
'Or Shell "C:\Windows\Pbrush.exe " & Chr$(34) & "C:\My Documents\MyFile.bmp" & Chr$(34), vbMaximizedFocus
----------------------------------
Hope it helps.