Click here to Skip to main content
15,918,404 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Text Input Detection Pin
Absenm29-Oct-07 15:30
Absenm29-Oct-07 15:30 
GeneralRe: Text Input Detection Pin
Dave Kreskowiak29-Oct-07 18:12
mveDave Kreskowiak29-Oct-07 18:12 
QuestionHow to generate serial hard disk? Pin
sovysim26-Oct-07 22:47
sovysim26-Oct-07 22:47 
AnswerRe: How to generate serial hard disk? Pin
Abhijit Jana27-Oct-07 1:20
professionalAbhijit Jana27-Oct-07 1:20 
AnswerRe: How to generate serial hard disk? Pin
Dave Kreskowiak27-Oct-07 3:43
mveDave Kreskowiak27-Oct-07 3:43 
QuestionRefreshing a drawing Pin
twsted f826-Oct-07 21:37
twsted f826-Oct-07 21:37 
AnswerRe: Refreshing a drawing Pin
AliAmjad27-Oct-07 2:37
AliAmjad27-Oct-07 2:37 
AnswerRe: Refreshing a drawing Pin
Luc Pattyn27-Oct-07 3:35
sitebuilderLuc Pattyn27-Oct-07 3:35 
Hi,

some remarks:

1. You can force a redraw by calling Invalidate() on the Control that does the drawing,
in your case a Form.

2. Please, please publish code snippets inside PRE tags; it reads much better.

3. You must call Dispose() on those objects that you create and havre such a class,
as in SolidBrush and Pen.

4. For predefined colors there also exist predefined objects (Pen, Brush), see
Pens class and Brushes class. You should not try to dispose these, since you did not
create them!

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this months tips:
- use PRE tags to preserve formatting when showing multi-line code snippets
- before you ask a question here, search CodeProject, then Google


QuestionHow to program a digital persona fingerprint scanner in VB? [modified] Pin
meki_211826-Oct-07 18:37
meki_211826-Oct-07 18:37 
AnswerRe: How to program a digital persona fingerprint scanner in VB? Pin
aransiola27-Oct-07 0:59
aransiola27-Oct-07 0:59 
GeneralRe: How to program a digital persona fingerprint scanner in VB? Pin
meki_211827-Oct-07 6:13
meki_211827-Oct-07 6:13 
GeneralRe: How to program a digital persona fingerprint scanner in VB? Pin
Dave Kreskowiak27-Oct-07 9:19
mveDave Kreskowiak27-Oct-07 9:19 
GeneralRe: How to program a digital persona fingerprint scanner in VB? Pin
aransiola27-Oct-07 9:32
aransiola27-Oct-07 9:32 
GeneralRe: How to program a digital persona fingerprint scanner in VB? Pin
meki_211828-Oct-07 3:55
meki_211828-Oct-07 3:55 
AnswerRe: How to program a digital persona fingerprint scanner in VB? Pin
Dave Kreskowiak27-Oct-07 3:41
mveDave Kreskowiak27-Oct-07 3:41 
Questionsearching a formatted Listbox Pin
iSeeGhosts26-Oct-07 16:47
iSeeGhosts26-Oct-07 16:47 
AnswerRe: searching a formatted Listbox Pin
Luc Pattyn26-Oct-07 16:59
sitebuilderLuc Pattyn26-Oct-07 16:59 
QuestionCode For Closing The One Windows Form Pin
Pavan s26-Oct-07 14:45
Pavan s26-Oct-07 14:45 
AnswerRe: Code For Closing The One Windows Form Pin
Dave Kreskowiak27-Oct-07 3:36
mveDave Kreskowiak27-Oct-07 3:36 
QuestionTDateTime (Delphi) to VB conversion Pin
Hurricane300026-Oct-07 13:02
Hurricane300026-Oct-07 13:02 
AnswerRe: TDateTime (Delphi) to VB conversion Pin
Dave Kreskowiak27-Oct-07 3:40
mveDave Kreskowiak27-Oct-07 3:40 
GeneralRe: TDateTime (Delphi) to VB conversion Pin
Hurricane300027-Oct-07 5:26
Hurricane300027-Oct-07 5:26 
QuestionSystem.Data.SqlClient.SqlDataReader has no instructor??? Pin
kc_renji26-Oct-07 8:07
kc_renji26-Oct-07 8:07 
AnswerRe: System.Data.SqlClient.SqlDataReader has no instructor??? Pin
Dave Kreskowiak26-Oct-07 9:54
mveDave Kreskowiak26-Oct-07 9:54 
GeneralRe: System.Data.SqlClient.SqlDataReader has no instructor??? Pin
Paul Conrad26-Oct-07 17:41
professionalPaul Conrad26-Oct-07 17:41 

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.