Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running a Form From An External Program
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00747361
Message ID:
00747382
Views:
18
>I have a form (let's say Getperd.scx) compiled in an exe. If I compile a small external program on the fly with DO FORM Getperd it says it does not exist. I was used to FPW26 handling this Ok.
>Anyone know of a workaround ?
>BTW I am using VFP6
>Thanks
>John

Does Getperd.scx exist on disk outside exe? If not, then external PRG cannot find it inside some EXE. If Getperd.scx exists on disk somewhere, it may be only a question of the correct SET PATH to find it.

If necessary, you can also extract the form on the fly from EXE.
lcSCX = FILETOSTR("myform.scx")
lcSCT = FILETOSTR("myform.sct")
STRTOFILE(lcSCX, "c:\mydir\myform.scx")
STRTOFILE(lcSCT, "c:\mydir\myform.sct")
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform