Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is frm or vcx better.
Message
From
26/02/1999 09:47:50
 
 
To
25/02/1999 20:17:56
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00191695
Message ID:
00191905
Views:
29
MAIN.MPR is your menu. Either include it in your project or make the menu folder accessable.

Also a difference between VCX and SCX forms is you do not have a data environment in VCX based forms.

>>>Is it better to keep forms as forms, or to put them into a class?
>>>
>>>I have lots of forms around, and in foxpro 2.6 was able to compile them into the exe, so that I did not have to distribute them separately. Can't seem to figure out how to do that in VFP 5.0. Is the vcx the way to go? Thanks.
>>>
>>
>>Both .VCX and .SCX based forms can be included in a compiled application without any special effort; in fact, you have to explicitly exclude the form or class library from the project if you want to send them out separately.
>
>Hi Ed,
> I ran a test. I renamed all the directories I would like to do without, in the application (forms, libs, graphics, menus, and reports). When attempting to run application, I immediately get error "file main.mpr not found". Any idea what I am doing wrong?
> I used the app builder that comes with VFP 5.0a, and the following code is still in my startup program.
>
>goApp=CREATEOBJECT("cApplication")
>*-- Configure application object.
>goApp.SetCaption("DCL")
>goApp.cStartupMenu="menus\dcl"
>goApp.cStartupForm="forms\qckstart"
>
>*-- Show application.
>goApp.Show
>
>Thanks.
>
>Daniel
Thanks,
Dan Jurden
djurden@outlook.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform