Results 1 to 3 of 3

Thread: Running a *.exe from within VB6

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Location
    leeds
    Posts
    9

    Wink Running a *.exe from within VB6

    Hi
    I have some basic VB skills which I'm trying to adapt to the real world.
    At the moment I'm writing a proceedure to capture a particular field of Information from an external program(which is working ok),
    but I want to add this Information as a varible parameter in a commanmd prompt executable .
    Is it possible to do this from VB6?

  2. #2
    Frenzied Member yrwyddfa's Avatar
    Join Date
    Aug 2001
    Location
    England
    Posts
    1,253

    Command

    The Command function returns a string containing command prompt parameters.

    There is an example on MSDN (not a good one) but it gives the right idea


  3. #3
    Lively Member
    Join Date
    Jul 2001
    Location
    Scotland, UK
    Posts
    68
    You could also try the Shell() command. I've used that to run .exe files from outside VB but I haven't tried passing parameters to the .exe file at the same time but I think it should work...


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