Click here to Skip to main content
15,902,908 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how to get internet time using http request Pin
Richard MacCutchan5-Jun-15 2:32
mveRichard MacCutchan5-Jun-15 2:32 
AnswerRe: how to get internet time using http request Pin
Richard Deeming5-Jun-15 2:34
mveRichard Deeming5-Jun-15 2:34 
QuestionCopying data between to SQL Servers Pin
Member 117439064-Jun-15 23:26
Member 117439064-Jun-15 23:26 
AnswerRe: Copying data between to SQL Servers Pin
Eddy Vluggen5-Jun-15 0:35
professionalEddy Vluggen5-Jun-15 0:35 
QuestionExcel 2013 VBA - Secure Website Login Pin
Member 110154484-Jun-15 8:07
Member 110154484-Jun-15 8:07 
AnswerRe: Excel 2013 VBA - Secure Website Login Pin
Member 110154488-Jun-15 7:52
Member 110154488-Jun-15 7:52 
QuestionRe: Excel 2013 VBA - Secure Website Login Pin
Member 110154489-Jun-15 12:09
Member 110154489-Jun-15 12:09 
QuestionHTML Textbox Pin
Member 117418844-Jun-15 7:46
Member 117418844-Jun-15 7:46 
Hi there!

I'm using the HTMLTextbox from here: [^]

And my Question is how can I change the Font, Fontsize, ....

My Usage:

VB
Private Sub Message_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Message.TextChanged
    MessageHTML.Text = Me.Message.GenerateHTML
End Sub


as you can see, everytime my Text in Message is changed my HTML code will be generated, and it works great!


For changing the Font I use:
VB
Private Sub FontBox_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FontBox.SelectedIndexChanged
    Message.SelectionFont = New Font(FontBox.Text, FontSize.Text.ToString)
End Sub


And for the Size the same:
VB
Private Sub FontSize_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FontSize.SelectedIndexChanged
    Message.SelectionFont = New Font(FontBox.Text, FontSize.Text.ToString)
End Sub


But I don't know how to update my MessageHTML Textfield.

Really hope someone can help!


Thanks
SuggestionRe: HTML Textbox Pin
Richard Deeming5-Jun-15 1:20
mveRichard Deeming5-Jun-15 1:20 
Questionvb.net 2010 startup form for desktop application Pin
dcof4-Jun-15 5:47
dcof4-Jun-15 5:47 
AnswerRe: vb.net 2010 startup form for desktop application Pin
Eddy Vluggen4-Jun-15 10:07
professionalEddy Vluggen4-Jun-15 10:07 
AnswerRe: vb.net 2010 startup form for desktop application Pin
Sascha Lefèvre4-Jun-15 10:32
professionalSascha Lefèvre4-Jun-15 10:32 
GeneralRe: vb.net 2010 startup form for desktop application Pin
dcof4-Jun-15 11:29
dcof4-Jun-15 11:29 
GeneralRe: vb.net 2010 startup form for desktop application Pin
Sascha Lefèvre4-Jun-15 11:52
professionalSascha Lefèvre4-Jun-15 11:52 
QuestionVB.net 2010 desktop app select file from drop down list box Pin
dcof4-Jun-15 5:11
dcof4-Jun-15 5:11 
AnswerRe: VB.net 2010 desktop app select file from drop down list box Pin
Eddy Vluggen4-Jun-15 10:10
professionalEddy Vluggen4-Jun-15 10:10 
GeneralRe: VB.net 2010 desktop app select file from drop down list box Pin
dcof4-Jun-15 11:32
dcof4-Jun-15 11:32 
GeneralRe: VB.net 2010 desktop app select file from drop down list box Pin
Eddy Vluggen4-Jun-15 22:20
professionalEddy Vluggen4-Jun-15 22:20 
QuestionOpen a form when the name is known only on runtime Pin
satc3-Jun-15 9:35
satc3-Jun-15 9:35 
AnswerRe: Open a form when the name is known only on runtime Pin
Sascha Lefèvre3-Jun-15 10:26
professionalSascha Lefèvre3-Jun-15 10:26 
GeneralRe: Open a form when the name is known only on runtime Pin
satc3-Jun-15 16:29
satc3-Jun-15 16:29 
GeneralRe: Open a form when the name is known only on runtime Pin
Sascha Lefèvre3-Jun-15 22:00
professionalSascha Lefèvre3-Jun-15 22:00 
GeneralRe: Open a form when the name is known only on runtime Pin
satc4-Jun-15 9:57
satc4-Jun-15 9:57 
GeneralRe: Open a form when the name is known only on runtime Pin
Sascha Lefèvre4-Jun-15 10:41
professionalSascha Lefèvre4-Jun-15 10:41 
GeneralRe: Open a form when the name is known only on runtime Pin
satc4-Jun-15 18:26
satc4-Jun-15 18:26 

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.