Click here to Skip to main content
15,922,145 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: textbox Pin
Dave Kreskowiak24-Oct-08 7:19
mveDave Kreskowiak24-Oct-08 7:19 
QuestionVB auto updater for application Pin
Member 404257024-Oct-08 4:30
Member 404257024-Oct-08 4:30 
AnswerRe: VB auto updater for application Pin
Dave Kreskowiak24-Oct-08 4:38
mveDave Kreskowiak24-Oct-08 4:38 
AnswerRe: VB auto updater for application Pin
Paul Conrad24-Oct-08 4:57
professionalPaul Conrad24-Oct-08 4:57 
GeneralRe: VB auto updater for application Pin
Member 404257024-Oct-08 5:08
Member 404257024-Oct-08 5:08 
Questionselecting cells to save in another excel sheet using vba Pin
weelilin24-Oct-08 1:57
weelilin24-Oct-08 1:57 
QuestionFormating of String Pin
pdnet24-Oct-08 1:50
pdnet24-Oct-08 1:50 
AnswerRe: Formating of String Pin
Dave Kreskowiak24-Oct-08 2:09
mveDave Kreskowiak24-Oct-08 2:09 
You can't do this using String.Format. How the fonts a rendered depend on the control that will show the text. Since you want both parts of that phrase rendered differently, you'd have to render them seperately.

You have a couple of choices. The first is creating a custom control that renders the text yourself. The second is creating a usercontrol that has a couple of label controls in it, each label showing one part of the text, and using different font properties to achieve what you want.


A guide to posting questions on CodeProject[^]



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




GeneralRe: Formating of String Pin
pdnet24-Oct-08 2:39
pdnet24-Oct-08 2:39 
GeneralRe: Formating of String Pin
Dave Kreskowiak24-Oct-08 4:15
mveDave Kreskowiak24-Oct-08 4:15 
AnswerRe: Formating of String Pin
Jon_Boy24-Oct-08 2:22
Jon_Boy24-Oct-08 2:22 
GeneralRe: Formating of String Pin
pdnet24-Oct-08 2:37
pdnet24-Oct-08 2:37 
AnswerRe: Formating of String Pin
Ashfield24-Oct-08 2:57
Ashfield24-Oct-08 2:57 
GeneralRe: Formating of String Pin
pdnet24-Oct-08 3:02
pdnet24-Oct-08 3:02 
GeneralRe: Formating of String [modified] Pin
Jon_Boy24-Oct-08 3:17
Jon_Boy24-Oct-08 3:17 
GeneralRe: Formating of String Pin
Dave Kreskowiak24-Oct-08 4:18
mveDave Kreskowiak24-Oct-08 4:18 
GeneralRe: Formating of String Pin
Ashfield24-Oct-08 5:14
Ashfield24-Oct-08 5:14 
GeneralRe: Formating of String Pin
Jon_Boy24-Oct-08 5:59
Jon_Boy24-Oct-08 5:59 
GeneralRe: Formating of String Pin
pdnet24-Oct-08 21:18
pdnet24-Oct-08 21:18 
GeneralRe: Formating of String Pin
Dave Kreskowiak25-Oct-08 3:01
mveDave Kreskowiak25-Oct-08 3:01 
GeneralRe: Formating of String Pin
Jon_Boy27-Oct-08 1:51
Jon_Boy27-Oct-08 1:51 
GeneralRe: Formating of String Pin
pdnet24-Oct-08 21:17
pdnet24-Oct-08 21:17 
GeneralRe: Formating of String Pin
Ashfield25-Oct-08 4:55
Ashfield25-Oct-08 4:55 
QuestionVisual basic packet capture help Pin
preshenmoodley24-Oct-08 0:53
preshenmoodley24-Oct-08 0:53 
AnswerRe: Visual basic packet capture help Pin
Dave Kreskowiak24-Oct-08 2:11
mveDave Kreskowiak24-Oct-08 2:11 

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.