Click here to Skip to main content
15,791,846 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: That Dammned Caret! Pin
TwoFaced26-Feb-07 14:23
TwoFaced26-Feb-07 14:23 
GeneralRe: That Dammned Caret! Pin
Anybloodyid26-Feb-07 23:02
Anybloodyid26-Feb-07 23:02 
GeneralRe: That Dammned Caret! Pin
TwoFaced27-Feb-07 10:02
TwoFaced27-Feb-07 10:02 
GeneralRe: That Dammned Caret! Pin
Anybloodyid27-Feb-07 22:49
Anybloodyid27-Feb-07 22:49 
GeneralRe: That Dammned Caret! Pin
TwoFaced28-Feb-07 9:46
TwoFaced28-Feb-07 9:46 
GeneralRe: That Dammned Caret! [modified] Pin
Anybloodyid28-Feb-07 12:31
Anybloodyid28-Feb-07 12:31 
QuestionVB.NET Printing Alignment??? Pin
harveyhanson25-Feb-07 10:10
harveyhanson25-Feb-07 10:10 
AnswerRe: VB.NET Printing Alignment??? Pin
Snews25-Feb-07 20:42
Snews25-Feb-07 20:42 
Use the MeasureString to get the width and height of the string and then calculate the center of the control or window to position your text.

Ex.

The Window's Width / 2 - TheFontWidth / 2 for the X cordinate
AND
The Window's Height / 2 - TheFontHeight / 2 for the Y cordinate

I think you can use the TextRenderer Class to to perform some more advanced drawing even in VB.NET
QuestionVB.NET 2005 Printing Help please Pin
harveyhanson25-Feb-07 8:37
harveyhanson25-Feb-07 8:37 
AnswerRe: VB.NET 2005 Printing Help please Pin
TwoFaced25-Feb-07 9:02
TwoFaced25-Feb-07 9:02 
GeneralRe: VB.NET 2005 Printing Help please Pin
harveyhanson25-Feb-07 9:21
harveyhanson25-Feb-07 9:21 
GeneralRe: VB.NET 2005 Printing Help please Pin
TwoFaced25-Feb-07 9:28
TwoFaced25-Feb-07 9:28 
GeneralRe: VB.NET 2005 Printing Help please [modified] Pin
harveyhanson25-Feb-07 9:34
harveyhanson25-Feb-07 9:34 
GeneralRe: VB.NET 2005 Printing Help please Pin
TwoFaced25-Feb-07 9:55
TwoFaced25-Feb-07 9:55 
GeneralRe: VB.NET 2005 Printing Help please Pin
harveyhanson25-Feb-07 10:09
harveyhanson25-Feb-07 10:09 
QuestionVS 2005 bindingsource using a complex filter Pin
steve_rm25-Feb-07 8:31
steve_rm25-Feb-07 8:31 
Questionkeeping a class in scope Pin
cstrader23225-Feb-07 8:14
cstrader23225-Feb-07 8:14 
AnswerRe: keeping a class in scope Pin
Christian Graus25-Feb-07 9:47
protectorChristian Graus25-Feb-07 9:47 
GeneralRe: keeping a class in scope Pin
cstrader23225-Feb-07 9:54
cstrader23225-Feb-07 9:54 
GeneralRe: keeping a class in scope Pin
cstrader23225-Feb-07 10:03
cstrader23225-Feb-07 10:03 
GeneralRe: keeping a class in scope Pin
Christian Graus25-Feb-07 11:01
protectorChristian Graus25-Feb-07 11:01 
GeneralRe: keeping a class in scope Pin
cstrader23225-Feb-07 17:22
cstrader23225-Feb-07 17:22 
GeneralRe: keeping a class in scope Pin
Christian Graus25-Feb-07 18:08
protectorChristian Graus25-Feb-07 18:08 
QuestionDatagrid and MS Access Pin
China-Gary25-Feb-07 6:19
China-Gary25-Feb-07 6:19 
QuestionCreating a Picture Box Pin
Klazen25-Feb-07 5:28
Klazen25-Feb-07 5:28 

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.