|
-
Dec 12th, 2007, 06:05 PM
#1
Re: VB Runtime Functions
 Originally Posted by techgnome
Some of those.... MsgBox being one.... is nothing more than a wrapper for the actual .NET call.... Some are actual re-implementations of the original VB6 version (Instr comes to mind.... I don't think it actually calls the string.substring function)... but that's based on a (now) fuzzy memory.
-tg
They're all reimplementations of VB6 versions. They exist specifically to behave exactly as they did in VB6. Whether they use types and method that you would normally use yourself is generally an indication of how quirky the VB6 behaviour is compared to what you would usually do yourself in VB.NET. I guess that might be a justification for their existence: converted VB6 code would be more complex to maintain the same behaviour without those functions. That's not a justification for using them in new code though, which is what most of us try to discourage.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|