[2008] Use BBCode In A RichTextBox?

Mar 2, 2009

it's possible to use BBCode in a RichTextBox eg: [color=red], [b], etc...

View 2 Replies


ADVERTISEMENT

BBCode Editor - Preview Rich TextBox

May 10, 2009

I am trying to write a BBCode editor in VB.Net. I have 2 rich textboxes and some buttons to format the text, like a normal bbcode editor.

What I want to do is have a live preview in the other rich textbox so instead the text displaying as [ b ] Text [ /b ] it displays as Text .

Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[Code].....

View 4 Replies

Way To Search A Richtextbox Textfile That Will Highlight All Word Finds And Then Send Them To Another Richtextbox?

Aug 26, 2010

I have a richtextbox with a large file inside....I want to be able to search for "Fornication" within the text (KJV Bible) and have every instance of that word to pop up into another richtextbox along with the scripture it is in.

View 1 Replies

Create A Richtextbox On Formload Then Drag And Drop On Richtextbox?

Jun 28, 2011

I'm currently having a problem dragging and dropping my label1.text to a richtextboxt which isn't created on design time...well im currently found a solution but i think it is only for a temporary solution because i use a drag and drop i drag it to a textbox then it willl transfer the data to the richtextbox....through the use of the textbox... here is the code ive come through..[code]...

View 2 Replies

VS 2008 Pop-in Richtextbox In?

May 21, 2009

I want to do a pop-up window proposed in the project such that there is a draft.I wonder how I can do this pop-up a text box or before I have an idea you have Call

View 5 Replies

VS 2008 RichTextBox?

Mar 20, 2010

I have two forms in my project. One form is opened and another form is closed. When I press the button on first form I want to add some text on RichTextBox ON OTHER FORM.

Code Form2.RichTextBox2.AppendText ("some text...")

And when I open second form text is there, BUT when I close second form, and open it again, RichTextBox is formatted. What's the problem?

View 2 Replies

VS 2008 Richtextbox From A Noob?

Apr 9, 2010

i am doing a small app where in one part i need to add certain lines of text ( from one variable ) to a richtexbox

i read a txt file line by line , i check something , if the condition its true then i add that line to a string variable , i need to add that variable contents to the richtexbox , i can't find the equivalent of textbox1.AppendText(textline) for the richtextbox .

View 7 Replies

VS 2008 Console To RichtextBox?

Dec 14, 2009

I am creating an output window for a C++ editor. how will i create the console in vb.net as an output window and transfer it to richtextbox?

View 6 Replies

VS 2008 CTRL+I In RichTextBox?

Aug 5, 2010

I use CTRL+I to switch on/off the Italics, but what is also happening is that the cursor is being indented.

How do I stop the cursor from indenting?

View 2 Replies

VS 2008 Replace In A Richtextbox?

Apr 1, 2009

How do I replace the second value in a richtextbox. The richtextbox is updated in 1Hz, with 2 colums of numbers:

ex.
0 3
1 5
2 13
3 33

How do I replace the second column, with values from an other textbox?

View 2 Replies

VS 2008 RichTextBox Editor

Aug 19, 2009

I have a RichTextBox and a button.When the user clicks the button, I want to open an editor in which the user writes and formats a Text and when the user closes the editor, i want the Text to be displayed in the richtextbox.

View 1 Replies

VS 2008 Tab The Content Of RichTextbox?

Feb 13, 2010

How can i Tab the content of my RichTextbox. When i use VBTAB, it does not Tab all my output to the correct places. I am using code like... the Makelen is just a function i created to see if i can make all the fields the same len...it does NOT work

[Code]...

View 2 Replies

[2008] RichTextBox To ListBox?

Feb 25, 2009

i have richtextbox, and i have about 5 lines: example:

1
2
3

[code].....

View 6 Replies

Get Text From Richtextbox In A Form To Another Inside A Richtextbox?

Jul 25, 2011

I am creating a text editor like notepad. Well its an advance type because it is a tabbed notepad type. It saves html files.

I only created tabcontrol on the design time named TabControl1. the tabpages and the richtextbox are created on the form load and when adding tabs. [code]...

View 7 Replies

Set Text To A Richtextbox In Form To Another Inside A Richtextbox?

Jul 26, 2011

I have 2 forms. The 1 is named frmMain. inside of it is a Richtextbox named RTB.

The other form is named frmInsert. Inside of it is a Richtextbox named rtbtext.[code]..

View 5 Replies

VS 2008 - How To Get Text By Line From RichTextbox

Jun 20, 2009

I have a richtextbox control. It contains many lines of text (multiline is enabled). My goal is: When user clicks with right-click mouse, I'd like to display all the text of the line where the cursor is. I'm using this method to get the cursor's line:
Dim line As Integer = RichTextBox1.GetLineFromCharIndex(RichTextBox1.SelectionStart)
But how do I get the text of the line? Should I copy the whole text to a string array , and then just print the relevant line item?

View 6 Replies

VS 2008 : Changing Font In A RichTextBox?

Oct 31, 2009

