|
We started using C# many years ago (10 years or so). Although we've had to continually adjust/tweak our dependencies, mainly due to interactions with SQL Server and backup functions, it has done the job for us. I learned VB in college, but we are strictly C# now. We moved away from WinForms due to some inherent functionality restrictions that were cramping our style.
|
|
|
|
|
What were the functionality issues that were the problem? I use Windows Forms!
|
|
|
|
|
VB.NET and VB, probably are dead-ish as everyone above has discussed. VBA, which is VB for Office apps, is most definitely not.
Bond
Keep all things as simple as possible, but no simpler. -said someone, somewhere
|
|
|
|
|
Wherever VB.Net is currently used it will continue to be available. But when MS comes up with something new, then probably only C# will be available.
|
|
|
|
|
When I attended Microsoft Ignite in 2019, I won a t-shirt that said "Kill VB, before it kills you!"
Sounds like someone at MS saved my life
|
|
|
|
|
They meant Visual Basic 6 - at that time. MS's goal was to replace VB6 as a stand-alone application with VB.Net as part of what's now Visual Studio.
|
|
|
|
|
This was in 2019, and Ignite was purely about .NET technologies, so no, it had absolutely nothing to do with VB6.
Microsoft has lamented having to keep VB in .NET for YEARS. They want it gone.
|
|
|
|
|
It's just pinin' for the fjords.
|
|
|
|
|
I have a complete collection of MS Visual Basic 6.0 with Library and Visual Studio 6.0
and More books than I care to admit to all this was purchased before I had the internet.
Never was able to load it on New Windows 7 32 bit Machine even with great suggestions from Slow Eddie
Make you a great deal like FREE just pay shipping
I still write with VS 2019 and VB.Net WinForms apps with SQLite it is fun because I know a lot from what
I learned using VB 6. Basic taught a lot of us coding in the beginning of your coding careers
So it deserves some respect. But as progress moves forward and New Projects require more workable languages
professional programmers embrace new languages. Clients do not always understand the need for a rewrite in
a more workable language. Perhaps I will take some time this Winter to learn C#
For now I am trying to build a Desk and looking at Track Saws and building a MFT style cutting station
|
|
|
|
|
I don't believe most of the people making comments especially the most negative have ever written anything in VB much less VB.NET. I understand why people might prefer C# if they are coming from C programming background. Moving to VB.NET was a big change from VB6 as I needed to learn about OOP. I wonder how many replying even know that VB.NET is OOP. I have been using visual basic since about 1992 VB3 thru VB6 and Visual Studio 2017 VB.Net. I write code to test hardware that I design. Over the years it has been radios for the military and Aviation. I like VB and currently VB.Net because anyone with some programming exposure can read my code like a test procedure.
pmarshall
|
|
|
|
|
Yeah, I never got the hate either.
Although I currently don't like the VB.NET syntax, I can write the same code in VB as I'd write in C#.
It uses the same framework, the same OOP concepts, the same language constructs...
The only thing I hate, and which causes a lot of headache later on, is that Option Strict is Off by default, effectively making VB.NET a weakly typed language.
As you said, anyone with some programming exposure can read it and will at some time try their hand at it.
So the language has lots of weakly typed programs written by beginners.
Not really the language's fault, but I think that's what most people have against it.
Personally, I've never seen a well written VB.NET application.
On the other hand, I've seen very few well written C# applications either
Most programmers just aren't that good
|
|
|
|
|
I just about always have Option Strict On and Option Explicit On.
|
|
|
|
|
Yeah, me too.
It's a setting in Visual Studio, under VB Defaults.
I don't use VB anymore (if I don't have to), but I still set it to on, just in case.
|
|
|
|
|
|
Public Sub btnOK_Click(s as Object, e as EventArgs) handles btnOK.Click
End Sub
versus
btnOK.Click +=new eventhandler(btnOK_Click); // always miles away from the code, if you hand code it and accidentally make VS handle it for you in the GUI you can break your form until you fix it by hand in designer.cs
You can even declare this in VB
Public m_OK as Button WithEvents ' and the above vb code still works fine.
So I think in general VB.Net handles events much more elegant than C#. I've got a huge c# app that has only hand coded "+= new eventhandlers, none were established with the crazy c# GUI. I think it's just too much of a PITA to maintain the code base with the GUI because I have both GUI drag drop controls on forms and many, quite a few, of the embedded form controls where in VB I used to get to say "withevents" with ease. This app was originally written in VB.Net and it was a PITA to convert it! Most of my other c# apps use a combination of hand written events and GUI maintained ones.
I coded in VB for the Navy starting in 1995 up until 2017 and only after retiring did I start using C#.
I absolutely depend now on C# syntax being close to my old friend c && c++ which I have been using since 1987. VB requires so much typing...
Coding in Assembler was like running naked on a tropical island! We can only dream about such unbound less freedom.
|
|
|
|
|
Yeah, I never use events in web development.
Preferred the VB way when doing WinForms development.
|
|
|
|
|
Protect worker in the dock? (9)
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
DEFEND - protect
ANT - worker
DEFENDANT - in the dock
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
And you are up tomorrow!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 348 5/6
⬜⬜⬜⬜⬜
⬜🟨⬜⬜⬜
🟩⬜🟩⬜⬜
🟩🟩🟩🟩⬜
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 348 4/6
⬜🟨⬜⬜⬜
⬜🟨⬜⬜🟨
🟩🟩🟩🟩⬜
🟩🟩🟩🟩🟩
Probably the same second last...
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Wordle 348 4/6
⬛⬛⬛⬛⬛
🟩⬛🟩🟩⬛
🟩⬛🟩🟩🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 348 4/6
⬜⬜⬜⬜⬜
⬜🟨⬜🟨🟩
🟩⬜🟩⬜🟩
🟩🟩🟩🟩🟩
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 348 6/6
⬜⬜⬜⬜🟨
⬜⬜⬜⬜⬜
⬜⬜🟩⬜🟩
🟩⬜🟩⬜🟩
🟩⬜🟩⬜🟩
🟩🟩🟩🟩🟩
Barely made it...
|
|
|
|
|
Wordle 348 4/6
🟩⬜⬜⬜⬜
🟩⬜🟩⬜⬜
🟩⬜🟩🟩🟩
🟩🟩🟩🟩🟩
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|