Click here to Skip to main content
15,914,780 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionSlow Paint Events - vb.net 2005 Pin
nlarson1128-Aug-07 8:42
nlarson1128-Aug-07 8:42 
AnswerRe: Slow Paint Events - vb.net 2005 Pin
Luc Pattyn28-Aug-07 12:36
sitebuilderLuc Pattyn28-Aug-07 12:36 
GeneralRe: Slow Paint Events - vb.net 2005 Pin
nlarson1128-Aug-07 13:02
nlarson1128-Aug-07 13:02 
GeneralRe: Slow Paint Events - vb.net 2005 Pin
Luc Pattyn28-Aug-07 13:23
sitebuilderLuc Pattyn28-Aug-07 13:23 
GeneralRe: Slow Paint Events - vb.net 2005 Pin
Dave Kreskowiak28-Aug-07 14:33
mveDave Kreskowiak28-Aug-07 14:33 
GeneralRe: Slow Paint Events - vb.net 2005 Pin
Christian Graus28-Aug-07 15:14
protectorChristian Graus28-Aug-07 15:14 
GeneralRe: Slow Paint Events - vb.net 2005 Pin
nlarson1128-Aug-07 15:38
nlarson1128-Aug-07 15:38 
GeneralRe: Slow Paint Events - vb.net 2005 Pin
Dave Kreskowiak28-Aug-07 17:22
mveDave Kreskowiak28-Aug-07 17:22 
nlarson11 wrote:
by you saying "painting everything yourself"...never have done this. how do you handle that?


I thought you were doing what most newbies do when putting a game together. Using PictureBox controls for tiles and sprites. You can't find a more inefficient method of doing a game.

Simply put, putting 100 controls on a form is not going to paint smoothly, no matter what you do. You can get a bit of an improvement by turning on double-buffering on the form, maybe even if you did it on the Panel control, but don't expect much. It's still going to be jumpy because of the shear number of controls.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


QuestionHelp needed Pin
chintuu128-Aug-07 7:47
chintuu128-Aug-07 7:47 
AnswerRe: Help needed Pin
Dave Kreskowiak28-Aug-07 14:36
mveDave Kreskowiak28-Aug-07 14:36 
QuestionWhat is better code? Pin
Cory Kimble28-Aug-07 7:24
Cory Kimble28-Aug-07 7:24 
AnswerRe: What is better code? Pin
DigiOz Multimedia28-Aug-07 8:03
DigiOz Multimedia28-Aug-07 8:03 
GeneralRe: What is better code? Pin
Cory Kimble28-Aug-07 8:33
Cory Kimble28-Aug-07 8:33 
GeneralRe: What is better code? Pin
DigiOz Multimedia28-Aug-07 8:35
DigiOz Multimedia28-Aug-07 8:35 
AnswerRe: What is better code? Pin
Luc Pattyn28-Aug-07 12:42
sitebuilderLuc Pattyn28-Aug-07 12:42 
QuestionProblem saving a word document using DSOFramer ActiveX control Pin
chirantan.sriram28-Aug-07 4:25
chirantan.sriram28-Aug-07 4:25 
QuestionProblem with updating database [modified] Pin
Cory Kimble28-Aug-07 3:37
Cory Kimble28-Aug-07 3:37 
AnswerRe: Problem with updating database Pin
Dave Kreskowiak28-Aug-07 14:38
mveDave Kreskowiak28-Aug-07 14:38 
GeneralRe: Problem with updating database Pin
Cory Kimble30-Aug-07 11:04
Cory Kimble30-Aug-07 11:04 
GeneralRe: Problem with updating database Pin
Dave Kreskowiak30-Aug-07 11:44
mveDave Kreskowiak30-Aug-07 11:44 
GeneralRe: Problem with updating database [modified] Pin
Cory Kimble31-Aug-07 3:29
Cory Kimble31-Aug-07 3:29 
GeneralRe: Problem with updating database Pin
Dave Kreskowiak1-Sep-07 4:12
mveDave Kreskowiak1-Sep-07 4:12 
QuestionAPI Pin
balakpn28-Aug-07 3:01
balakpn28-Aug-07 3:01 
AnswerRe: API Pin
Dave Kreskowiak28-Aug-07 14:42
mveDave Kreskowiak28-Aug-07 14:42 
GeneralRe: API Pin
balakpn28-Aug-07 19:18
balakpn28-Aug-07 19:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.