Page 8 of 8 FirstFirst ... 5678
Results 281 to 310 of 310

Thread: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

  1. #281
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    CT
    Posts
    18,025

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Quote Originally Posted by NeedSomeAnswers View Post
    ...look a little dated, with the yellow backgrounds
    It's the yellow? All this time I couldn't figure it out, lol! You got a problem with yellow? What are you a "colorist"?!?

    But seriously...

    This isn't a website - this is a desktop application for all intents and purposes. What color do you typically make your backgrounds in VB6 or .Net for your simple database applications?

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  2. #282
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    4,719

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Beauty is in the eye of the beholder. lol

    But I am confused about "Enter 7 Digit Id" but your Id template is "xxaa" . The fact that it has nothing at all to do with what you were trying to show, I felt compelled to point that little oddity out. I fill bad but I'm gonna post it anyway.

  3. #283
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    CT
    Posts
    18,025

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Quote Originally Posted by wes4dbt View Post
    But I am confused about "Enter 7 Digit Id" but your Id template is "xxaa" \
    That was just "test" data to make sure I named the UI element correctly to bind to the JSON output. The label containing that "xxaa" starts off "empty" in real use and then fills with "results" of clicking that button.

    When you live in the browser / html world like this, you tend to make a small change, run it - see that it works, and move along. At least that's my technique.

    I really am curious as to what kfc felt so strongly about that he had to bash it twice, lol!

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  4. #284
    PowerPoster
    Join Date
    Jun 2013
    Posts
    5,493

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Quote Originally Posted by szlamany View Post
    It's the yellow?
    ...
    What color do you typically make your backgrounds in VB6 or .Net for your simple database applications?
    Erm, everything *but* yellow ...

    Well... if it has to be... "yellow-ish", then surrounded by nice red-ish, bronce-ish patterns,
    until you get a good "steam-punk-look" going (I'm sure Students will love that...

    We have an expert here on this board (yereverluvinuncleber), who knows (t)his art -
    and as a background-theme-suggestion (including yellow parts) you might start with this:
    https://www.deviantart.com/yereverlu...-PIM-453814094

    HTH

    Olaf

  5. #285
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    36,262

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    I've frequently stated that I have no artistic talent, and I may be known for garish backgrounds, so, it might concern you if I said it looked fine to me, but...purple on yellow? Wasn't there something in Shakespeare about that particular color combination? Something from A Midsummer Night's Dream, perhaps?

    Nope, it was Malvolio in Twelfth Night, and while his stockings were yellow, the purple garters are up to the costume director.
    Last edited by Shaggy Hiker; Feb 8th, 2021 at 05:36 PM.
    My usual boring signature: Nothing

  6. #286
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    CT
    Posts
    18,025

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Quote Originally Posted by Schmidt View Post
    Erm, everything *but* yellow ...
    Quote Originally Posted by Shaggy Hiker View Post
    I've frequently stated that I have no artistic talent, and I may be known for garish backgrounds, so, it might concern you if I said it looked fine to me, but...purple on yellow? Wasn't there something in Shakespeare about that particular color combination? Something from A Midsummer Night's Dream, perhaps?
    Apparently yellow is a controversial color - maybe I can guess at a reason or two, lol!

    I'm actually color deficient, so purple isn't one of those colors that I can distinguish so easily!

    fwiw - the BLUE buttons open new tabs and the PURPLE buttons perform an action...
    Last edited by szlamany; Feb 8th, 2021 at 06:21 PM.

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  7. #287
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    36,262

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    I had a boss who was red/green color blind, and an employee who was totally color blind. I had created a VERY colorful interface for use in a very bright environment. Listening to those two try to figure out which buttons had the same color and which were different was...entertaining.

    Black on Yellow is the highest contrast our eyes can distinguish. It tends to be superior to black on white, even. However, if contrast isn't the point, other options abound. When looking up that Shakespeare reference (I remembered yellow hose with purple garters, but it's actually yellow hose with CROSS garters, and I've only ever seen them be purple in plays), I found that yellow hose had a meaning back then. It was an indication of something like marital infidelity, or perhaps sexual promiscuity.

    So...your interface is a tramp.
    My usual boring signature: Nothing

  8. #288
    PowerPoster
    Join Date
    Feb 2006
    Posts
    22,508

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    This thread is almost as funny as the kids in these videos:



    ... just not as grounded in reality.

  9. #289
    Fanatic Member
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    1,015

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Quote Originally Posted by Schmidt View Post
    We have an expert here on this board (yereverluvinuncleber), who knows (t)his art
    To be quoted by you as an expert for anything on this board, Olaf, I am truly humbled.

  10. #290
    Hyperactive Member Peter Porter's Avatar
    Join Date
    Jul 2013
    Posts
    310

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Quote Originally Posted by Shaggy Hiker View Post
    I've frequently stated that I have no artistic talent, and I may be known for garish backgrounds,
    Does your software come with free sunglasses?
    Last edited by Peter Porter; Feb 9th, 2021 at 09:04 PM. Reason: typos

  11. #291
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,369

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    A quick something I wanted to share about vb.net vs other languages:

    The few times I need to get something done at work using a script, I can choose from VBA/VBScript/Batch/possibly Javascript or one of the languages supported by the preinstalled .NET framework. There is a folder in the Windows folder called .\Microsoft.net\Framework - which I believe is already obsolete by now, but anyway I had limited choices as what to use. So I had to make a choice once, and it was VB.NET.

    Here was very quick and short script I made on the fly:
    Code:
    Option Compare Binary
    Option Explicit On
    Option Infer Off
    Option Strict On
    
    Imports System
    Imports System.Collections.Generic
    Imports System.Environment
    Imports System.IO
    
    Public Module CoreModule
       Public Sub Main ()
          Dim Afdelingen As New List(Of String)(File.ReadAllLines(GetCommandLineArgs.Last))
    
          Afdelingen.ForEach(Sub(Item As String) Console.WriteLine(Item.SubString(Item.LastIndexOf("/"c) + 1)))
       End Sub
    End Module
    I had to process some huge amount of data in some Microsoft Excel sheet. The columns had to be rearranged. If I recall correctly I moved everything to a text file for processing by my script and back to Excel sheet. Feel free to disagree but I say that except for perhaps C# this task would have been far more tedious.

    There you have it, an actual non-hobbyist example. And it seemed to waste to throw away this script while cleaning my drive.

    yours,
    Peter Swinkels
    Last edited by Peter Swinkels; Feb 13th, 2021 at 10:44 AM. Reason: I really must learn to proof read before posting.

  12. #292
    Superbly Moderated NeedSomeAnswers's Avatar
    Join Date
    Jun 2002
    Location
    Manchester uk
    Posts
    2,649

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Quote Originally Posted by szlamany View Post
    It's the yellow? All this time I couldn't figure it out, lol! You got a problem with yellow? What are you a "colorist"?!?
    Haha, yes the yellow but also the alignment and buttons too.

    But seriously...

    This isn't a website - this is a desktop application for all intents and purposes. What color do you typically make your backgrounds in VB6 or .Net for your simple database applications?
    Which makes sense, from a web design point of view it looks dated but as you've just stated considering its use that maybe just not important.

    I don't write desktop apps anymore I haven't even supported any for several years now. All our customers want hosted reactive web applications.

    I will try and grab a couple of screenshots of our main application at some point and post them.
    Please Mark your Thread "Resolved", if the query is solved & Rate those who have helped you



  13. #293
    PowerPoster
    Join Date
    Jun 2013
    Posts
    5,493

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Quote Originally Posted by Peter Swinkels View Post
    Here was very quick and short script I made on the fly:
    Code:
    Option Compare Binary
    Option Explicit On
    Option Infer Off
    Option Strict On
    
    Imports System
    Imports System.Collections.Generic
    Imports System.Environment
    Imports System.IO
    
    Public Module CoreModule
       Public Sub Main ()
          Dim Afdelingen As New List(Of String)(File.ReadAllLines(GetCommandLineArgs.Last))
    
          Afdelingen.ForEach(Sub(Item As String) Console.WriteLine(Item.SubString(Item.LastIndexOf("/"c) + 1)))
       End Sub
    End Module
    ...
    Feel free to disagree but I say that except for perhaps C# this task would have been for more tedious.
    Not at all (it'd be equally easy with COM-based languages like VBScript/VBA/VB6).

    Here is the equivalent code for a VBScript version:

    E.g. when using CScript (the Console-based ScriptHost):
    Code:
    sFile = Wscript.Arguments(Wscript.Arguments.Count-1)
     
    Set Strm = CreateObject("Scripting.FileSystemObject").OpenTextFile(sFile)
    Do Until Strm.AtEndOfStream
       Item = Strm.ReadLine
       WScript.Echo Mid(Item, InstrRev(Item, "/") + 1)
    Loop
    Alternatively, when using WScript as the ScriptHost (which is the default on most systems),
    one has to add that little If-condition-part in between (to dynamically switch to console-mode).
    Code:
    sFile = Wscript.Arguments(Wscript.Arguments.Count-1)
    
    If InStr(1, WScript.FullName, "cscript.exe", 1) = 0 Then 'started in WScript-Mode, so dynamically re-shell in console-mode
        CreateObject("WScript.Shell").Run "%comspec% /k cscript /NoLogo """  & WScript.ScriptFullName & """ """ & sFile & """"  
       WScript.Quit
    End If
     
    Set Strm = CreateObject("Scripting.FileSystemObject").OpenTextFile(sFile)
    Do Until Strm.AtEndOfStream
       Item = Strm.ReadLine
       WScript.Echo Mid(Item, InstrRev(Item, "/") + 1)
    Loop
    HTH

    Olaf

  14. #294
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    36,262

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Quote Originally Posted by Peter Porter View Post
    Does your software come with free sunglasses?
    Sunglasses aren't enough. It comes with several quarts of whiskey.....it's very popular software, I'm not quite sure why.
    My usual boring signature: Nothing

  15. #295
    Hyperactive Member Peter Porter's Avatar
    Join Date
    Jul 2013
    Posts
    310

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Quote Originally Posted by Shaggy Hiker View Post
    Sunglasses aren't enough. It comes with several quarts of whiskey.....it's very popular software, I'm not quite sure why.
    Well I can help ya with the look of your software. Artwise, I can do about anything. Besides designs in VB.Net, I'm an expert graphic designer in Photoshop. Love video editing. And every now and then draw life-like art.

    All I would need is a screen capture of your work to slap a front-end together in VB.

  16. #296
    PowerPoster ChrisE's Avatar
    Join Date
    Jun 2017
    Location
    Frankfurt
    Posts
    2,815

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Quote Originally Posted by Peter Porter View Post
    Well I can help ya with the look of your software. Artwise, I can do about anything. Besides designs in VB.Net, I'm an expert graphic designer in Photoshop. Love video editing. And every now and then draw life-like art.

    All I would need is a screen capture of your work to slap a front-end together in VB.
    give Niya a hand, we are still waiting for the video's

    couldn't resist, look's like the Thread is dead now
    to hunt a species to extinction is not logical !
    since 2010 the number of Tigers are rising again in 2016 - 3900 were counted. with Baby Callas it's 3901, my wife and I had 2-3 months the privilege of raising a Baby Tiger.

  17. #297
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,369

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Quote Originally Posted by Schmidt View Post
    Not at all (it'd be equally easy with COM-based languages like VBScript/VBA/VB6).

    Here is the equivalent code for a VBScript version:

    E.g. when using CScript (the Console-based ScriptHost):
    Code:
    sFile = Wscript.Arguments(Wscript.Arguments.Count-1)
     
    Set Strm = CreateObject("Scripting.FileSystemObject").OpenTextFile(sFile)
    Do Until Strm.AtEndOfStream
       Item = Strm.ReadLine
       WScript.Echo Mid(Item, InstrRev(Item, "/") + 1)
    Loop
    Alternatively, when using WScript as the ScriptHost (which is the default on most systems),
    one has to add that little If-condition-part in between (to dynamically switch to console-mode).
    Code:
    sFile = Wscript.Arguments(Wscript.Arguments.Count-1)
    
    If InStr(1, WScript.FullName, "cscript.exe", 1) = 0 Then 'started in WScript-Mode, so dynamically re-shell in console-mode
        CreateObject("WScript.Shell").Run "%comspec% /k cscript /NoLogo """  & WScript.ScriptFullName & """ """ & sFile & """"  
       WScript.Quit
    End If
     
    Set Strm = CreateObject("Scripting.FileSystemObject").OpenTextFile(sFile)
    Do Until Strm.AtEndOfStream
       Item = Strm.ReadLine
       WScript.Echo Mid(Item, InstrRev(Item, "/") + 1)
    Loop
    HTH

    Olaf
    My, I didn't expect anyone to reply. :-) VB6 wasn't available. And yes, it could have been done with one of those scripting languages too. Vb.net just felt the easiest for me personally at that moment. Remember, I was at work and had to get something done quickly. If I had been at home doing this in my spare time, I might have actually gone so far as to try to pull this GWBasic running DOSBox just for the sheer challenge and satifsfaction of getting the task done with an obsolete primitive language.

  18. #298

    Thread Starter
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    6,042

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Quote Originally Posted by ChrisE View Post
    give Niya a hand, we are still waiting for the video's

    couldn't resist, look's like the Thread is dead now
    Very busy at the moment with stuff more important than winning an argument online. But I will do as I said I'll do. Just cant focus on that at this moment. Don't worry. We will get into it when I have some free time. Which should be soon.
    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


    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

  19. #299

    Thread Starter
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    6,042

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Didn't really have time to go through all the recent discussion since my last post but I did quickly catch this:-

    Quote Originally Posted by Schmidt View Post
    Not at all (it'd be equally easy with COM-based languages like VBScript/VBA/VB6).

    Here is the equivalent code for a VBScript version:

    E.g. when using CScript (the Console-based ScriptHost):
    Code:
    sFile = Wscript.Arguments(Wscript.Arguments.Count-1)
     
    Set Strm = CreateObject("Scripting.FileSystemObject").OpenTextFile(sFile)
    Do Until Strm.AtEndOfStream
       Item = Strm.ReadLine
       WScript.Echo Mid(Item, InstrRev(Item, "/") + 1)
    Loop
    Alternatively, when using WScript as the ScriptHost (which is the default on most systems),
    one has to add that little If-condition-part in between (to dynamically switch to console-mode).
    Code:
    sFile = Wscript.Arguments(Wscript.Arguments.Count-1)
    
    If InStr(1, WScript.FullName, "cscript.exe", 1) = 0 Then 'started in WScript-Mode, so dynamically re-shell in console-mode
        CreateObject("WScript.Shell").Run "%comspec% /k cscript /NoLogo """  & WScript.ScriptFullName & """ """ & sFile & """"  
       WScript.Quit
    End If
     
    Set Strm = CreateObject("Scripting.FileSystemObject").OpenTextFile(sFile)
    Do Until Strm.AtEndOfStream
       Item = Strm.ReadLine
       WScript.Echo Mid(Item, InstrRev(Item, "/") + 1)
    Loop
    HTH

    Olaf
    This is way too verbose compared to what Peter posted.

    Anyways. See you guys soon.
    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


    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

  20. #300
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,369

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    @niya: me or Porter?

  21. #301
    PowerPoster
    Join Date
    Jun 2013
    Posts
    5,493

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Quote Originally Posted by Niya View Post
    This is way too verbose compared to what Peter posted.
    Not at all...

    Here again Peters original code (which lists all lines from a File, passed as a Parameter):
    Code:
    Option Compare Binary
    Option Explicit On
    Option Infer Off
    Option Strict On
    
    Imports System
    Imports System.Collections.Generic
    Imports System.Environment
    Imports System.IO
    
    Public Module CoreModule
       Public Sub Main ()
          Dim Afdelingen As New List(Of String) _
               (File.ReadAllLines(GetCommandLineArgs.Last))
    
          Afdelingen.ForEach(Sub(Item As String) _
              Console.WriteLine(Item.SubString(Item.LastIndexOf("/"c) + 1)))
       End Sub
    End Module
    And here again the VBScript-version:
    Code:
    Set FSO  = CreateObject("Scripting.FileSystemObject")
    Set Strm = FSO.OpenTextFile(Wscript.Arguments(0))
    Do Until Strm.AtEndOfStream
        Line = Strm.ReadLine
        WScript.Echo Mid(Line, InstrRev(Line, "/") + 1)
    Loop
    Or (FWIW) the VB6-Version...
    (using a different helper-class - the RC5/6 FileSystem-Object instead of the "Scripting.FileSystemObject"):
    Code:
    Option Explicit
    
    Sub Main()
      Dim Line
      For Each Line In Split(New_c.FSO.ReadTextContent(Command$), vbCrLf)
          Debug.Print Mid(Line, InStrRev(Line, "/") + 1)
      Next
    End Sub
    Again, coding-efficiency comes primarily from libraries (not from "language-features").
    Usage of (COM-)libs is, what makes the VBScript-Code efficient, and it is what makes the VB6-Code efficient.

    You've still not understood that simple truth.

    This is not different from the .NET-version, because these instructions:
    Imports System
    Imports System.Collections.Generic
    Imports System.Environment
    Imports System.IO
    ... ensure "the loading of lib-dependencies under certain namespaces"

    Olaf

  22. #302

    Thread Starter
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    6,042

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Ok boys......I think I'm back. Gonna pick up where I left off soon...
    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


    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

  23. #303

    Thread Starter
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    6,042

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Ok folks. Some recent developments stopped me in my tracks and I had to do a lot of thinking. As fun and interesting as all this was, the aforementioned recent developments have forced me to realize that all of this is quite pointless. It seems I wasn't paying close enough attention to how quickly things are changing and once again, I stayed static for way too long simply because I was comfortable in where I was, just I was when I took too long to move from VB6.

    Desktop development is dead. That time is here. And if I'm to remain competent in this field I must evolve and I must do it now. The world is more or less completely overtaken by web and mobile applications. I didn't fully appreciate just how far the web applications have come in a few short years. They can almost do every thing a desktop application can do with the huge advantage of being very easily accessible and platform agnostic. Online subscription services to web applications seems to be quickly becoming the norm. Nobody is installing anything anymore.

    As such, I've made the decision to abandon desktop programming and VB for good. As of a few weeks ago, I've been exploring the world of web applications and was quite fascinated at the possibilities. And while I'm new to this world, I'm going to devote all my programming time to learning it just as well as I know the world of Windows programming. For now, I'm staying close to home with Microsoft by looking into Blazor and I'm keeping an eye on .Net MAUI's development. For the foreseeable future, I will be using a combination of C# with technologies like ASP.Net, Blazor and Xamarin. I may also look at non-Microsoft frameworks like Angular and Flutter if I see something there.

    The point is, if I want to remain on the cutting edge of what your average user expects these days, then for all intents and purposes VB is dead. Desktop is dead. That means VB6, WinForms, WPF, all of it. All of Microsoft's web and mobile development tools are C# only. There is no point in shooting myself in the foot by staying in the BASIC language. Outside of MS, Python, Typescript and JavaScript is where all the action is. In light of this, it seems quite ridiculous to me to compare VB6 to VB.Net. Both of these are aging relics and in todays world, it really doesn't matter one lick which one is better. This world is the past.

    So this is it for my participation in these kinds of discussions. It was fun and interesting and I hope there are no hard feelings. I tend to be very passionate about things I like but I do have a lot of respect for all of you despite how I might have come across sometimes. I wish I could keep doing what I've been doing and I wish I could do it forever. I really do love Windows programming but I cannot stay in this domain any longer and remain competitive.
    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


    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

  24. #304
    Fanatic Member
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    1,015

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    You'll be back!

  25. #305

    Thread Starter
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    6,042

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Quote Originally Posted by yereverluvinuncleber View Post
    You'll be back!
    I'll still be around here. I will still be using .Net and Visual Studio after all, but I just won't be using VB anymore, nor will I be writing desktop applications.
    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


    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

  26. #306
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    36,262

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    I have a system based on plugins. Do that on the web. You can't, really. A truly extensible system is currently precluded on the web because the code all has to run on a web server. I don't believe that Blazor or any other WASM solution has any realistic chance to change that.

    Desktop isn't dead, it's just that the vast majority of applications do make more sense on mobile/web. Still, there remain certain domains that do not work on the web.
    My usual boring signature: Nothing

  27. #307
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,705

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    I'm back to doing desktop after several years of doing DB only so there is some life still in it. Not going to lie, though, the app I'm working on is very niche and I wouldn't be looking at desktop if I were starting my career now.

    I don't have a hunger to move to web and every time I try I just find it too frustrating and give up. Thankfully the current contract plus a few DB side hustles should see me clear to an early retirement.
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

  28. #308

    Thread Starter
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    6,042

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Quote Originally Posted by Shaggy Hiker View Post
    I have a system based on plugins. Do that on the web. You can't, really. A truly extensible system is currently precluded on the web because the code all has to run on a web server. I don't believe that Blazor or any other WASM solution has any realistic chance to change that.

    Desktop isn't dead, it's just that the vast majority of applications do make more sense on mobile/web. Still, there remain certain domains that do not work on the web.
    Desktop is not dead dead. I know that. Certain types of applications can only work as desktop applications but we are primarily in line of business applications and it just seems that there is no reason not to do them as web applications. You gain so much and give up so little going in this direction. For example, you gain platform independence which in huge in today's world where there are all kinds of devices. People want to the freedom to access their stuff from anywhere they want. With a web application facing the internet, all they would need is a web browser and they can use your application from whatever device they want. It's very hard to compete with that kind of flexibility when your application can only run on Windows. Then there are technologies like Electron and the up and coming Blazor hybrid applications which allow you to deploy web applications as Windows desktop applications, iOS and Android applications. The advantage here is that you write your application only once and you can deploy it in a wide variety of ways.
    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


    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

  29. #309

    Thread Starter
    Angel of Code Niya's Avatar
    Join Date
    Nov 2011
    Posts
    6,042

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    Quote Originally Posted by FunkyDexter View Post
    I don't have a hunger to move to web and every time I try I just find it too frustrating and give up.
    I really wish I didn't have move to the web but at this point it seems inevitable, at least for us. People are asking for things that require too much gymnastics to implement in a desktop application. At some point, you realize that when you see a nail, you use a hammer. No sense trying to shoehorn a screwdriver into driving a nail.
    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


    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

  30. #310
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    36,262

    Re: Why is VB.Net/C#/XAML + VS2019 is better than VB6? Here's why.....

    The plugin system I'm working on is an improvement on a couple systems that people spent literally millions of dollars on...to make them web based.

    While I basically agree that lots of things make far more sense on the web, there is a tendency to then jump to "everything should be on the web", which prompts people to make mistakes. In my case, I have a niche application which could be on the web so long as you were willing to ignore one of the most important and annoying features of the problem: The wild diversity of data stories. The problem domain is one in which you will always have to make a choice as to what to leave in and what to leave out, and whatever choice you make is guaranteed to be the wrong one sooner or later, since the data needs will be constantly changing. The plugin nature of my approach allows for the application to adapt much like Lego systems, where new pieces can always be fit on so long as the interface remains the same, and thus, much like new franchises (often movie franchises) prompt the creation of new Lego sets, the application can adjust to meet new needs.

    However, a casual glance at the problem can result in people seeing the bottom line: There really IS a part of it which should be web, it's just that nobody can write that part. The data should be on the web. I saw that back in the 90s, before the web was really the thing. Some people then made the leap from saying that, since the output needs to be on the web, the input should also be on the web, which wasn't the case....and they didn't look long enough to realize that the output....is going to be a massive headache for anybody who tries to create it, web or otherwise. Just how DO you create some coherent output when you have lots of little data stories, which some will want to see independent of one another, while others will want to see the interactions between some arbitrary set of them?

    Web where web is appropriate, non-web where non-web is appropriate, and retirement at the end of things. That's how it should be.

    I'd also point out that I work in an area where web is often unavailable, but it would be fair to note that saying so is stating only the current situation. If Google puts up a viable satellite system, what is reasonable could shift radically in the next few years....once again. Doesn't impact my plugins, but it impacts some other things I've written.
    My usual boring signature: Nothing

Page 8 of 8 FirstFirst ... 5678

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