Results 1 to 2 of 2

Thread: Open a third party application

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2000
    Posts
    140
    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.

  2. #2
    Addicted Member
    Join Date
    Sep 2000
    Posts
    138
    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
  •  



Click Here to Expand Forum to Full Width