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
Raja ramachandran
NA
1
1.5k
save file dialog help
Oct 6 2013 9:51 AM
Greetings Friends,
I have a problem while saving a batch file.
In my program i have a button, when button clicks it need to save the file with extension .bat. I defined it as " SaveFileDialog saveFileDialog1 = new SaveFileDialog();
saveFileDialog1.InitialDirectory = @"C:\";
saveFileDialog1.Title = "";
saveFileDialog1.CheckFileExists = true;
saveFileDialog1.CheckPathExists = true;
saveFileDialog1.DefaultExt = "bat";
saveFileDialog1.Filter = "Batch Files (*.bat)|*.bat"
|All files (*.*)|*.*;
saveFileDialog1.FilterIndex = 2;
saveFileDialog1.RestoreDirectory = true;
if (saveFileDialog1.ShowDialog() == DialogResult.OK)
{
textBox1.Text = saveFileDialog1.FileName;
} "
The dialog box appears but the file is not saving.
please help me.
Reply
Answers (
1
)
How to Insert,Update,Delete one table in join database using
Dictionaty and List assitance requested