Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is an app running?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00160151
Message ID:
00160218
Views:
24
>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
Map
View

Click here to load this message in the networking platform