Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a form from an external prg
Message
From
01/07/2015 04:25:25
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01621645
Message ID:
01621648
Views:
73
>Is there a way to call a form (that i have in my Exe file) from an external prg ?
>
>My app is an .Exe compiled foxpro files.....in one form i call an external .prg file (really an .fxp). In this .fxp i need to call a form that i have in my Exe, but foxpro always searches for an external .scx file, that obviously i have not in the customer folder....i have only the compiled exe file....
>
>Some solution or suggest ?
>
>Thanks

I haven't tested it, but you should be able to do it this way:
Do yourExternalProgram with thisform

*YourExtrernalProgram.prg
lParameter toForm
toForm.Caption = 'Message from exterrnal program'
*some more commands
Return
Previous
Reply
Map
View

Click here to load this message in the networking platform