Click here to Skip to main content
15,900,108 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Pre-load libraries Pin
alejx6-Mar-14 12:03
alejx6-Mar-14 12:03 
GeneralRe: Pre-load libraries Pin
Dave Kreskowiak6-Mar-14 17:11
mveDave Kreskowiak6-Mar-14 17:11 
GeneralRe: Pre-load libraries Pin
alejx7-Mar-14 6:43
alejx7-Mar-14 6:43 
GeneralRe: Pre-load libraries Pin
Dave Kreskowiak7-Mar-14 9:18
mveDave Kreskowiak7-Mar-14 9:18 
GeneralRe: Pre-load libraries Pin
alejx8-Mar-14 2:53
alejx8-Mar-14 2:53 
GeneralRe: Pre-load libraries Pin
Dave Kreskowiak8-Mar-14 3:21
mveDave Kreskowiak8-Mar-14 3:21 
GeneralRe: Pre-load libraries Pin
alejx8-Mar-14 4:27
alejx8-Mar-14 4:27 
GeneralRe: Pre-load libraries Pin
Dave Kreskowiak8-Mar-14 5:01
mveDave Kreskowiak8-Mar-14 5:01 
GeneralRe: Pre-load libraries Pin
alejx8-Mar-14 6:32
alejx8-Mar-14 6:32 
GeneralRe: Pre-load libraries Pin
Dave Kreskowiak8-Mar-14 7:32
mveDave Kreskowiak8-Mar-14 7:32 
GeneralRe: Pre-load libraries Pin
alejx8-Mar-14 9:27
alejx8-Mar-14 9:27 
GeneralRe: Pre-load libraries Pin
Dave Kreskowiak8-Mar-14 10:39
mveDave Kreskowiak8-Mar-14 10:39 
GeneralRe: Pre-load libraries Pin
alejx8-Mar-14 11:01
alejx8-Mar-14 11:01 
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 

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.