Save as
in c# using the Save FileDialog option from the toolbox, what code do i need to make a button work in a menu to save a file in a richtextbox. this is what i have so far!
private System.Windows.Forms.SaveFileDialog saveFileDialog1;
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
saveFileDialog1
this.saveFileDialog1.FileName = "doc1";
this.saveFileDialog1.FileOk += new System.ComponentModel.CancelEventHandler(this.saveFileDialog1_FileOk);
private void saveFileDialog1_FileOk(object sender, system.ComponentModel.CancelEventArgs e) {
}
cheers

oblivion_lurksRank #9,026 · 212 reputationPosted Mar 11, 2004, 9:04 PM EST
oblivion_lurksRank #9,026 · 212 reputationPosted Mar 11, 2004, 9:35 PM EST
spencer2001220 reputationPosted Mar 15, 2004, 1:28 AM EST