Results 1 to 10 of 10

Thread: RAD tool for .net

  1. #1

    Thread Starter
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Arrow 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
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  3. #3
    New Member
    Join Date
    Jul 2008
    Posts
    7

    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)

  4. #4
    Frenzied Member oceanebelle's Avatar
    Join Date
    Jun 2005
    Location
    my n00k.
    Posts
    1,064

    Re: RAD tool for .net

    Quote 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.

  5. #5

    Thread Starter
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: RAD tool for .net

    Quote 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.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  7. #7

    Thread Starter
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: RAD tool for .net

    Quote 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?
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  8. #8
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  9. #9

    Thread Starter
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: RAD tool for .net

    Quote 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... :-(
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  10. #10
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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
  •  



Click Here to Expand Forum to Full Width