StrataFrame Forum

Form Templates

http://forum.strataframe.net/Topic6592.aspx

By Ben Kim - 2/6/2007

Hello all,

I am thinking of designing some base forms for our project.  How did you (MicroFour) create a StrataFrame category/project type and install form templates (IE: Strataframe Windows Application, StrataFrame Business Object Library).

These forms will be based on the standard Strataframe form.  However I am curious too about if we have access to the code (we have the source) of these framework forms.  I would like to see how you handled items such as Primary Form business object, etc.

Thanks!

Ben

By Trent L. Taylor - 2/6/2007

Hmmm...this could turn into a really long post but I will just give you the "Readers Digest" version.  All item templates are located in the "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates\SPECIFICLANGUAGE" folder.  Each of the templates are help in a zip file.  You can see that all StrataFrame templates start with SF_.  My suggestion is to open one of these up and see the contents of the file.

Once you create your template and have it packaged up in the ZIP file, then you will need to install it.  The easiest way is to call the devenv.exe with the /setup command.  So get out of all VS instances and then run this:

C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe /setup

That will install the template into the Visual Studio environment.  There are many books and articles on the web regarding this topic.  This is just a very basic explanation and will require some effort on your part in order to actually implement this.  It isn't hard, it is just learning to do it the first time and then it is all down hill after that Smile

By Ben Kim - 2/7/2007

Trent,

Thank you for taking the time to provide me with the basics.  This looks like it is going to be a project within itself!

Take care.

Ben