Click here to Skip to main content
15,923,389 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: VB6: Best programming language ever Pin
SeaVipe31-Mar-14 6:25
SeaVipe31-Mar-14 6:25 
GeneralRe: VB6: Best programming language ever Pin
ISpliter31-Mar-14 13:26
ISpliter31-Mar-14 13:26 
GeneralRe: VB6: Best programming language ever Pin
ISpliter31-Mar-14 13:32
ISpliter31-Mar-14 13:32 
GeneralRe: VB6: Best programming language ever Pin
ClockMeister31-Mar-14 13:42
professionalClockMeister31-Mar-14 13:42 
GeneralRe: VB6: Best programming language ever, PHP too Pin
User 483504731-Mar-14 3:49
User 483504731-Mar-14 3:49 
GeneralRe: VB6: Best programming language ever, PHP too Pin
ISpliter31-Mar-14 13:12
ISpliter31-Mar-14 13:12 
GeneralRe: VB6: Best programming language ever Pin
ikirachen31-Mar-14 6:20
ikirachen31-Mar-14 6:20 
AnswerRe: VB6: Best programming language ever Pin
MSBassSinger31-Mar-14 7:23
professionalMSBassSinger31-Mar-14 7:23 
Well, I don't know about best ever, but in its time, it was the best for developing software on Windows platforms.

I was writing software before Windows (COBOEL, FORTRAN, Clipper) and still writing today in more modern languages. I worked in Visual Basic from version 1 through VB6 and into .NET. Most of my programming today is in C#.

VB6 worked great for UI apps and middleware. I wrote Windows services, COM+ DLLs, multithreaded apps, and rarely had any problems. VB6 programs, written correctly, were scalable, fast, and reliable. If the very few places where VB6 code was not the best performer, you could identify that, rewrite it in C or C++, and replace the VB6 DLL with that DLL once you could justify it.

VB6 (and earlier versions) served two markets - 1) the prototyper and non-programmer small utility programmer. That is what some of the quickie UI elements, like the ADO control, were made for; and 2) the professional programmer.

For the latter, the programmer was expected to use good object oriented techniques and not use the amateur tools the VB6 IDE provided for the former. VB6 was not an all-inclusive language, but was open for calling other DLLs, COM or not. For web programming, WebClasses were a great design, but failed to catch on. VB6 programmers who used the language and tool as it was designed to be used, who used good professional programming techniques, found VB6 to be the best tool on the market.

In time, we needed a better implementation of object oriented programming, and an expansion to creating 64 bit programs. VB6, as the IDE and language was designed, with its backwards compatibility, simply could not do that. That is where .NET came in.

I had no problem migrating my VB6 program to VB.NET, and eventually to C#, since I had followed good OO processes when writing in VB6. A lot of VB programmers I knew, who stubbornly retained their procedural programming mindset from the VB3 days had a much more difficult time and had to rewrite much of their code.

In order to help the migration process along for a large VB6 project, I wrote new code in C# such that the DLLs had a COM interop wrapper that allowed them to be called in existing VB6 code the same as if they had been written in VB6, and pure C# "OCXs" that existing VB6 forms and user controls could use straight off the VB6 IDE toolbar. That allows us to replace old VB6 code one piece at a time with C# code and still use the C# components in existing VB6 code.

As much as I think of VB6, though, I don't write new code in VB6 and have not for years. It simply is not a good engineering decision.
GeneralRe: VB6: Best programming language ever Pin
ru55r335331-Mar-14 8:13
ru55r335331-Mar-14 8:13 
GeneralRe: VB6: Best programming language ever Pin
ISpliter31-Mar-14 13:10
ISpliter31-Mar-14 13:10 
GeneralRe: VB6: Best programming language ever Pin
ISpliter31-Mar-14 12:59
ISpliter31-Mar-14 12:59 
GeneralRe: VB6: Best programming language ever Pin
ISpliter31-Mar-14 14:10
ISpliter31-Mar-14 14:10 
GeneralRe: VB6: Best programming language ever Pin
Member 81018993-Apr-14 14:37
Member 81018993-Apr-14 14:37 
QuestionHey, OG! Pin
Vivi Chellappa30-Mar-14 6:11
professionalVivi Chellappa30-Mar-14 6:11 
AnswerRe: Hey, OG! Pin
OriginalGriff30-Mar-14 6:17
mveOriginalGriff30-Mar-14 6:17 
GeneralRe: Hey, OG! Pin
Rahul VB30-Mar-14 9:01
professionalRahul VB30-Mar-14 9:01 
GeneralRe: Hey, OG! Pin
OriginalGriff31-Mar-14 0:06
mveOriginalGriff31-Mar-14 0:06 
GeneralRe: Hey, OG! Pin
JimmyRopes30-Mar-14 17:12
professionalJimmyRopes30-Mar-14 17:12 
GeneralRe: Hey, OG! Pin
Vivi Chellappa30-Mar-14 20:31
professionalVivi Chellappa30-Mar-14 20:31 
GeneralA Sad Day Pin
Dalek Dave30-Mar-14 4:35
professionalDalek Dave30-Mar-14 4:35 
GeneralRe: A Sad Day Pin
  Forogar  30-Mar-14 5:04
professional  Forogar  30-Mar-14 5:04 
GeneralRe: A Sad Day Pin
JimmyRopes30-Mar-14 5:06
professionalJimmyRopes30-Mar-14 5:06 
GeneralRe: A Sad Day Pin
Dalek Dave30-Mar-14 5:20
professionalDalek Dave30-Mar-14 5:20 
GeneralRe: A Sad Day Pin
JimmyRopes30-Mar-14 17:15
professionalJimmyRopes30-Mar-14 17:15 
GeneralRe: A Sad Day Pin
Manfred Rudolf Bihy30-Mar-14 5:22
professionalManfred Rudolf Bihy30-Mar-14 5:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.