I'm trying to figure out how to change the font in a RichTextBox without having to select the text I want to change first. I know I can select text and change it like this:

RichTextBox1.SelectionStart = RichTextBox1.Find("working")
Dim tfont As New Font("Arial", 16, FontStyle.Regular)
RichTextBox1.SelectionFont = tfont

What I want to do is set a font and then any text added to the richtextbox will use that font. Then I want to set another font and all text after that point will use that font and so on. I'm adding text to the RichTextBox with code, but I'd eventually like to add a RichTexBox to an app where the user enters the text and can change fonts like a word processor.What I'm try to accomplish would go something like this:

' Set the font for the header here
rtbPrint.Text = rtbPrint.Text & mHeader & vbCrLf
'Set the font for the body here
rtbPrint.Text = rtbPrint.Text & mBody & vbCrLf

View 3 Replies

VS 2008 : Detect Image In Richtextbox?

May 3, 2012

I am using a richtextbox control on my form.I want a small code which can detect if any image has been inserted in the rtb or not.For e.g. user can just type some text or insert image also. Now if we select an image then we can get the type but I want a code which scans contents of rtb and gives me a true if an image is inserted or false if there is none.

View 8 Replies

VS 2008 : RichTextBox Formatting In A Loop?

Jun 23, 2011

i am trying to display a line of smiley faces ☻ and change the colour of each face, i cant use a find method as there are 10 of these smilies so i thought about using a loop and selecting only the last one entered and changing its colour. here is a simplified version of my

VB.Net
For a = 0 to 9
RichTextBox1.Text += "☻" ' add the smiley

[code]....

This when i ran it changes the first nine to the first colour in the array and correctly does the colour of the last smiley? could i for instance format the character first then add it formatted?

View 2 Replies

VS 2008 Add Items From Listbox Into A Richtextbox?

Nov 13, 2010

I'm trying to add items from listbox into a richtextbox. I've tryed myself with no results,

For Each items In ListBox1.Items
RichTextBox1.Text = RichTextBox1.Text + items & vbNewLine
Next

View 9 Replies

VS 2008 Adding An Enter To Richtextbox?

Jul 22, 2010

Here is what i haveRichTextBox2.Text = "1" [enter here] "2"

View 1 Replies

VS 2008 Bold Text In A RichTextBox?

Jun 18, 2012

on a timer that ticks every 1ms have it:

if RichTextBox1.Contains "begin" then
change "begin" to "begin".bolded
end if

[Code].....

View 6 Replies

VS 2008 Finding Text In RichTextBox?

Aug 29, 2009

Is there anyway I could find text in a RichTextBox? I want to put the code in here

[code]...

View 10 Replies

VS 2008 Ftp - Upload Direct From A Richtextbox?

Oct 9, 2011

I know how do that but is it possible to upload direct from a richtextbox? Without saving the file. There is my code which doesnt work :

[Code]...

View 5 Replies

VS 2008 Image With Link In RichTextBox?

May 30, 2009

I want to insert a small image in a Richtextbox, but that image has to have a link to a website.I've tried this Dim pb As New PictureBox pb.ImageLocation = "HereMyImage.Gif" Richtextbox1.Controls.Add(pb)With an OnClick event for the PictureBox, but the text in the Richtextbox is gone. The whole idea is that I have some text, an image, some text again..

View 1 Replies

VS 2008 Listbox Items To Richtextbox?

Mar 21, 2010

i am in the middle of making a downloader. I almost have everything done, apart from this very simple thing to do which i cannot seem to figure out right.

I have a listbox thats full of about 300 items and i want all of those items to be copied over to a richtextbox. (one item per line with "www." in front of the item.
does anyone know how to do this ? ive been searching around and trying for a while, but no luck

View 5 Replies

VS 2008 Multiple Lines In RichTextBox?

Aug 26, 2009

How would I make it so that if someone presses a button, the richtextbox will have more then 1 line of text

RichTextBox1.Text = "Something like this, but 2+ lines"

View 6 Replies

VS 2008 Mysql Database To Richtextbox?

Oct 7, 2011

What i need it to display all records in that database into a richtextbox or something.This is because i need to regarly check the database records and it would save a lot of time rather than manually logining into the cpanel and checking.I was looking at datagrid but that only does:Microsoft Access Database File (OLE DB)Microsoft SQL Server Compact 3.5 (.NET Framework Data Provider for Microsoft SQL Server Compact 3.5)

View 2 Replies

VS 2008 Parsed Text Looks Bad On The RichTextBox?

Apr 3, 2012

When i parse text from a website ( Such as a description of something ) and it has symbols in it such as

Any symbol that get parsed out in the description looks like this on the richtextbox or any textbox I'm using a noob way to eliminate the problem by replacing each gibberish character to his normal font like this

[Code]...

View 2 Replies

VS 2008 Reading All Data Into RichTextBox?

Aug 30, 2009

I am using this

Dim con As New OleDb.OleDbConnection
Dim ds As New DataSet
Dim da As OleDb.OleDbDataAdapter

[Code].....

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved