need some help with text formating and data input
WebBrowser1.ShowSaveAsDialog()
Dim ioFile As New StreamReader("C:\test.txt")
Dim ioLine As String ' Going to hold one line at a time
Dim ioLines As String ' Going to hold whole file
ioLine = ioFile.ReadLine
ioLines = ioLine
While Not ioLine = ""
ioLine = ioFile.ReadLine
ioLines = ioLines & vbCrLf & ioLine
End While
Dim TRSpeaker1
TRSpeaker1 = CreateObject("TRReader.TRSpeaker.1")
TRSpeaker1.Speak(ioLines)
WebBrowser1.Focus()
what i would also like to now is how i can automatically save the html document in c:/test.txt without prompting the user to select where the file is saved. also the text isnt really in any decent order and the speech program has trouble with some of the text because it is not properly spaced or in captials when it shouldnt be.
i have found some bits of code from different sites which strips the document of the html tags and arragnes it in a decent order but when i have tried to use this code it doesnt work

