|
-
Jul 1st, 2008, 01:30 AM
#1
RAD tool for .net
I need some suggestions on how to automate all the layers of my application (GUI,BLL and DAL), specially GUI, I would want to make a tool that could automate the creation of my forms based on some conditions that will be specified, I have already made a simple one but it lacks power, for instance I cannot specify if which container should a control be in, I don't know but maybe a drag and drop feature would be cool. I just want to automate as much as possible all the parts of the application with minor modification if there is a need to.
If you can suggest any similar that does this is welcome also.
TIA
-
Jul 1st, 2008, 03:34 AM
#2
Re: RAD tool for .net
What about creating some user controls? Or maybe creating a base form and Inheriting your other forms off of it?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jul 1st, 2008, 08:54 PM
#3
New Member
Re: RAD tool for .net
What version of visual studio are you using. Personally inherited forms is a great way of accomplishing this. In VS professional you can actually create inherited templates.
I'm Using Visual Studio 2008 and the 3.x framework.
Visit my blog for VB articles and updates on my latest projects (updated daily)
-
Jul 1st, 2008, 10:26 PM
#4
Re: RAD tool for .net
 Originally Posted by dee-u
I need some suggestions on how to automate all the layers of my application (GUI,BLL and DAL), specially GUI, I would want to make a tool that could automate the creation of my forms based on some conditions that will be specified, I have already made a simple one but it lacks power, for instance I cannot specify if which container should a control be in, I don't know but maybe a drag and drop feature would be cool. I just want to automate as much as possible all the parts of the application with minor modification if there is a need to.
If you can suggest any similar that does this is welcome also.
TIA
Just be careful in automating everything. It could become quite a chore instead of helping you make everything fast.
Define the parts of the application which you think is repetitive and user controls would be the best way to do it.
You see, there is this principle called KISS and it has served a lot of people well. There are so many things to consider; complexity, maintainability, readability... to name a few.
Good luck with the endeavor.
-
Jul 2nd, 2008, 12:51 AM
#5
Re: RAD tool for .net
 Originally Posted by RobDog888
Or maybe creating a base form and Inheriting your other forms off of it?
That's one of my idea and in that regard can we actually inherit a base form that has a toolbar and statusbar? I have changed their modifiers to public, etc... but I can not change or modify them in the child forms, this are just the intrinsic toolbar and status bar of .net...
I wish to make a tool so that I can actually generate a CRUD form as fast as possible, within minutes or seconds for an entire database, others have done it and I wish to make one also to gain a notch in the competitive programming jobs and just to make my life easier.
-
Jul 2nd, 2008, 01:05 AM
#6
Re: RAD tool for .net
Design the base form with the controls that willbe common to all forms. Any controls you want to add are fine on the base form.
If you declare the toolbars events as Protected/Public Overrideable (I think is the correct designation) then you can override the event(s) in your created forms as needed.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jul 2nd, 2008, 01:10 AM
#7
Re: RAD tool for .net
 Originally Posted by RobDog888
Design the base form with the controls that willbe common to all forms. Any controls you want to add are fine on the base form.
If you declare the toolbars events as Protected/Public Overrideable (I think is the correct designation) then you can override the event(s) in your created forms as needed.
Hmmm.... I am not sure if I already tested that but I think I just copied a toolbar and statusbar to the baseform without specifying an event, some controls like the one from Janus can be modified by the child form but I have not succeeded with the intrinsic toolbar and statusbar. I wish to be able to modify them in the toolbar where I can add more buttons to the toolbar if there is a need. Am I missing something?
-
Jul 2nd, 2008, 01:28 AM
#8
Re: RAD tool for .net
So what you are saying is that you need to customise the toolbar on the derived forms? If so then not sure about adding/removing buttons but to handle the event(s) differently in each derived form you just need to specify the overrideable.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jul 2nd, 2008, 01:32 AM
#9
Re: RAD tool for .net
 Originally Posted by RobDog888
So what you are saying is that you need to customise the toolbar on the derived forms? If so then not sure about adding/removing buttons but to handle the event(s) differently in each derived form you just need to specify the overrideable.
Yes, I wish to be able to do that. Changing the Modifiers property should do that but I am unsuccessful... :-(
-
Jul 2nd, 2008, 02:36 AM
#10
Re: RAD tool for .net
How about like this?
Code:
Public Class Form1
'Base Form
Protected Overridable Sub ToolStripButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton1.Click
MessageBox.Show("Base Form")
End Sub
End Class
Code:
Public Class Form2
Protected Overrides Sub ToolStripButton1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
MessageBox.Show("Form2 Derived Form")
End Sub
End Class
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|