473,597 Members | 2,341 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need Feedback on using many user controls

I am planning a very large project in vb.net and I want to make it modular.
If the project needs 200-300 forms what do you think about creating a user
control for each of these forms? The main program would dynamically load,
place and dispose each one as required.
Is this a good idea from application size, modularity, performance of slower
PC's, etc.

I am also considering creating all modular forms dynamically. The main
program would only have common controls and act as a parsing / controling
program.

Any feedback would be appreciated.

Gary...
--
-------------------------------------------------------------------------
Gary Kahrau - VP Technology
ka****@monair.c om
Stellex Monitor Aerospace Inc.
-------------------------------------------------------------------------

Nov 21 '05 #1
6 1281
Does it really need 200 - 300 forms? Are these forms unique, or are many of
them variations of something more general. In other words, I'm wondering if
you could make certain forms more dynamic, and cut the number way down.
Creating 200 - 300 user controls won't make your code really much more
modular.

Scott Swigart
blog.swigartcon sulting.com

"Gary Kahrau" wrote:
I am planning a very large project in vb.net and I want to make it modular.
If the project needs 200-300 forms what do you think about creating a user
control for each of these forms? The main program would dynamically load,
place and dispose each one as required.
Is this a good idea from application size, modularity, performance of slower
PC's, etc.

I am also considering creating all modular forms dynamically. The main
program would only have common controls and act as a parsing / controling
program.

Any feedback would be appreciated.

Gary...
--
-------------------------------------------------------------------------
Gary Kahrau - VP Technology
ka****@monair.c om
Stellex Monitor Aerospace Inc.
-------------------------------------------------------------------------

Nov 21 '05 #2
Does it really need 200 - 300 forms? Are these forms unique, or are many of
them variations of something more general. In other words, I'm wondering if
you could make certain forms more dynamic, and cut the number way down.
Creating 200 - 300 user controls won't make your code really much more
modular.

Scott Swigart
blog.swigartcon sulting.com

"Gary Kahrau" wrote:
I am planning a very large project in vb.net and I want to make it modular.
If the project needs 200-300 forms what do you think about creating a user
control for each of these forms? The main program would dynamically load,
place and dispose each one as required.
Is this a good idea from application size, modularity, performance of slower
PC's, etc.

I am also considering creating all modular forms dynamically. The main
program would only have common controls and act as a parsing / controling
program.

Any feedback would be appreciated.

Gary...
--
-------------------------------------------------------------------------
Gary Kahrau - VP Technology
ka****@monair.c om
Stellex Monitor Aerospace Inc.
-------------------------------------------------------------------------

Nov 21 '05 #3
Scott,

That is a good question that I am not sure how to answer!
This is a major ERP system (cust orders, supplier orders, shop
control, scheduling, ERP, DNC,accounting, ship,recv,etc).
Many screens have common themes (look and feel).
It is currently programmed in a char based 4GL of about 500K lines of
code. I want to migrate to a windows client, SQL, and a lower cost DB
like MySql.
I have roughed out some code that creates dynamic form layouts from a
flat definition file. It was suggested to me that using user controls
is more like what .net was designed to do. I want to separate the
modules (MRP, engineering,PO, ...) into separate source for
maintainability and allow a number of people to work in different
sections at the same time.
On Wed, 26 Jan 2005 15:47:02 -0800, "Scott Swigart"
<sc***@swigartc onsulting.com> wrote:
Does it really need 200 - 300 forms? Are these forms unique, or are many of
them variations of something more general. In other words, I'm wondering if
you could make certain forms more dynamic, and cut the number way down.
Creating 200 - 300 user controls won't make your code really much more
modular.

Scott Swigart
blog.swigartco nsulting.com

"Gary Kahrau" wrote:
I am planning a very large project in vb.net and I want to make it modular.
If the project needs 200-300 forms what do you think about creating a user
control for each of these forms? The main program would dynamically load,
place and dispose each one as required.
Is this a good idea from application size, modularity, performance of slower
PC's, etc.

I am also considering creating all modular forms dynamically. The main
program would only have common controls and act as a parsing / controling
program.

Any feedback would be appreciated.

Gary...
--
-------------------------------------------------------------------------
Gary Kahrau - VP Technology
ka****@monair.c om
Stellex Monitor Aerospace Inc.
-------------------------------------------------------------------------


-----------------------------------------------------------
Gary Kahrau - VP Technology
ka****@monair.c om (W)
gk*****@optonli ne.net (H)
Stellex Monitor Aerospace Corp.
-----------------------------------------------------------
Nov 21 '05 #4
Scott,

