end user form designer

A

Aussie Rules

Hi,

Is there a way to have a screen/form designer functionality in a vb.net2008
program for the end user to use ?

I want to be able to distribute my application, and allow the end user to
make change to my forms to suit there needs, or perhaps even create there
own to display certian information.

Thanks
 
C

Cor Ligthert[MVP]

Aussie,

No but Microsoft sells a very good product for that, they have spent a lot
of time in that to optimize it, so I think it is not easy to build.

The name is Office Access

Cor
 
M

Michel Posseth [MCP]

The answer to this is a definite Yes ,,, it is possible however you should
code it all yourself and it would require a lot of work

another point of thought :

If your customers can design forms ,, why would you not just design a BLS
code library with all your functionality , and ship it with a standard BLS
client application ? ,, this way every customer could create there own
client app with there development environment like C# , VB.Net , VB6
DELPHI or even with ACCESS


HTH

Michel
 
A

Aussie Rules

Hi,

Thanks for you reply.

The basic idea is that the application that I ship is able to be customised.
Many CRM type application allow the end user or admin user to make changes
to the screen within an application.

So far the only way I can think to do this is to store all the label texts
in a database, and allow the user to change those values so they can at
least set the forms label values.

Would be good to have let them add controls at run time or move things
around, but if it can't be done then it can't be done.

Thanks
 
M

Michel Posseth [MCP]

Well it can be done ,, however a full blown designer will be a big task ,
if you just want to add some controls on certain positions or dynamicly add
controls
well this can be done pretty easy

for instance if you want to be able to put extra Label and textboxes you can
add these dynamicly to the forms , or a pannels control collection
just declare the required control ( label, textbox etc etc ) set its
properties optionally add event handlers and add them to the parent
container
you can also dynamicly remove them , if you need further assistance feel
free to ask

hint : parentContainer( Form , Pannel ).Controls.Add method


regards

Michel
 
K

kimiraikkonen

Well it can be done   ,, however a full blown designer will be a big task ,
if you just want to add some controls on certain positions or dynamicly add
controls
well this can be done pretty easy

for instance if you want to be able to put extra Label and textboxes you can
add these dynamicly to the forms , or a pannels control collection
just declare the required control ( label, textbox etc etc ) set its
properties optionally  add event handlers and add them to the parent
container
you can also dynamicly remove them ,  if you need further assistance feel
free to ask

hint :   parentContainer( Form , Pannel ).Controls.Add  method

regards

Michel

"Aussie Rules" <[email protected]> schreef in bericht







- Show quoted text -

Yes, VB allows you to add / remove / edit controls dynamically with
code like "Dim blabla As New Control(...)", but is there a direct way
to allow end user compile the form and create a new EXE after they
finished editing the form without using "vbc" command line? The sample
idea would be creating a simple autorun or multimedia application that
serves options to users to customize their own form then re-compile it
as exe like many multimedia apps on the earth. I couldn't find a
working command line syntax to compile and save Winform application at
runtime, then i hoped to get a simplier and working way of doing it.

Thanks,

Onur Güzel
 
M

Michel Posseth [MCP]

well this might get you started

http://www.eggheadcafe.com/articles/20030908.asp

HTH

Michel



"kimiraikkonen" <[email protected]> schreef in bericht
Well it can be done ,, however a full blown designer will be a big task ,
if you just want to add some controls on certain positions or dynamicly
add
controls
well this can be done pretty easy

for instance if you want to be able to put extra Label and textboxes you
can
add these dynamicly to the forms , or a pannels control collection
just declare the required control ( label, textbox etc etc ) set its
properties optionally add event handlers and add them to the parent
container
you can also dynamicly remove them , if you need further assistance feel
free to ask

hint : parentContainer( Form , Pannel ).Controls.Add method

regards

Michel

"Aussie Rules" <[email protected]> schreef in
bericht







- Show quoted text -

Yes, VB allows you to add / remove / edit controls dynamically with
code like "Dim blabla As New Control(...)", but is there a direct way
to allow end user compile the form and create a new EXE after they
finished editing the form without using "vbc" command line? The sample
idea would be creating a simple autorun or multimedia application that
serves options to users to customize their own form then re-compile it
as exe like many multimedia apps on the earth. I couldn't find a
working command line syntax to compile and save Winform application at
runtime, then i hoped to get a simplier and working way of doing it.

Thanks,

Onur Güzel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top