Dim speller As Object
Dim txt As String
Dim new_txt As String
Dim pos As Integer
speller = CreateObject("Word.Basic")
speller.FileNew()
speller.Insert(RichTextBox1.Text)
speller.ToolsSpelling()
speller.EditSelectAll()
txt = speller.Selection()
If RSet(txt, 1) = vbCr Then _
txt = LSet(txt, Len(txt) - 1)
new_txt = ""
pos = InStr(txt, vbCr)
Do While pos > 0
new_txt = new_txt & LSet(txt, pos - 1) & vbCrLf
txt = RSet(txt, Len(txt) - pos)
pos = InStr(txt, vbCr)
Loop
new_txt = new_txt & txt
speller.FileExit(2)
RichTextBox1.Text = new_txt
miércoles, 7 de septiembre de 2016
Home »
» ORTOGRAFÍA .NET
ORTOGRAFÍA .NET
septiembre 07, 2016
No comments
Related Posts:
PRACTICAS DE WORD BASICOHAGA CLICK AQUI PARA VISUALIZAR LAS PRACTICAS … Read More
TAREA DE WORD - PRIMERO Y SEGUNDO INFORMATICA A Y BHAGA CLICK PARA VER LA TAREA… Read More
ATAJOS DEL TECLADO DE GOOGLE CHROME Ctrl + N: Abrir ventana nueva. Ctrl + Mayús + N: Abrir ventana nueva en modo incógnito. Ctrl + T: Abrir pestaña nueva e ir a ella. Ctrl + Mayús + T: Reabrir una pestaña recién cerrada e ir a ella. Ctrl + Ta… Read More
PRACTICAS DE WORD AVANZADOHAGA CLICK AQUI PARA VER LOS DOCUMENTOS… Read More
ATAJOS DEL TECLADO PARA MICROSOFT WORD 2013 F7 Revisar ortografía y gramática CTRL+E Seleccionar todo el texto CTRL+N Aplicar negrita al texto seleccionado o activar negrita CTRL+K Aplicar cursiva al texto seleccionado o activar cursiva CTRL+S Aplicar su… Read More
0 comentarios:
Publicar un comentario