Joined: 04 May 2007 Posts: 955 Location: Why do you care?
Posted: Tue Dec 18, 2007 4:06 pm Post subject:
Uhh...
What version of the .NET framework are you using?
Edit:
Try this
Code:
private void Save_Click(object sender, EventArgs e) //Save would be the button name
{
SaveFileDialog sfd = new SaveFileDialog();
sfd.DefaultExt = "txt";
sfd.AddExtension = true;
sfd.FileName = FileName.Text; //Assuming FileName is the name of the textbox with that says "file name here" or whatever
sfd.FileOk += new CancelEventHandler(sfd_FileOk);
sfd.Show();
}
All times are GMT - 6 Hours Goto page Previous1, 2
Page 2 of 2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum