Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Works as an *.app not as an *.exe
Message
From
15/11/2002 09:26:21
 
 
To
15/11/2002 00:32:57
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00722936
Message ID:
00723172
Views:
10
>>The procedure runs fine when I test it as a *.app but not when I run it as an *.exe file.
>
>What version of Fox do you use? You have to compile the program for it to be useable, which you could do in the runtime (the .exe) starting in VFP6 SP3 and later using the COMPILE command.

I use version 7 with lastest SP's.

I was making the object variable oMenuPro and making it private. I solved the problem by making oMenuPro a property of the MenuLib class and firing "= this.oMenuPro.Procedure1" when the bar is selected rather than "= oMenuPro.Procedure1".

This work around works and this a better way to do it. I still do not know why the first solution worked when I ran as an *.app file and did not work when I ran it as a compiled *.exe file.
Best Regards
Don Simpson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform