Re: Richtextbox.SaveFile(path) not saved completly Programming Software Development by lfeuer Are you using the SaveFile method like this? richTextBox1.SaveFile("C:\\MyDocument.rtf", RichTextBoxStreamType.RichText) wx.RichTextCtrl.SaveFile Programming Software Development by dougn Hi, Is it possible to save the contents of a RichTextCtrl with the formatting? I'm writing a text editor to learn wxpython and when I use the SaveFile method it saves the data as plain text. PrintFile works the same. Doug Richtextbox.SaveFile(path) not saved completly Programming Software Development by bhagawatshinde Hi guys, I have save file in rtf from Richtextbox (okay it saves). But when i open this file manually it's asking me to save changes but i am not changed or edit anything. why this happens ? Is SaveFile() doesn't save file properly. Re: wx.RichTextCtrl.SaveFile Programming Software Development by richieking [CODE]wx.TextCtrl(panel,-1,style=wx.TE_MULTILINE|wx.TE_RICH2)[/CODE]wxpython will save textctrl as text format. It will keep basic formating like indentaions,spaces, etc. But to save to doc,docx or other format. You will have to convert to that format. ;) Re: wx.RichTextCtrl.SaveFile Programming Software Development by dougn Ok, well that is disappointing because I made a very powerful and useless editor. However, the purpose was to learn to write a GUI in wxpython and I accomplished that goal. I like wxpython a lot more than tkinter, now. Thanks, Doug Re: Richtextbox.SaveFile(path) not saved completly Programming Software Development by bhagawatshinde Yes lfeuer Please help me in upload code Programming Web Development by UAEU Student ….out.println("saveFile=" + saveFile); saveFile = saveFile.substring(saveFile.lastIndexOf("\\")+ 1,saveFile.indexOf("\"")); System.out.println("saveFile" + saveFile); saveFile = file.substring… File Upload using jsp Programming Web Development by josiefrut ….out.println("saveFile=" + saveFile); // saveFile = saveFile.substring(saveFile.lastIndexOf("\\") + 1 , saveFile.indexOf("\"")); // System.out.println("saveFile" + saveFile); // saveFile = file.substring… macro building program help Programming Software Development by TheBeast32 … strcat(FileName, ".txt"); std::ofstream SaveFile(FileName); SaveFile.close(); cout << "Type 'r….x < 10) { std::ofstream SaveFile(FileName, ios::app); SaveFile << "000" <…break; case 'q': return 0; break; case 'p': SaveFile.close(); std::ifstream ReadFile(FileName); TempInt = InputInt = 0;… Re: macro building program help Programming Software Development by Dave Sinkula …; strcat(FileName, ".txt"); std::ofstream SaveFile(FileName); SaveFile.close(); cout << "Type 'r… break; case 'q': return 0; break; case 'p': SaveFile.close(); std::ifstream ReadFile(FileName); TempInt = InputInt = 0; … Help with saving text using an RTB control Programming Software Development by TechSupportGeek … ElseIf SaveText.FilterIndex = 2 Then RichTextBox1.SaveFile(SaveText.FileName, RichTextBoxStreamType.PlainText) Me.Text …ElseIf SaveText.FilterIndex = 3 Then RichTextBox1.SaveFile(SaveText.FileName, RichTextBoxStreamType.PlainText) Me.Text … file upload using multipart Programming Web Development by coervivekmca saveFile.toString()); saveFile = saveFile.substring(0, saveFile.indexOf("\n")); //out.print("FileName:" + saveFile.toString()); saveFile = saveFile.substring(saveFile….lastIndexOf("\\") + 1,saveFile.indexOf("\"")); … [pyqt] QFileDialog Issue Programming Software Development by regomodo … = 0 def saveFile(self): saveFile = QtGui.QFileDialog.getSaveFileName() print saveFile saveFile = saveFile.replace(" ","\ ") saveFile = saveFile.replace("(","\(") saveFile = saveFile.replace(")"… error.. Programming Web Development by farahshafilla …indexOf("filename=\"") + 10); saveFile = saveFile.substring(saveFile.lastIndexOf("\\")+ 1,saveFile.indexOf("\"")); int lastIndex = …quot;filename=\"") + 10); 22: saveFile = saveFile.substring(saveFile.lastIndexOf("\\")+ 1,saveFile.indexOf("\"")); 23: int lastIndex … Upload File in jsp Programming Web Development by rhyll07 …;filename=\"") + 10); saveFile = saveFile.substring(0, saveFile.indexOf("\n")); saveFile = saveFile.substring(saveFile.lastIndexOf("\\") + 1,saveFile.indexOf("\"")); int… java.lang.ArrayIndexOutOfBoundsException: 2 Programming Web Development by madristaa … 10); saveFile = saveFile.substring(0, saveFile.indexOf("\n")); saveFile = saveFile.substring(saveFile.lastIndexOf("\\") + 1,saveFile.indexOf("\&…getRealPath("/"); FileOutputStream fileOut = new FileOutputStream(path + saveFile); fileOut.write(dataBytes, startPos, (endPos - startPos)); … java.lang.IndexOutOfBoundsException Programming Web Development by wolwayne …;filename=\"") + 10); saveFile = saveFile.substring(0, saveFile.indexOf("\n")); saveFile = saveFile.substring(saveFile.lastIndexOf("\\") + 1,saveFile.indexOf("\"")); int… Problem with fstream write() function Programming Software Development by yoni0505 … 169, &saveFile); //player silver writeInt(PSilver, 171, &saveFile); //player gold writeInt(PGold, 173, &saveFile); //player platinum …193, &saveFile); //bank gold writeInt(BGold, 195, &saveFile); //bank platinum writeInt(BPlatinum, 197, &saveFile); //close file saveFile.close(); }[/… Re: Help with saving text using an RTB control Programming Software Development by codeorder …;) Then '// determine if a .RTF File. RichTextBox1.SaveFile(sfd.FileName, RichTextBoxStreamType.RichText) Else RichTextBox1.SaveFile(sfd.FileName, RichTextBoxStreamType.PlainText) End If RichTextBox1… Re: error.. Programming Web Development by javaAddict … line 22[/B] [B]22[/B]: saveFile = saveFile.[B]substring[/B](saveFile.lastIndexOf("\\")+ 1,saveFile.indexOf("\"")); java.lang.[B… main java file what you are trying to accomplish with saveFile.substring Also I noticed that you connect to the database… Help with correct syntax of several functions Programming Software Development by moorekwl92 …cout << backwards[i]; } int SaveFile() { ofstream savefile; savefile.open(save); savefile <<"Your sentence: "<…gt;> save; (system("cls")); SaveFile(); cout<<"You have saved the … Upload Photo to Amazon-S3 Programming Web Development by gahhon …;filename=\"") + 10); saveFile = saveFile.substring(0, saveFile.indexOf("\n")); saveFile = saveFile.substring(saveFile.lastIndexOf("\\") + 1, saveFile.indexOf("\"")); int… Re: [pyqt] QFileDialog Issue Programming Software Development by woooee …there errors? If so what are they? The saveFile function would be the first place to look. …What does "print saveFile" display? Also, it is bad form …I looked at was "self.im_z.save(saveFile)" to see what ".save" …add some print statements to self.im_z.save(saveFile), where ever it is, so you can… Re: error.. Programming Web Development by javaAddict … page /upload_page.jsp at line 22 ...... 22: saveFile = saveFile.substring(saveFile.lastIndexOf("\\")+ 1,saveFile.indexOf("\"")); ............ java.lang.StringIndexOutOfBoundsException: String… Re: [pyqt] QFileDialog Issue Programming Software Development by regomodo "self.im_z.save(saveFile)" is a standard Python Imaging Library function. You are … mention) "self.im_z" to the a file "saveFile" I didn't know that having variables and functions… Questions on using the STL list sort method Programming Software Development by Afupi … //Create a variable of ofstream type names saveFile ofstream saveFile; //Open standings txt file saveFile.open("standings.txt"); //Create an…division << endl; } //Flush and Close txt file saveFile.flush(); saveFile.close(); } void Standings::printStandings() { list<Records>::… Re: Questions on using the STL list sort method Programming Software Development by Afupi … variable of ofstream type names saveFile ofstream saveFile; //Open standings txt file saveFile.open("dummy.txt"…lt;< endl; } //Flush and Close txt file saveFile.flush(); saveFile.close(); } //*********************************************************** // Function Name:printStandings // Purpose: … "embedded statement cannot be a declaration or labled statement" Programming Software Development by trippinz …Append("\n"); } SaveFileDialog SaveFile = new SaveFileDialog(); SaveFile.FileName = "My Bio Creation"; SaveFile.Filter = "Text Files … try { System.IO.StreamWriter Write = new System.IO.StreamWriter(SaveFile.FileName); //Write.Write(textBox1, textBox2, textBox3, textBox4, textBox5,… Missing return statements; revisions! Programming Software Development by askylitcity …(toMatch).concat("</u")); } String saveFile = "test1.html"; saveDoc(contents, saveFile); } public static String reverse(String webpage) { String… help with VB 2010 txt file save Programming Software Development by sylvester3 … please The code i used: [CODE] Dim SaveFile As New SaveFileDialog SaveFile.FileName = "" SaveFile.Filter = "Text Files (*.txt)|*.txt"…