TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
spencer20012
NA
20
0
save as
Mar 11 2004 3:31 PM
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
Reply
Answers (
3
)
Object reference not set to an instance of an object.
creating a new