Windows Vista Forums

Dynamically Load/Save Visual Studio Forms
  1. #1


    Derek Hart Guest

    Dynamically Load/Save Visual Studio Forms

    I want to give my business analysts the ability to create windows forms in
    Visual Studio 2008. They will not design any code, but just will design the
    screen and set properties. I will use the Visual Studio sdk to build some
    other functionality into Visual Studio. I want to be able to save the form
    that was created and make it more portable, such as sending to somebody else
    to use. I see that 3 files get created: form1.vb, form1.designer.vb and
    form1.resx - Is there a way to turn these into xml, or even just use the
    form1.vb file only? Can I send this to another PC, and then compile the
    application, and have the whole form, or do I need the designer.vb and rex
    files also? Could I do a just in time compile and compile the form1.vb form
    dynamically the first time it is used in the application?





      My System SpecsSystem Spec

  2. #2


    Ben Voigt [C++ MVP] Guest

    Re: Dynamically Load/Save Visual Studio Forms



    "Derek Hart" <derekmhart@xxxxxx> wrote in message
    news:#3W4vw4kJHA.1172@xxxxxx

    > I want to give my business analysts the ability to create windows forms in
    > Visual Studio 2008. They will not design any code, but just will design
    > the
    > screen and set properties. I will use the Visual Studio sdk to build some
    > other functionality into Visual Studio. I want to be able to save the form
    > that was created and make it more portable, such as sending to somebody
    > else
    > to use. I see that 3 files get created: form1.vb, form1.designer.vb and
    > form1.resx - Is there a way to turn these into xml, or even just use the
    > form1.vb file only? Can I send this to another PC, and then compile the
    > application, and have the whole form, or do I need the designer.vb and rex
    > files also? Could I do a just in time compile and compile the form1.vb
    > form
    > dynamically the first time it is used in the application?
    Just use WPF and XAML, they are designed for this. Microsoft even provides
    separate tools for developing behavior (Visual Studio) and look+feel
    (Expression).


      My System SpecsSystem Spec

  3. #3


    Derek Hart Guest

    Re: Dynamically Load/Save Visual Studio Forms

    If I have a windows forms application as a base, and I make a usercontrol
    that loads a XAML form?


    "Ben Voigt [C++ MVP]" <rbv@xxxxxx> wrote in message
    news:8B0B3AB8-B288-4F1D-BFA7-B009F6A5E512@xxxxxx

    >
    >
    > "Derek Hart" <derekmhart@xxxxxx> wrote in message
    > news:#3W4vw4kJHA.1172@xxxxxx

    >> I want to give my business analysts the ability to create windows forms
    >> in
    >> Visual Studio 2008. They will not design any code, but just will design
    >> the
    >> screen and set properties. I will use the Visual Studio sdk to build some
    >> other functionality into Visual Studio. I want to be able to save the
    >> form
    >> that was created and make it more portable, such as sending to somebody
    >> else
    >> to use. I see that 3 files get created: form1.vb, form1.designer.vb and
    >> form1.resx - Is there a way to turn these into xml, or even just use the
    >> form1.vb file only? Can I send this to another PC, and then compile the
    >> application, and have the whole form, or do I need the designer.vb and
    >> rex
    >> files also? Could I do a just in time compile and compile the form1.vb
    >> form
    >> dynamically the first time it is used in the application?
    >
    > Just use WPF and XAML, they are designed for this. Microsoft even
    > provides separate tools for developing behavior (Visual Studio) and
    > look+feel (Expression).


      My System SpecsSystem Spec

Dynamically Load/Save Visual Studio Forms problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Studio Niall 84 Vista General 3 07 Oct 2008
Err.Number 486, Vista Ultimate, Visual Studio, & Visual Basic Mike Vista General 2 16 Jan 2008
Re: Visual Studio Acolyte6 Vista General 3 13 Aug 2007
Visual Studio 6.0 Lorne Merner Vista General 1 11 May 2007
Visual Studio 6 and Visual Source Safe 6 on Vista Mikhail Gryaznov Vista General 0 14 Jun 2006