DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2004

    Number of Controls supported in Visual Studio Basic 2012

    Trying o convert my VB6 app to VB 2012, I was wondering if VB 2012 will support more than 256 controls on a form as some of my VB6 forms exceed this amount and I use control arrays to work around this limitation. However, I don't belive VB 2012 supports control arrays. I can't seem to verify whether VB 2012 can handle more than 256 controls on a form. Does anyone know the maximum number of controls supported by VB 2012?


  2. #2
    Join Date
    Apr 2007
    Sterling Heights, Michigan
    There is no number limit like that is in VB6. The limits are:

    1. The available memory in the computer.
    2. Available screen size.

    Both of these are very important considerations if your target audience has a wide variety of diffferent screen resolutions and/or different memory configurations.

    3. Another limitation is how "busy" or complicated you want the Form to look.

    .Net supports a collections type that comes in many varieties. The simplest is a List. You can create lists of any sort of object. These lists of controls are the cloest there is to the equivalent of a control array in VB6.
    Last edited by Hack; 01-20-2013 at 08:40 AM.

  3. #3
    Join Date
    Aug 2004

    Thanks for information. My current VB6 application consists of 5 forms, each one using the the tab control with 7 to 10 tabs, so although I use a lot of control on some forms my forms are spread across a number of tabs so the forms are not too busy. It is nice to know that the limits imposed in VB6 are not in VB 2012.

Similar Threads

  1. Automation type not supported in Visual Basic
    By Jarno in forum VB Classic
    Replies: 3
    Last Post: 04-23-2002, 04:20 PM
  2. Replies: 2
    Last Post: 02-17-2002, 03:00 PM
  3. Serial Number in Visual Studio Installer
    By anonymous in forum VB Classic
    Replies: 2
    Last Post: 02-10-2002, 08:58 PM
  4. Replies: 4
    Last Post: 12-19-2001, 05:44 PM
  5. Variable uses an Automation type not supported in Visual Basic
    By Willy Van den Driessche in forum VB Classic
    Replies: 1
    Last Post: 04-20-2001, 06:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.