Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating Project programatically
Message
From
07/11/1997 14:51:16
 
 
To
07/11/1997 14:37:03
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00058891
Message ID:
00058972
Views:
35
>>>>>>>Does anybody have, or know where to find, information on creating a new project programatically??
>>>>>>>I am looking into creating a custom builder for our "standard app" with the creator of the app to be able to plug in specific components for the application and then do a build exe...
>>>>>>>
>>>>>>>TIA
>>>>>>
>>>>>>If you are unable to find any information about buiding a project manually, you can probably do a little hacking and figure it out for yourself. Since the pjx file is nothing more than a table, browse it. It shouldn't be that hard to recreate the data structures.
>>>>>
>>>>>Instead of this run MS-supplied report, e.g. VFP\Filespec\30PJX1.FRX to get description of pjx structure.
>>>>
>>>>I have the listings of the pjx structure, and am able to recreate the pjx table. My concern is when I browse the pjx file, I noticed some odd characters in some of the memo fields; ie. homedir field. I want to make sure that when I create the file, I am including any special characters in these fields. Specifically, I am finding a square located in the memo fields, sometimes mixed in with the other characters, sometimes at the end of a statement.
>>>>Note: This is not the only non-dbf table that i have found these characters in. The DBC table is another one that I have seen them.
>>>>
>>>>
>>>>Any ideas????
>>>
>>>Actually, I would not recommend you to modify pjx file itself. Instead of this (if it's really necessary to move this way at all) you could modify some components of the project, e.g. prg file, or some calls to another forms etc. ,a nd then use BUILD command. This command will collect/compile new components itself.
>>
>>Essentially, what I was looking for was a fairly easy way for me to design a builder for a user with some VFP knowledge to create applications using prebuilt objects. The forms, reports, and such have already been designed. The only thing left is to, current way, create a new project, create the subdirectories of the project, copy and add app-specific reports and forms, copy and add empty DBC and table structures, and then build. The original framework was designed to allow this type of flexibility. The only thing left is to design a wizard for the account administrators to create a new app from their functional specifications.
>
>One thing will be helpful for you here: it's enough to add just first 'start' module to new project. All other file will be collected in automatically when you user will build exe. However, I doubt that end-user (non-programmer) can do even this seemingly simple step. I presume, you will get alot of user calls when your system will be implemented.

Thank you for your insight. I will definitely look into another approach. Possibly setting up the initial project with certain forms, then changing the form references in the pjx to reflect the newly selected objects.
Previous
Reply
Map
View

Click here to load this message in the networking platform