dim Heading as string
Heading = "I want to Make this sentance Bold and bigger"
how would i go about making this variable bold and changing the font and font size.
thankyou :) :)
Printable View
dim Heading as string
Heading = "I want to Make this sentance Bold and bigger"
how would i go about making this variable bold and changing the font and font size.
thankyou :) :)
You can't make a variable to have these styles. But since you probably want to display that text then just use ummm... let's say RichTextBox control.
I guess that it's not what you are looking for, but I thought it would help :)Code:Private Sub Form_Load()
With RichTextBox1
.Font.Bold = True
.Font.Size = 24
.Text = "I want to Make this sentance Bold and bigger"
End With
End Sub
You cannot BOLD a string variable.
Ask the PROPER question and you might get a proper answer.
You are the type of person who puts vb beginners like me off learning the vb language if you dont like answering peoples questions and helping people out then dont come to this messageboard and abuse everyoneQuote:
You cannot BOLD a string variable.
Ask the PROPER question and you might get a proper answer.
i find it a pleasure being here in vb world reading peoples questions an learning alot about Vb but people like you are
people we dont need here in vb world.!!!!!!!!!!
so thankyou to everyone that has helped me in the past to learn the great language of vb and i will continue to learn dispite those that make it harder for everyone else.
:( :( :( :( :( :( :( :( :( :( :( :( :) :) :)
ps i would appreciate it if you (GENX) dont even try to help me i dont want to learn vb from people like you.
Johnny,
95% of the people I reply to are grateful for my input. YOU are among the minority of the 5% who don't.
That means "people like me" don't put beginners off... what it DOES mean is that people like YOU don't want to learn... you just want the answers.
And frankly I'm not wasting my time on here to just force feed people, I want them to LEARN from what they get, to develop a methodology on how to find the answers for themselves. You have ignored every piece of advice I have given you on this... and each time I tell you to spell out what you are doing so people can help better you have just ignored it.
So why don't you just take some advice for a change instead of just belly aching and whinging about the big bad wolf and how he isn't feeding you with a spoon