Results 1 to 2 of 2

Thread: trigger a foxpro prg to run

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2000
    Location
    Hong Kong
    Posts
    62

    Question

    I have a foxpro prg. How can it be triggered to run in a VB programme? Do I need to make the prg into an exe first? Thank you!
    Please Visit My WebCam!!
    http://www.hmcheung.com

  2. #2
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    554
    If your foxpro prog is an exe then you can simply use the SHELL command to run your foxpro exe

    Code:
    Dim lngResult as Long
    
      lngResult = SHELL (Prog,Window state)
    where:
    Prog - is your exe (full or relative path )
    Window state - is the state of your foxpro window


    DocZaf
    {;->

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