That is a good question that I am not sure how to answer!
This is a major ERP system (cust orders, supplier orders, shop
control, scheduling, ERP, DNC,accounting, ship,recv,etc).
Many screens have common themes (look and feel).
It is currently programmed in a char based 4GL of about 500K lines of
code. I want to migrate to a windows client, SQL, and a lower cost DB
like MySql.
I have roughed out some code that creates dynamic form layouts from a
flat definition file. It was suggested to me that using user controls
is more like what .net was designed to do. I want to separate the
modules (MRP, engineering,PO, ...) into separate source for
maintainability and allow a number of people to work in different
sections at the same time.
On Wed, 26 Jan 2005 15:47:02 -0800, "Scott Swigart"
<sc***@swigartc onsulting.com> wrote:
Does it really need 200 - 300 forms? Are these forms unique, or are many of
them variations of something more general. In other words, I'm wondering if
you could make certain forms more dynamic, and cut the number way down.
Creating 200 - 300 user controls won't make your code really much more
modular.

Scott Swigart
blog.swigartco nsulting.com

"Gary Kahrau" wrote:
I am planning a very large project in vb.net and I want to make it modular.
If the project needs 200-300 forms what do you think about creating a user
control for each of these forms? The main program would dynamically load,
place and dispose each one as required.
Is this a good idea from application size, modularity, performance of slower
PC's, etc.

I am also considering creating all modular forms dynamically. The main
program would only have common controls and act as a parsing / controling
program.

Any feedback would be appreciated.

Gary...
--
-------------------------------------------------------------------------
Gary Kahrau - VP Technology
ka****@monair.c om
Stellex Monitor Aerospace Inc.
-------------------------------------------------------------------------


