Click here to Skip to main content
16,005,473 members
Home / Discussions / C#
   

C#

 
GeneralRe: Synchronizing the system clock Pin
Christian Graus1-Jun-07 23:18
protectorChristian Graus1-Jun-07 23:18 
GeneralRe: Synchronizing the system clock Pin
Sathesh Sakthivel2-Jun-07 5:35
Sathesh Sakthivel2-Jun-07 5:35 
AnswerRe: Synchronizing the system clock Pin
Muhammad Qasim Pasta1-Jun-07 23:58
Muhammad Qasim Pasta1-Jun-07 23:58 
QuestionFor all of you thank you. Pin
M. J. Jaya Chitra2-Jun-07 0:15
M. J. Jaya Chitra2-Jun-07 0:15 
QuestionRe: Synchronizing the system clock Pin
M. J. Jaya Chitra2-Jun-07 0:21
M. J. Jaya Chitra2-Jun-07 0:21 
QuestionHow to implement windows application with OPEN FILE DIALOG & SAVE FILE DIALOG Pin
nareshss1-Jun-07 18:54
nareshss1-Jun-07 18:54 
AnswerRe: How to implement windows application with OPEN FILE DIALOG & SAVE FILE DIALOG Pin
Christian Graus1-Jun-07 20:17
protectorChristian Graus1-Jun-07 20:17 
GeneralRe: How to implement windows application with OPEN FILE DIALOG & SAVE FILE DIALOG Pin
nareshss1-Jun-07 21:31
nareshss1-Jun-07 21:31 
sssss


Ive done upto open dialog it will gies the path ...
but for the sae dialog am not getting the path there ....
and i cant able to save the file to desired forder ...

my code is .......



For Opendailog


OpenFileDialog fdlg = new OpenFileDialog();
SaveFileDialog dlg = new SaveFileDialog();
fdlg.Title = "Browse any file from here ";
fdlg.InitialDirectory = @"c:/Resume";
fdlg.Filter = "All files (*.*)|*.*|All files (*.*)|*.*";
fdlg.FilterIndex = 2;
fdlg.RestoreDirectory = true;
if (fdlg.ShowDialog() == DialogResult.OK)
{
textBox1.Text = fdlg.FileName;

}




for Savedailog




saveFileDialog1.Title = "Specify Destination Filename";
saveFileDialog1.Filter = "Text Files|*.txt";
saveFileDialog1.OverwritePrompt = true;
saveFileDialog1.FilterIndex = 1;


if (saveFileDialog1.ShowDialog() != DialogResult.Cancel)
{
textBox1.Text = saveFileDialog1.FileName;
}




this is wat ive done till now ...
but iam not gettign the path there at textbox1 when iam going to save the file ...


Plz help me .....
bye
naresh.s.s

AnswerRe: How to implement windows application with OPEN FILE DIALOG & SAVE FILE DIALOG Pin
M. J. Jaya Chitra1-Jun-07 20:46
M. J. Jaya Chitra1-Jun-07 20:46 
GeneralRe: How to implement windows application with OPEN FILE DIALOG & SAVE FILE DIALOG Pin
nareshss1-Jun-07 21:30
nareshss1-Jun-07 21:30 
AnswerRe: How to implement windows application with OPEN FILE DIALOG & SAVE FILE DIALOG Pin
Muhammad Qasim Pasta2-Jun-07 0:06
Muhammad Qasim Pasta2-Jun-07 0:06 
AnswerRe: How to implement windows application with OPEN FILE DIALOG & SAVE FILE DIALOG Pin
sujithkumarsl1-Jun-07 20:48
sujithkumarsl1-Jun-07 20:48 
Questionturn off Server.exe Pin
vunhat1-Jun-07 18:37
vunhat1-Jun-07 18:37 
AnswerRe: turn off Server.exe Pin
xibeifeijian1-Jun-07 18:45
xibeifeijian1-Jun-07 18:45 
GeneralRe: turn off Server.exe Pin
vunhat2-Jun-07 3:49
vunhat2-Jun-07 3:49 
GeneralRe: turn off Server.exe Pin
zooozxxxz2-Jun-07 5:35
zooozxxxz2-Jun-07 5:35 
GeneralRe: turn off Server.exe Pin
vunhat2-Jun-07 10:19
vunhat2-Jun-07 10:19 
AnswerRe: turn off Server.exe Pin
Dave Kreskowiak2-Jun-07 9:31
mveDave Kreskowiak2-Jun-07 9:31 
GeneralRe: turn off Server.exe Pin
vunhat2-Jun-07 11:06
vunhat2-Jun-07 11:06 
GeneralRe: turn off Server.exe Pin
vunhat2-Jun-07 11:17
vunhat2-Jun-07 11:17 
AnswerRe: turn off Server.exe Pin
Hesham Yassin6-Jun-07 8:36
Hesham Yassin6-Jun-07 8:36 
Questionfind path Pin
vunhat1-Jun-07 18:07
vunhat1-Jun-07 18:07 
AnswerRe: find path Pin
xibeifeijian1-Jun-07 18:46
xibeifeijian1-Jun-07 18:46 
GeneralRe: find path Pin
vunhat2-Jun-07 10:39
vunhat2-Jun-07 10:39 
GeneralRe: find path Pin
vunhat2-Jun-07 11:52
vunhat2-Jun-07 11:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.