Announcement

Collapse
No announcement yet.

Shell

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

  • 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
    Ian Docksey, Trinitarian Bible Society

  • #2
    Code:
    DIM pid AS DWORD
    pid = SHELL("C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe " & "\\ntserver\data\StockLoc\" & Location & ".pdf")
    Forum: http://www.jose.it-berater.org/smfforum/index.php

    Comment

    Working...
    X