-----------------------------------------------------------
Gary Kahrau - VP Technology
ka****@monair.c om (W)
gk*****@optonli ne.net (H)
Stellex Monitor Aerospace Corp.
-----------------------------------------------------------
Nov 21 '05 #5
Yeah, hard to know for certain without knowing more specifics. A good
approach might be to prototype doing it a couple of different ways. Dynamic
forms, user controls, maybe even code generation (see Kathleen Dollard's book
: http://www.apress.com/book/bookDisplay.html?bID=212)

Sounds fun in any case..

"Gary Kahrau" wrote:
Scott,

That is a good question that I am not sure how to answer!
This is a major ERP system (cust orders, supplier orders, shop
control, scheduling, ERP, DNC,accounting, ship,recv,etc).
Many screens have common themes (look and feel).
It is currently programmed in a char based 4GL of about 500K lines of
code. I want to migrate to a windows client, SQL, and a lower cost DB
like MySql.
I have roughed out some code that creates dynamic form layouts from a
flat definition file. It was suggested to me that using user controls
is more like what .net was designed to do. I want to separate the
modules (MRP, engineering,PO, ...) into separate source for
maintainability and allow a number of people to work in different
sections at the same time.
On Wed, 26 Jan 2005 15:47:02 -0800, "Scott Swigart"
<sc***@swigartc onsulting.com> wrote:
Does it really need 200 - 300 forms? Are these forms unique, or are many of
them variations of something more general. In other words, I'm wondering if
you could make certain forms more dynamic, and cut the number way down.
Creating 200 - 300 user controls won't make your code really much more
modular.

Scott Swigart
blog.swigartco nsulting.com

"Gary Kahrau" wrote:
I am planning a very large project in vb.net and I want to make it modular.
If the project needs 200-300 forms what do you think about creating a user
control for each of these forms? The main program would dynamically load,
place and dispose each one as required.
Is this a good idea from application size, modularity, performance of slower
PC's, etc.

I am also considering creating all modular forms dynamically. The main
program would only have common controls and act as a parsing / controling
program.

Any feedback would be appreciated.

Gary...
--
-------------------------------------------------------------------------
Gary Kahrau - VP Technology
ka****@monair.c om
Stellex Monitor Aerospace Inc.
-------------------------------------------------------------------------


-----------------------------------------------------------
Gary Kahrau - VP Technology
ka****@monair.c om (W)
gk*****@optonli ne.net (H)
Stellex Monitor Aerospace Corp.
-----------------------------------------------------------

Nov 21 '05 #6
Yeah, hard to know for certain without knowing more specifics. A good
approach might be to prototype doing it a couple of different ways. Dynamic
forms, user controls, maybe even code generation (see Kathleen Dollard's book
: http://www.apress.com/book/bookDisplay.html?bID=212)

Sounds fun in any case..

"Gary Kahrau" wrote:
Scott,

That is a good question that I am not sure how to answer!
This is a major ERP system (cust orders, supplier orders, shop
control, scheduling, ERP, DNC,accounting, ship,recv,etc).
Many screens have common themes (look and feel).
It is currently programmed in a char based 4GL of about 500K lines of
code. I want to migrate to a windows client, SQL, and a lower cost DB
like MySql.
I have roughed out some code that creates dynamic form layouts from a
flat definition file. It was suggested to me that using user controls
is more like what .net was designed to do. I want to separate the
modules (MRP, engineering,PO, ...) into separate source for
maintainability and allow a number of people to work in different
sections at the same time.
On Wed, 26 Jan 2005 15:47:02 -0800, "Scott Swigart"
<sc***@swigartc onsulting.com> wrote:
Does it really need 200 - 300 forms? Are these forms unique, or are many of
them variations of something more general. In other words, I'm wondering if
you could make certain forms more dynamic, and cut the number way down.
Creating 200 - 300 user controls won't make your code really much more
modular.

Scott Swigart
blog.swigartco nsulting.com

"Gary Kahrau" wrote:
I am planning a very large project in vb.net and I want to make it modular.
If the project needs 200-300 forms what do you think about creating a user
control for each of these forms? The main program would dynamically load,
place and dispose each one as required.
Is this a good idea from application size, modularity, performance of slower
PC's, etc.

I am also considering creating all modular forms dynamically. The main
program would only have common controls and act as a parsing / controling
program.

Any feedback would be appreciated.

Gary...
--
-------------------------------------------------------------------------
Gary Kahrau - VP Technology
ka****@monair.c om
Stellex Monitor Aerospace Inc.
-------------------------------------------------------------------------


-----------------------------------------------------------
Gary Kahrau - VP Technology
ka****@monair.c om (W)
gk*****@optonli ne.net (H)
Stellex Monitor Aerospace Corp.
-----------------------------------------------------------

Nov 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
4083
by: James Fortune | last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't understand why people who know how to write code to completely replace a front end do not write something that will automate the code that implements managing unbound controls on forms given the superior performance of unbound controls in a client/server environment. I can easily understand a newbie using bound controls or someone with a tight deadline. I guess I need...
5
2379
by: MFC | last post by:
Ok, after three C# books, (C# How to Program, Programming in the Key of C#, and C# Weekend Crash Course) and three weeks, I believe I have tried everything to make a certain form function correctly. I am trying to learn C# after playing around for a bit with procedural programming with PHP, not OOP, and believe I have learned quite a bit in three weeks, just not enough to accomplish this one task. If anyone has a bit of free time and...
11
2119
by: Larry | last post by:
I will be teaching an eCommerce application development course using ASP.Net after many years of having taught classic ASP. (Course was interrupted by 18 months in the Middle East with my Army Reserve unit.) I need a textbook recommendation for a particular need. As I have delved into ASP.Net I find that I want to teach the course by emphasizing coding in the code behind pages but most of the books targeted at beginners to ASP use...
2
1401
by: Sky Sigal | last post by:
Hello: I'm currently messing around, and need as much feedback/help as I can get, trying to find the most economical/graceful way to build usercontrols that rely on styling to look any good... It's the last part that has got me all frazzled (the 'rely on...to look good')... Let me explain -- and please bear with me as it's a bit longer than my usual questions:
1
1236
by: Bijoy Naick | last post by:
I've made multiple posts re different aspects of dynamically adding web and user controls.. First off, thx for all the responses.. I think I've figured it out. I am looking for some feedback on how I am implementing certain functionlity.. Details follow.. Scenario ======
1
1765
by: Hasani \(remove nospam\) | last post by:
The way the system works is, you create a user control (ascx) that will be a template and must implement the interface IPageTemplate. You then create one or more user controls (ascx) that implement the IPageContent interface. A page (aspx) must then be created that loads (using Page.LoadControl) the page template, and the page content. The page content adds itself to the page template. The page template is then added to the aspx's control...
18
3022
by: Q. John Chen | last post by:
I have Vidation Controls First One: Simple exluce certain special characters: say no a or b or c in the string: * Second One: I required date be entered in "MM/DD/YYYY" format: //+4 How ??
7
9684
by: tman | last post by:
I am generating a very large tree list in my program and while it's performance is great once loaded it takes a really long time to load. I create a root TreeNode "offline" and go through the process of creating building up the tree from there. Only when I am done do I go over to the actual TreeView object on my form and add the my root to the TreeView. This sinlge step when I add my constructed root node to the form's TreeView control...
3
2787
by: Terry Olsen | last post by:
I'm trying to add a domain user to a local group using the code below: Dim LCL As New DirectoryEntry("WinNT://" + Environment.MachineName + ",computer") Dim DOM As New DirectoryEntry("WinNT://us.ups.com") Dim DOMUSR As DirectoryEntry = DOM.Children.Find("USERID", "user") Dim LCLGRP As DirectoryEntry = LCL.Children.Find("LOCAL_GROUP", "group")
0
7893
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8276
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8381
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8259
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6698
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5847
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3889
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3932
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1243
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.