Form with many buttons slow when form is refreshed on VBexpress yet fast on VB6, why?

Hi, I am new to VB exp 2005. I am currently making a simple program that has 1 form and 100 buttons on it. When I run the program, I could notice the PAINTING process of the buttons. I mean, I could see some uncompletely displayed buttons while the others are already visible. This problem could also be seen when I MINIMIZED, then MAXIMIZED the form. I made an identical program using VB6. And ofcourse the response was faster. Is there any other way that I could make my program display the buttons more faster Thanks

Answer this question

Form with many buttons slow when form is refreshed on VBexpress yet fast on VB6, why?

  • Randy_TS

    Are you running the program in the IDE Are you running a debug build or a release build Are you actually comparing apples to apples - specifically, do you have themes enabled Unfortunately there isn't a property that you can set (GoFaster = True).

    100 buttons is a lot of buttons. Maybe you can redesign it Do you really need all the functionality of the button control, or are you using the button for convenience Perhaps write your own control with just functionality required.



  • Andrija

    Its probably hapenin for ur PC configuration....

    vbexpress edn need lots of RAM , i mean around 512mb is gr8.....try to run on a faster machine...and see wat happens

    remember VB express is NOT for those 128 mb/256 mb ram PC's.

  • Form with many buttons slow when form is refreshed on VBexpress yet fast on VB6, why?