Shell command help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rafiu
    New Member
    • Jul 2007
    • 1

    #1

    Shell command help

    I have a form that call a perl script and I use shell command to do the calling. The perl script will run some process. I want to be able to disallow user from closing the form when the process is running until the process finish running. it any user try to close the form, I want an error message, but when the process is done running and a user wants to close the form, its ok.
    Below is my code

    param1_folderLo c = Convert.ToStrin g(totalSelected .Item(index))
    procID = Shell("perl C:\\stwich_prof ile_copy.pl " & param1_folderLo c
Working...