Testa:
Dim iFile As Integer
iFile = FreeFile
Open "C:\foo.txt" For Output As #iFile
Print #1, RichTextBox1.Text
Close #iFile
1 svar · 218 visningar · startad av firstchoice
Hur sparar jag mitt innehåll i RichTextBoxe som ren text?
som ett rent Text Dokument utan formateringar??
Testa:
Dim iFile As Integer
iFile = FreeFile
Open "C:\foo.txt" For Output As #iFile
Print #1, RichTextBox1.Text
Close #iFile