Click here to Skip to main content
15,918,109 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Vb 6.0 Pin
rwestgraham13-Apr-05 12:58
rwestgraham13-Apr-05 12:58 
GeneralRe: Vb 6.0 Pin
Bahadir Cambel13-Apr-05 14:15
Bahadir Cambel13-Apr-05 14:15 
GeneralRe: Vb 6.0 Pin
Christian Graus13-Apr-05 15:12
protectorChristian Graus13-Apr-05 15:12 
GeneralRe: Vb 6.0 Pin
rwestgraham13-Apr-05 19:15
rwestgraham13-Apr-05 19:15 
GeneralRe: Vb 6.0 Pin
Christian Graus13-Apr-05 19:28
protectorChristian Graus13-Apr-05 19:28 
GeneralRe: Vb 6.0 Pin
rwestgraham13-Apr-05 21:05
rwestgraham13-Apr-05 21:05 
GeneralRe: Vb 6.0 Pin
Christian Graus14-Apr-05 0:10
protectorChristian Graus14-Apr-05 0:10 
GeneralRe: Vb 6.0 Pin
Dave Kreskowiak14-Apr-05 3:34
mveDave Kreskowiak14-Apr-05 3:34 
Normally, I'd just sit back watch the pretty fireworks... Smile | :)

You're both really good at what you do. But in either case, I'm probably going to regret doing this...

Christian Graus wrote:
So I *did* tell you something you can't do in C# ? It's sad, b/c I trust a C# programmer to dispose an object more than a VB programmer. The using keyword makes for nice code. You don't have it. Question answered.

Actually, we do have it, in 2005. A bunch of the language changes made for 2005 were to fill in the gaps and align the language features more with C#'s features. This in NO WAY means that I think C# is better than VB.NET or the other way around! Just because a language has some bad features doesn't mean you should get lazy and use them. In my view, there's no excuse for writing bad code because you didn't recognize a bad feature.

If you don't keep up with modern features and practices, you shouldn't be writing code in the first place. I hate hearing these idiots (mostly MVP's too! Confused | :confused: ) who demand that VB6 be supported because of the installed base of code! If you're an MVP in VB6, great! Go make some money supporting the old crap instead of upgrading it.

Christian Graus wrote:
Deprecated features that by and large are in VB because the VB6 crowd complained. Deprecated stuff that is in use today, I've seen he production code, on new VB.NET projects.

Damn complainers! Mad | :mad: Throw them some Depends before they piss themselves! I'm an old VB5/6 guy too, and I was soooooooooo happy when VB.NET came out with some real error handling. I don't use any of that old crap anymore. But, really, most of what you listed is deprecated crap that only the whiney idiots would use anyway. It's those idiots who refuse to upgrade their skills that are cranking out crappy code. Yes, I know what On Error Goto 0 and -1 mean, and HELL NO, I've never used them...

Christian Graus wrote:
You're barking up the wrong tree here. If I pursue a conversation like this, it's because I'm interested to see if any VBer can explain issues like magic return values ( you dodged that one ), and because it makes me laugh. I'll go a long way in search of a one liner.

I love this one! "Magic return variables" have never caused me a problem. Either you understand that they're there and deal with them or you don't. In order to deal with them, you have to write proper code anyway. I for one, don't EVER leave a return value to chance, in any language. I've always used the Return statement and I've always set a default value as one of my first statements in my methods/functions.



In my humble opinion, code is code, good or bad. It doesn't matter what language it's written in. As a universal law, no matter how perfect, or bad, you think any language is, the universe will always generate an idiot, to use it the wrong way.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Vb 6.0 Pin
Giancarlo Aguilera14-Apr-05 7:01
Giancarlo Aguilera14-Apr-05 7:01 
GeneralRe: Vb 6.0 Pin
Christian Graus14-Apr-05 12:17
protectorChristian Graus14-Apr-05 12:17 
GeneralRe: Vb 6.0 Pin
rwestgraham14-Apr-05 10:55
rwestgraham14-Apr-05 10:55 
GeneralRe: Vb 6.0 Pin
Christian Graus14-Apr-05 12:23
protectorChristian Graus14-Apr-05 12:23 
GeneralRe: Vb 6.0 Pin
rwestgraham14-Apr-05 13:41
rwestgraham14-Apr-05 13:41 
GeneralRe: Vb 6.0 Pin
Christian Graus14-Apr-05 13:55
protectorChristian Graus14-Apr-05 13:55 
GeneralRe: Vb 6.0 Pin
rwestgraham14-Apr-05 16:00
rwestgraham14-Apr-05 16:00 
GeneralExecute Autocomplete code in a ComboBoxColumn on a datagrid Pin
VBProEd13-Apr-05 6:25
VBProEd13-Apr-05 6:25 
GeneralEvents and Windows NT Pin
KreativeKai13-Apr-05 3:14
professionalKreativeKai13-Apr-05 3:14 
GeneralRe: Events and Windows NT Pin
Dave Kreskowiak13-Apr-05 3:55
mveDave Kreskowiak13-Apr-05 3:55 
GeneralRe: Events and Windows NT Pin
KreativeKai14-Apr-05 6:37
professionalKreativeKai14-Apr-05 6:37 
GeneralRe: Events and Windows NT Pin
Dave Kreskowiak14-Apr-05 6:58
mveDave Kreskowiak14-Apr-05 6:58 
GeneralRe: Events and Windows NT Pin
KreativeKai22-Apr-05 4:04
professionalKreativeKai22-Apr-05 4:04 
GeneralRe: Events and Windows NT Pin
Dave Kreskowiak23-Apr-05 2:45
mveDave Kreskowiak23-Apr-05 2:45 
GeneralHelp with Track bar linked to mci sound Pin
steve shafa13-Apr-05 0:30
steve shafa13-Apr-05 0:30 
GeneralRe: Help with Track bar linked to mci sound Pin
Dave Kreskowiak13-Apr-05 5:23
mveDave Kreskowiak13-Apr-05 5:23 
GeneralRe: Help with Track bar linked to mci sound Pin
steve shafa13-Apr-05 6:11
steve shafa13-Apr-05 6:11 

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.