Click here to Skip to main content
15,885,278 members

Comments by Member 11788039 (Top 6 by date)

Member 11788039 16-Jun-23 8:35am View    
Thank you Andre,
The Caps is no working , however when i apply the rest of the code the result is once i have clicked on the spelling or grammar button a message pops up saying the spelling check is complete and there are no spelling errors, ' this is problematic as even if there are errors it is not working correctly.
Member 11788039 29-Dec-22 10:13am View    
This is what I have tried.

Private Sub btnSave_Click(sender As Object, e As EventArgs) Handles btnSave.Click
Dim SaveDialog As New SaveFileDialog
SaveDialog.Filter = "Word Document (*.docx)|*.docx|Word 97-2003 Document (*.doc)|*.doc|Rich Text File (*.rtf)|*.txt|Plain Text (*.txt)|*.txt"
If SaveDialog.FileName <> "" Then
Dim writer As New StreamWriter(SaveDialog.FileName)
Dim i As Integer = Asc("x") ' Convert to ASCII integer.
Dim x As Char = Chr(i) ' Convert ASCII integer to char.
End If
End Sub
Member 11788039 12-Sep-22 14:58pm View    
I have tried the suggestions the result is the following
1.) the dialog now opens fine, however on saving and re opening none oif the formatting is saved ( still just plain text)

2 when i take RFT created in word (with no content then on opening it this is displayed and hundreds of more line of the same.

{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff31507\deff0\stshfdbch31506\stshfloch31506\stshfhich31506\stshfbi31507\deflang7177\deflangfe7177\themelang7177\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f34\fbidi \froman\fcharset1\fprq2{\*\panose 02040503050406030204}Cambria Math;}
{\f37\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\flomajor\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
{\fdbmajor\f31501\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fhimajor\f31502\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria;}
{\fbimajor\f31503\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\flominor\f31504\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}
{\fdbminor\f31505\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\fhiminor\f31506\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}
{\fbiminor\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f39\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f40\fbidi \froman\fcharset204\fprq2 Times New
Member 11788039 12-Sep-22 3:53am View    
Thank you I will try that
Member 11788039 12-Sep-22 3:20am View    
Thank you and what about the formatting of the document I.E (bold/ indent ECT,,