Click here to Skip to main content
15,887,596 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Pre-load libraries Pin
Dave Kreskowiak8-Mar-14 11:31
mveDave Kreskowiak8-Mar-14 11:31 
GeneralRe: Pre-load libraries Pin
alejx9-Mar-14 5:42
alejx9-Mar-14 5:42 
GeneralRe: Pre-load libraries Pin
Dave Kreskowiak9-Mar-14 6:57
mveDave Kreskowiak9-Mar-14 6:57 
GeneralRe: Pre-load libraries Pin
alejx9-Mar-14 7:49
alejx9-Mar-14 7:49 
GeneralRe: Pre-load libraries Pin
Dave Kreskowiak9-Mar-14 7:55
mveDave Kreskowiak9-Mar-14 7:55 
AnswerRe: Pre-load libraries Pin
Richard Andrew x647-Mar-14 15:31
professionalRichard Andrew x647-Mar-14 15:31 
QuestionIs this possible? Pin
hansoctantan6-Mar-14 0:29
professionalhansoctantan6-Mar-14 0:29 
AnswerRe: Is this possible? Pin
Wayne Gaylard6-Mar-14 0:49
professionalWayne Gaylard6-Mar-14 0:49 
With a TextBox, you can only set the font and fontweight for the whole string. With the RichTextBox you can set any amount of fonts and font weights to your hearts desire. To set the current selected text to bold, or if it is already bold, set it to normal, you can use something like this :
VB
With Me.rtb
        If .SelectionFont IsNot Nothing Then
            Dim currentFont As System.Drawing.Font = .SelectionFont
            Dim newFontStyle As System.Drawing.FontStyle

            If .SelectionFont.Bold = True Then
                newFontStyle = currentFont.Style - Drawing.FontStyle.Bold
            Else
                newFontStyle = currentFont.Style + Drawing.FontStyle.Bold
            End If

            .SelectionFont = New Drawing.Font(currentFont.FontFamily, currentFont.Size, newFontStyle)
        End If
    End With


Hope this helps
Everyone dies - but not everyone lives

GeneralRe: Is this possible? Pin
hansoctantan9-Mar-14 19:57
professionalhansoctantan9-Mar-14 19:57 
GeneralRe: Is this possible? Pin
Wayne Gaylard9-Mar-14 20:01
professionalWayne Gaylard9-Mar-14 20:01 
AnswerRe: Is this possible? Pin
Eddy Vluggen6-Mar-14 2:59
professionalEddy Vluggen6-Mar-14 2:59 
QuestionVB.NET Visual Studio 2113: Windows Explorer right click-> print Pin
dgoogle6-Mar-14 0:14
dgoogle6-Mar-14 0:14 
AnswerRe: VB.NET Visual Studio 2113: Windows Explorer right click-> print Pin
Richard Deeming6-Mar-14 1:56
mveRichard Deeming6-Mar-14 1:56 
QuestionHelp with uploading picture using visual basic Pin
Surajit Das5-Mar-14 11:38
Surajit Das5-Mar-14 11:38 
AnswerRe: Help with uploading picture using visual basic Pin
Peter Leow5-Mar-14 13:18
professionalPeter Leow5-Mar-14 13:18 
SuggestionRe: Help with uploading picture using visual basic Pin
Richard Deeming6-Mar-14 1:52
mveRichard Deeming6-Mar-14 1:52 
QuestionHelp with Visual Basic Pin
Surajit Das5-Mar-14 11:35
Surajit Das5-Mar-14 11:35 
Questionrtf control for printing Pin
JR2125-Mar-14 2:13
JR2125-Mar-14 2:13 
AnswerRe: rtf control for printing Pin
Richard MacCutchan5-Mar-14 3:18
mveRichard MacCutchan5-Mar-14 3:18 
GeneralRe: rtf control for printing Pin
JR2125-Mar-14 4:43
JR2125-Mar-14 4:43 
GeneralRe: rtf control for printing Pin
Richard MacCutchan5-Mar-14 4:47
mveRichard MacCutchan5-Mar-14 4:47 
GeneralRe: rtf control for printing Pin
JR2125-Mar-14 7:26
JR2125-Mar-14 7:26 
GeneralRe: rtf control for printing Pin
Richard MacCutchan5-Mar-14 22:17
mveRichard MacCutchan5-Mar-14 22:17 
GeneralRe: rtf control for printing Pin
JR2126-Mar-14 20:32
JR2126-Mar-14 20:32 
GeneralRe: rtf control for printing Pin
Richard MacCutchan6-Mar-14 21:45
mveRichard MacCutchan6-Mar-14 21:45 

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.