>Could you please tell me how to do this? I tried adding it to applications, and it won't compile, saying the EXE isn't a VFP EXE. So I added it to Other Files, which seemed to work when I compiled, but then errors at runtime ("Run Command Failed").
Yes, it must be added to Other Files.
>Would I still run it with the RUN command, now that it's compiled in or is there now some other way to run it?
Yes, you have to use RUN, not DO.
I tested it now and it doesn't work for me if I don't copy it to a separate file. I remember I did it once, but I probably don't remember it well. :( And I don't have that code anymore. Sorry for the wrong info. The good news is that if the exe is included in Other Files, you can:
COPY FILE myexe.exe TO myexe.exe && :)) Weird command, isn't it?
RUN myexe.exe
Or better use ShellExecute Win32 API func instead of RUN.
Vlad
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only