AvBrand Exploring Technology
AvBrand Exploring Technology
Blog 
Blog Archives - 2013
March 2013 1 entry
2012
November 2012 1 entry
September 2012 1 entry
June 2012 1 entry
May 2012 1 entry
April 2012 2 entries
March 2012 1 entry
February 2012 1 entry
2011
December 2011 3 entries
November 2011 4 entries
October 2011 8 entries
August 2011 1 entry
June 2011 1 entry
May 2011 2 entries
April 2011 3 entries
March 2011 3 entries
January 2011 1 entry
2010
December 2010 3 entries
November 2010 4 entries
October 2010 2 entries
September 2010 6 entries
August 2010 6 entries
July 2010 1 entry
June 2010 6 entries
May 2010 5 entries
April 2010 2 entries
March 2010 4 entries
February 2010 1 entry
January 2010 5 entries
Visual Basic 6? Why? 5:08 PM, July 16th, 2010
I occasionally get flak for the fact that my applications are mostly written in Visual Basic 6, a programming language that came out in 1998 and has since been replaced by Visual Basic.NET.

But I still use it to this day, and I have some good reasons why:

  • It performs well. It's not as fast as a native C++ application, but it's probably about as fast as a C# application.
  • I can create programs in it in the blink of an eye. I've been using it for so long and I know my way around it very well, and I can bang out a program in no time at all, with a full GUI.
  • It's fully Active-X COM compliant. There are a million components and add-ons and plugins that are Active-X controls and interfaces, so that means it's real easy to use one of those.
  • It can create Active-X COM DLLs too. These are usable in other languages including .NET.
  • It doesn't require a massive runtime that is difficult to understand and easy to mix up, like .NET does. Sure, it still needs some DLLs, but they usually come with Windows or are rather small.
  • It works fine on any version of Windows, including Windows 7 64-bit and Server, with no changes.
  • Without too much pain, you can use pretty much any Windows API function, including stuff like keyboard hooks.


Of course, it does have some limitations, which may be a dealbreaker for some people:

  • No 64-bit support. My apps run 32-bit, but of course they work fine on a 64-bit system.
  • No real multithreading. This isn't really a huge problem for me either, as threading is a headache and a half.
  • Fancy graphics and things like alpha transparencies and window subclassing aren't built in, like they are in .NET. So you need to go a bit further to get things like that working.


I do know C# and I use it every now and again, but I still find that VB6 provides the best time spent to results produced ratio for me.
Add or view comments

Older Entries...
copyright © 2013 AvBrand.com - sitemap