Visual Basic .NET | Create a Text Editor with RichTextBox in Visual Basic .NET

preview_player
Показать описание
Visual Basic .NET | Create a Text Editor with RichTextBox in Visual Basic .NET.

***********************************************
***********************************************
***********************************************
***********************************************

Music Background :

Track: Elektronomia - The Other Side [NCS Release]
Music provided by NoCopyrightSounds.

Song: Elektronomia & JJD - Free [NCS Release]
Music provided by NoCopyrightSounds.

Song: JJD - Future [NCS Release]
Music provided by NoCopyrightSounds.

Song: Malik Bash - Ghosts [NCS Release]
Music provided by NoCopyrightSounds.

Track: Phantom Sage - Kingdom (feat. Miss Lina) [NCS Release]
Music provided by NoCopyrightSounds.

Track: Phantom Sage - Our Lives Past (feat. Emily Stiles) [NCS Release]
Music provided by NoCopyrightSounds.

***********************************************
***********************************************
Thanks for watching & don't forget to like, comment and Subscribe...
***********************************************
***********************************************
Рекомендации по теме
Комментарии
Автор

I forgot some code, this fixes it :

Private Sub As Object, e As EventArgs) Handles SaveToolStripMenuItem.Click
If ind = 1 Then
SaveFileDialog1.FileName = url
ind = 0
End If
SaveFileDialog1.Title = "Save text Files"
= True
= True
SaveFileDialog1.DefaultExt = "txt"
SaveFileDialog1.Filter = "Text files (*.txt)|*.txt|All files (*.*)|*.*"
SaveFileDialog1.FilterIndex = 1
= True

Try
RichTextBox1.SaveFile(SaveFileDialog1.FileName,
Catch ex As Exception
Call SaveAsToolStripMenuItem_Click(Me, e)
End Try
End Sub

and find this:

Private Sub As Object, e As EventArgs) Handles DeleteToolStripMenuItem.Click
If RichTextBox1.SelectionLength > 0 Then
RichTextBox1.Text = ""
End If
End Sub

replace with this:

Private Sub As Object, e As EventArgs) Handles DeleteToolStripMenuItem.Click
Me.RichTextBox1.SelectedText = ""
End Sub

utehstr
Автор

Fantastic! This is just what I was looking for to add to my current project!

DavidWesleyBenner
Автор

can you share the project with cloud as download?

veyselkucukkaraca
Автор

I'm getting the following error: Value of type 'System.IO.Stream' cannot be converted to 'System.IO.StreamReader'. Help!

TamiamiParkFlyers
Автор

Kjum.. Clearness erutha.. Nalaerukkumm..

manjulingam
welcome to shbcf.ru