Click here to Skip to main content
15,562,256 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Pre-load libraries Pin
Dave Kreskowiak8-Mar-14 12:31
mveDave Kreskowiak8-Mar-14 12:31 
GeneralRe: Pre-load libraries Pin
alejx9-Mar-14 6:42
alejx9-Mar-14 6:42 
GeneralRe: Pre-load libraries Pin
Dave Kreskowiak9-Mar-14 7:57
mveDave Kreskowiak9-Mar-14 7:57 
GeneralRe: Pre-load libraries Pin
alejx9-Mar-14 8:49
alejx9-Mar-14 8:49 
GeneralRe: Pre-load libraries Pin
Dave Kreskowiak9-Mar-14 8:55
mveDave Kreskowiak9-Mar-14 8:55 
AnswerRe: Pre-load libraries Pin
Richard Andrew x647-Mar-14 16:31
professionalRichard Andrew x647-Mar-14 16:31 
QuestionIs this possible? Pin
hansoctantan6-Mar-14 1:29
professionalhansoctantan6-Mar-14 1:29 
AnswerRe: Is this possible? Pin
Wayne Gaylard6-Mar-14 1:49
professionalWayne Gaylard6-Mar-14 1: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 20:57
professionalhansoctantan9-Mar-14 20:57 
GeneralRe: Is this possible? Pin
Wayne Gaylard9-Mar-14 21:01
professionalWayne Gaylard9-Mar-14 21:01 
AnswerRe: Is this possible? Pin
Eddy Vluggen6-Mar-14 3:59
professionalEddy Vluggen6-Mar-14 3:59 
QuestionVB.NET Visual Studio 2113: Windows Explorer right click-> print Pin
dgoogle6-Mar-14 1:14
dgoogle6-Mar-14 1:14 
AnswerRe: VB.NET Visual Studio 2113: Windows Explorer right click-> print Pin
Richard Deeming6-Mar-14 2:56
mveRichard Deeming6-Mar-14 2:56 
QuestionHelp with uploading picture using visual basic Pin
Surajit Das5-Mar-14 12:38
Surajit Das5-Mar-14 12:38 
AnswerRe: Help with uploading picture using visual basic Pin
Peter Leow5-Mar-14 14:18
professionalPeter Leow5-Mar-14 14:18 
SuggestionRe: Help with uploading picture using visual basic Pin
Richard Deeming6-Mar-14 2:52
mveRichard Deeming6-Mar-14 2:52 
QuestionHelp with Visual Basic Pin
Surajit Das5-Mar-14 12:35
Surajit Das5-Mar-14 12:35 
Questionrtf control for printing Pin
JR2125-Mar-14 3:13
JR2125-Mar-14 3:13 
AnswerRe: rtf control for printing Pin
Richard MacCutchan5-Mar-14 4:18
mveRichard MacCutchan5-Mar-14 4:18 
GeneralRe: rtf control for printing Pin
JR2125-Mar-14 5:43
JR2125-Mar-14 5:43 
GeneralRe: rtf control for printing Pin
Richard MacCutchan5-Mar-14 5:47
mveRichard MacCutchan5-Mar-14 5:47 
GeneralRe: rtf control for printing Pin
JR2125-Mar-14 8:26
JR2125-Mar-14 8:26 
GeneralRe: rtf control for printing Pin
Richard MacCutchan5-Mar-14 23:17
mveRichard MacCutchan5-Mar-14 23:17 
GeneralRe: rtf control for printing Pin
JR2126-Mar-14 21:32
JR2126-Mar-14 21:32 
GeneralRe: rtf control for printing Pin
Richard MacCutchan6-Mar-14 22:45
mveRichard MacCutchan6-Mar-14 22: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.