Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DOS program works differently within VFP
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01242242
Message ID:
01242246
Views:
19
This message has been marked as the solution to the initial question of the thread.
>I try RUNning a DELPHI-compiled program that processes images from one type to JPG and it works fine when I do it at the command window, but when I put it into a program, it doesn't quite work the same.
>
>
>RUN c:\dev\getdata\procimages.exe  c:\dev\getdata\abo1(7fz.002  c:\dev\getdata   ceciltest
>
>
>When I run it in a VFP program I actually thought I needed to add the ampersand to make the variables work, but it didn't work, so I took them off. See below:
>
>
>   lcParam1=oApp.cImageFolder + "\" + Photos.cFileName
>   lcParam2=lcPath2PICSFolder
>   lcParam3=lcImageName
>   RUN C:\Dev\ProcessImage\ProcImages.EXE lcParam1 lcParam2 lcParam3
>
>Any ideas?


lcParam1=oApp.cImageFolder + "\" + Photos.cFileName
lcParam2=lcPath2PICSFolder
lcParam3=lcImageName

lcCommand = [RUN C:\Dev\ProcessImage\ProcImages.EXE ]+ lcParam1+[, ]+lcParam2+[, ]+lcParam3
&lcCommand
[/code]
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform