Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Executing PRG in a specific folder
Message
From
11/02/2009 14:37:19
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01380936
Message ID:
01381024
Views:
80
I don't think so .... DO procname doesn't return a result like DO FORM does

>>How do I call a PRG that I know lives in a particular folder (which most likely is not in my search path) and return a result? Note that I have the full path to the PRG, and the path may contain spaces:
>>
>>lcPRG = "C:\Some Folder Name\SomePRG.PRG'
>>
>>lcResult = ??????
>>
>>Thanks
>
>do myLongPath\Prg to myReturnValue
Jim Nelson
Newbury Park, CA
Previous
Reply
Map
View

Click here to load this message in the networking platform