Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is frm or vcx better.
Message
From
26/02/1999 16:34:31
 
 
To
26/02/1999 09:47:50
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00191695
Message ID:
00192181
Views:
30
I think I get it. I and the mpr as a program to the code section of the project. But I do not put it under source control. To edit, I still go into the mnx under menus. Sound right? Thanks.


>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
EMail: danielj@ryte-byte.com
"If I'm paddling so hard, how come I'm going backwards?" - Pinocchio (while the whale was swallowing him...)
Previous
Reply
Map
View

Click here to load this message in the networking platform