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
kobycool68
NA
23
0
SaveFileDialog with c#
Jun 29 2004 11:43 AM
hello, i have a form with many parameters. among others i have a menu item "File" that contain 'open...' and 'Save...' when i choose the 'Save...' option i want to save all my operation so far(it`s mean that if i change any parameter or any control). and when i do open to this file i want to see all !! my changes. /////////////////////////////// for exampl: in my form i have a TextBox, suppose i write anything in the text box and i save it, now i`m close all, init my program again and use 'open' option - now, i want to see my changes in the text box. /////////////////////////////// my 'SaveFileDialog' function look like this: this.saveFileDialog = new SaveFileDialog(); this.saveFileDialog.DefaultExt = "mddb"; this.saveFileDialog.Filter = "MDDB files (*.mddb)|*.mddb|All files (*.*)|*.*" ; this.saveFileDialog.FilterIndex = 2 ; this.saveFileDialog.RestoreDirectory = true ; if(saveFileDialog.ShowDialog() == DialogResult.OK) { if((myStream = saveFileDialog.OpenFile()) != null) { ???? myStream.Close(); } } ? - means mabye there my problem thank you in advanced koby
Reply
Answers (
1
)
Filtering Data (By Parameter) ERRORS
send and receive file over a network