[Lazarus] Why you got to hate Visual Basic

Graeme Geldenhuys graemeg.lists at gmail.com
Wed Nov 23 09:33:58 CET 2011


Hi Guys,

Yes, I know this is off-topic, but it was one of those "What the F*ck?"
moments.

I had to modify one of our older VB6 applications this morning. A simple
task, just add a few more menu items for easy access to PDF documents.
Sounds easy enough?

Yeah, Microsoft didn't think it should be. I loaded the menu editor,
added the new menu items, and when I clicked Save, I got this:

  "Reached limit: cannot create any more controls for this form"

I had to start laughing. Reading the help regarding that error - it
seems VB6 forms are limited to 256 controls! I guess now we know why
Microsoft never wrote MS Office or Visual Studio in VB6 - they would
reach the 256 limit in no time! :-D

This just confirms my thoughts that Visual Basic is such a "toy
language", you can't do any real work in it! Lets rather stick to a real
programming language like Object Pascal.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/





More information about the Lazarus mailing list