Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.paradox    |    To crash or not to crash, asks Borland    |    9,834 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 7,933 of 9,834    |
|    Anders Jonsson to All    |
|    Re: execute    |
|    21 Nov 06 09:56:06    |
   
   From: gt3TakeThisAway@bredband.net   
      
   > execute("C:\\Program   
   > Files\\MSOffice\\OFFICE11\\Powerpnt.exe,C:\\Corel\\PdoxApps\\Visual   
   > Acuity\\animation1.pps").   
      
   I think you should get rid of the comma after the Exe but not sure.   
      
   Anyway, much better to use ShellExecuteA - search the forums for the code.   
   It's genereic for opening all kinds of files with a registered extension.   
      
   To hardcode the path to the exe in this way could fail for many reasons.   
      
      
   Anders   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca