|
-
Oct 20th, 2000, 12:55 PM
#1
Thread Starter
Addicted Member
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.
-
Oct 22nd, 2000, 09:21 AM
#2
Addicted Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|