Results 1 to 40 of 1295

Thread: Getting the ball rolling. Which VB6 projects are you working on?

Hybrid View

  1. #1
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    316

    Re: Getting the ball rolling. Which VB6 projects are you working on?

    Quote Originally Posted by Niya View Post
    .....UDTs in VB6 are such utter garbage.....
    I'm using UDTs in a few of my programs from over the years with no ill effects.....Should I not be using them?

  2. #2
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    9,017

    Re: Getting the ball rolling. Which VB6 projects are you working on?

    Quote Originally Posted by SomeYguy View Post
    I'm using UDTs in a few of my programs from over the years with no ill effects.....Should I not be using them?
    Ok let me clarify before I end up doing some damage here.

    I don't think anyone should stop using UDTs. Use them as much as you like. I'm saying that I have a problem with them. UDTs have so many rules, restrictions and oddities that unless you're actively using VB6 on a daily basis, UDTs are going to be a constant source of frustration.

    I've been programming mainly in VB.Net for several years. Stuctures and Classes in .Net don't have all these restrictions and oddities. They are extremely straightforward to use and their behaviors are clearly defined and quite consistent. You're free to use them however you like. They are treated as first class citizens in .Net(basically like any primitive type such as Integers) which simplifies a lot of things.

    I'm way too used how freely .Net handles structured data and I really don't want to re-train myself on all the idiosyncrasies of UDTs in VB6 so I elected to avoid them entirely before they drive me insane. But if you understand all the rules, pitfalls and traps, I'd say use them to your heart's delight.
    Last edited by Niya; Oct 3rd, 2021 at 01:57 PM.
    Treeview with NodeAdded/NodesRemoved events | BlinkLabel control | Calculate Permutations | Object Enums | ComboBox with centered items | .Net Internals article(not mine) | Wizard Control | Understanding Multi-Threading | Simple file compression | Demon Arena

    Copy/move files using Windows Shell | I'm not wanted

    C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter

    There's just no reason to use garbage like InputBox. - jmcilhinney

    The threads I start are Niya and Olaf free zones. No arguing about the benefits of VB6 over .NET here please. Happiness must reign. - yereverluvinuncleber

  3. #3
    Hyperactive Member
    Join Date
    Feb 2015
    Posts
    316

    Re: Getting the ball rolling. Which VB6 projects are you working on?

    Quote Originally Posted by Niya View Post
    Ok let me clarify before I end up doing some damage here.

    I don't think anyone should stop using UDTs. Use them as much as you like. I'm saying that I have a problem with them. UDTs have so many rules, restrictions and oddities that unless you're actively using VB6 on a daily basis, UDTs are going to be a constant source of frustration.

    I've been programming mainly in VB.Net for several years. Stuctures and Classes in .Net don't have all these restrictions and oddities. They are extremely straightforward to use and their behaviors are clearly defined and quite consistent. You're free to use them however you like. They are treated as first class citizens in .Net(basically like any primitive type such as Integers) which simplifies a lot of things.

    I really don't want to re-train myself on all the idiosyncrasies of UDTs in VB6 so I simply elected not to use them entirely before they drive me insane. But if you understand all the rules, pitfalls and traps, I'd say use them to your heart's delight.


    Roger that and understood. I just wanted to make sure that there isn't a massively better way and that my software won't bomb during the next planet alignment on the 4th Sunday at the full moon or something .....

  4. #4
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    9,017

    Re: Getting the ball rolling. Which VB6 projects are you working on?

    Quote Originally Posted by SomeYguy View Post
    Roger that and understood. I just wanted to make sure that there isn't a massively better way and that my software won't bomb during the next planet alignment on the 4th Sunday at the full moon or something .....
    Oh yes sure. You're perfectly fine.

    This thing with UDTs is more of a me problem than anything else. To use an analogy, using UDTs makes me feel like a formerly rich person trying to get used to being poor again. So your programs are not going to break. Don't worry.
    Treeview with NodeAdded/NodesRemoved events | BlinkLabel control | Calculate Permutations | Object Enums | ComboBox with centered items | .Net Internals article(not mine) | Wizard Control | Understanding Multi-Threading | Simple file compression | Demon Arena

    Copy/move files using Windows Shell | I'm not wanted

    C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter

    There's just no reason to use garbage like InputBox. - jmcilhinney

    The threads I start are Niya and Olaf free zones. No arguing about the benefits of VB6 over .NET here please. Happiness must reign. - yereverluvinuncleber

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