Results 1 to 2 of 2

Thread: Running another exe in my application

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2000
    Posts
    3

    Question

    Hi!

    I have a big problem - in my VB 6.0 application I would like to run another application, for instance the Office-products or AcrobatReader, and then use this "attached program".
    How do I do this? I am a beginner so please answere so exactly as possible.
    Saw another thread with a similar question, but I didn't understand the answeres.
    Many, many thanks!

  2. #2
    Guest
    To have it embedded in your Application, use the OLE Control. If you want to load it up while your Application is running, use the Shell function.

    Code:
    ' Shell Function
    RetVal = Shell("C:\Command.com", vbNormalFocus)

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