Click here to Skip to main content
15,923,120 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Failed to convert parameter value from a String to a Int32 Pin
Guffa2-Aug-08 1:57
Guffa2-Aug-08 1:57 
GeneralRe: Failed to convert parameter value from a String to a Int32 Pin
Thomas Stockwell4-Aug-08 4:11
professionalThomas Stockwell4-Aug-08 4:11 
QuestionWants to generate Monthly Attendnace Report Pin
hygeenams1-Aug-08 20:18
hygeenams1-Aug-08 20:18 
AnswerRe: Wants to generate Monthly Attendnace Report Pin
Paul Conrad2-Aug-08 8:24
professionalPaul Conrad2-Aug-08 8:24 
QuestionFlicker-Free Control Refreshing (VB.NET) Pin
jacobjordan1-Aug-08 14:00
jacobjordan1-Aug-08 14:00 
AnswerRe: Flicker-Free Control Refreshing (VB.NET) Pin
darkelv1-Aug-08 17:57
darkelv1-Aug-08 17:57 
GeneralRe: Flicker-Free Control Refreshing (VB.NET) Pin
Mycroft Holmes1-Aug-08 18:25
professionalMycroft Holmes1-Aug-08 18:25 
AnswerRe: Flicker-Free Control Refreshing (VB.NET) Pin
Thomas Stockwell2-Aug-08 7:44
professionalThomas Stockwell2-Aug-08 7:44 
A few suggestions:

  • Only do paint routines in the proper painting events (OnPaint). Do not alter the painting in mouse events or any other events.
  • Use the SetStyle of custom controls to allow for DoubleBuffering/more precise painting control/paint event mapping. DoubleBuffering is a key in reducing flickering.
  • This sort of ties with my first point, but be sure that your logic is separate from your actual painting. One of my articles Basics of Falling Blocks in VB 2005[^] has helped many people reduce flickering in their programs because of the painting concepts discussed.


Regards,
Thomas Stockwell

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

Visit my homepage Oracle Studios

Discounted or Free Software for Students:
DreamSpark - downloads.channel8.msdn.com
MSDN Academic Alliance - www.msdnaa.com

Questionsending data over serial port Pin
Member 36239861-Aug-08 12:37
Member 36239861-Aug-08 12:37 
AnswerRe: sending data over serial port Pin
jzonthemtn3-Aug-08 12:43
jzonthemtn3-Aug-08 12:43 
QuestionCustom Control Pin
fatalwall1-Aug-08 10:49
fatalwall1-Aug-08 10:49 
AnswerRe: Custom Control Pin
Mycroft Holmes1-Aug-08 18:22
professionalMycroft Holmes1-Aug-08 18:22 
Questiondisplaying results on dropdownlist Pin
Mamphekgo Bahula1-Aug-08 1:01
Mamphekgo Bahula1-Aug-08 1:01 
AnswerRe: displaying results on dropdownlist Pin
Bassam Saoud1-Aug-08 6:01
Bassam Saoud1-Aug-08 6:01 
GeneralRe: displaying results on dropdownlist Pin
Mamphekgo Bahula3-Aug-08 20:54
Mamphekgo Bahula3-Aug-08 20:54 
GeneralRe: displaying results on dropdownlist Pin
Bassam Saoud4-Aug-08 3:22
Bassam Saoud4-Aug-08 3:22 
QuestionHow to send Email reminder automatically by fetching data from Excel sheet in VB.NET ? Pin
guriqbal8731-Jul-08 23:51
guriqbal8731-Jul-08 23:51 
AnswerRe: How to send Email reminder automatically by fetching data from Excel sheet in VB.NET ? Pin
ChandraRam1-Aug-08 0:15
ChandraRam1-Aug-08 0:15 
GeneralRe: How to send Email reminder automatically by fetching data from Excel sheet in VB.NET ? Pin
guriqbal871-Aug-08 0:30
guriqbal871-Aug-08 0:30 
GeneralRe: How to send Email reminder automatically by fetching data from Excel sheet in VB.NET ? Pin
Thomas Stockwell1-Aug-08 2:36
professionalThomas Stockwell1-Aug-08 2:36 
QuestionEmbeding flash player in Windows application Pin
pavya_Cool31-Jul-08 19:21
pavya_Cool31-Jul-08 19:21 
AnswerRe: Embeding flash player in Windows application Pin
Thomas Stockwell1-Aug-08 2:33
professionalThomas Stockwell1-Aug-08 2:33 
GeneralRe: Embeding flash player in Windows application Pin
pavya_Cool1-Aug-08 3:36
pavya_Cool1-Aug-08 3:36 
Questionelapsed time calculation b/w two click events Pin
chandrubngit31-Jul-08 16:00
chandrubngit31-Jul-08 16:00 
AnswerRe: elapsed time calculation b/w two click events Pin
AhsanS31-Jul-08 18:24
AhsanS31-Jul-08 18:24 

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.