Hi all:
I checked out thread184-1005051 which has a lot of useful information for this problem but I still couldn't find a solution.
I am running a program within VFP that needs a literal string with quotation marks sent to it. Like "This is a test". For example, this code works:
The string I need to pass to the program is in my editbox. I've used the following methods and none has worked:
or
The program just takes whatever I've passed to it in these instance very literally.
I appreciate your help.
I checked out thread184-1005051 which has a lot of useful information for this problem but I still couldn't find a solution.
I am running a program within VFP that needs a literal string with quotation marks sent to it. Like "This is a test". For example, this code works:
Code:
RUN /N2 c:\thisprog.exe "How are you doing?"
The string I need to pass to the program is in my editbox. I've used the following methods and none has worked:
Code:
RUN /N2 c:\thisprog.exe chr(34)+Thisform.Editbox.Value+chr(34)
Code:
a=Thisform.Editbox.Value
RUN /N2 c:\thisprog.exe ["&a"] && or chr(34)+&a+chr(34)
The program just takes whatever I've passed to it in these instance very literally.
I appreciate your help.