Announcement

Collapse
No announcement yet.

Shell

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • José Roca
    replied
    Code:
    DIM pid AS DWORD
    pid = SHELL("C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe " & "\\ntserver\data\StockLoc\" & Location & ".pdf")

    Leave a comment:


  • Ian Docksey
    started a topic Shell

    Shell

    Hello
    CASE %IDC_PLAN
    IF CBCTLMSG = %BN_CLICKED OR CBCTLMSG = 1 THEN
    LISTBOX GET TEXT CBHNDL, %IDC_LBLocations TO Location
    REPLACE " " WITH "" IN Location
    SHELL "C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe " & _
    "\\ntserver\data\StockLoc\" & Location & ".pdf"
    END IF
    The above is a section of code that uses the SHELL routine
    When it is run I can not use the program until I close this instance "Adobe Reader"
    How can I carry on using my program and leave "Adobe Reader" running?

    Thanks
    Ian
Working...
X