Welcome to AddressOf.com Sign in | Join | Help
in Search

Browse by Tags

All Tags » VC#
Showing page 3 of 3 (25 total posts)
  • Split'ing Strings and the Performance Implications

    Jason IM'd me with a question last night about how to split a string using a delimiter with multiple characters.  Of course, my first answer was to use the VB Split method (he's doing this from C#).  He also found that there is another way using System.Text.RegularExpressions.RegEx.Split (hmmm... that's easy to remember).  So since ...
    Posted to AddressOf.com (Weblog) by CorySmith on March 30, 2005
  • C#->VB.NET Porting Gotchas: Math

    OK, this is not supposed to be one of those C# vs. VB.NET bashing contests, so please don't let it turn into such.  I'm planning on creating a series of posts on areas where when you port code from C# to VB.NET you might run into some problems.  So to kick it off, I'm going to talk about two very common coding differences you might run into in the ...
    Posted to AddressOf.com (Weblog) by CorySmith on March 16, 2005
  • What's wrong with the following picture?

    Well, unable to have an actual screen shot, so I'll have to draw it by hand... - Solution1   - Project1     AssemblyInfo.vb     Form1.vb     Class1.vb     Class2.cs     Class3.cs     Interop.cpp     Interop.h So, you have opened a project in VS.NET Whidbey and you see in the solution explore the above 'image'.  What do you see that strikes you ...
    Posted to AddressOf.com (Weblog) by CorySmith on March 9, 2004
  • Virtual ListView (or "How to view 50,000 items in a ListView without dieing of old age.")

    Have you ever needed to populate a listview with thousands of items?  I have and lemme tell you, it's not the highest performing thing around.  The only built in mechanism to help you out is to turn of the updating of the screen during the population.  However, after seeing the same question posted by Luke Huttenman, a couple of people provided ...
    Posted to AddressOf.com (Weblog) by CorySmith on November 13, 2003
  • C# "out" modifier -> HowTo in VB.NET?

    Someone on GDN asked a question regarding the out parameter modifier that C# uses and how to do the same thing in VB.NET. Your first guess would probably be to use ByRef, however, ByRef is like ref in C#; so that isn't the answer.  The real answer is to use the attribute (also note, ...
    Posted to AddressOf.com (Weblog) by CorySmith on May 30, 2003