Click here to Skip to main content
15,921,606 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to include header file in C# project Pin
Daniel Dusek5-Jun-06 2:05
Daniel Dusek5-Jun-06 2:05 
GeneralRe: how to include header file in C# project Pin
Ed.Poore5-Jun-06 2:11
Ed.Poore5-Jun-06 2:11 
GeneralRe: how to include header file in C# project Pin
Kevin McFarlane5-Jun-06 2:26
Kevin McFarlane5-Jun-06 2:26 
GeneralRe: how to include header file in C# project Pin
Daniel Dusek5-Jun-06 2:32
Daniel Dusek5-Jun-06 2:32 
GeneralRe: how to include header file in C# project Pin
Kevin McFarlane5-Jun-06 3:51
Kevin McFarlane5-Jun-06 3:51 
AnswerRe: how to include header file in C# project [modified] Pin
leppie5-Jun-06 8:55
leppie5-Jun-06 8:55 
AnswerRe: how to include header file in C# project [modified] Pin
Daniel Dusek7-Jun-06 2:00
Daniel Dusek7-Jun-06 2:00 
Questionsavefiledialog help ? [modified] Pin
cmpeng345-Jun-06 0:34
cmpeng345-Jun-06 0:34 
hi all,
i place a savefiledialog from toolbox on my form.
with a button click i want to save only 'xls files' with some value (lets say 'x') in the first 4 rows of that excel file.
how can i do this ?
help please.
thanks in advance,
bye.

ps:

saveFileDialog2.Filter = "Excel Files (*.xls)|*.xls|" + "All Files|";
saveFileDialog2.FilterIndex = 1;
saveFileDialog2.ShowDialog();

if (saveFileDialog2.ShowDialog() == DialogResult.OK)
{
MessageBox.Show("The Save button was clicked or the Enter key was pressed" +
"\nThe file would have been saved as " +
saveFileDialog2.FileName);
}
else
MessageBox.Show("The Cancel button was clicked or Esc was pressed");

> what else should i add the code above to be able to save a document ?
> i have to double click on 'save' button to close savedialog. why? how can i do that with one click ?

-- modified at 8:16 Monday 5th June, 2006
AnswerRe: savefiledialog help ? Pin
Ed.Poore5-Jun-06 2:15
Ed.Poore5-Jun-06 2:15 
GeneralMessage Closed Pin
5-Jun-06 2:28
cmpeng345-Jun-06 2:28 
GeneralRe: savefiledialog help ? Pin
Dan Neely5-Jun-06 3:32
Dan Neely5-Jun-06 3:32 
Questiondatagridview problem: change cell type ? [modified] Pin
cmpeng345-Jun-06 0:24
cmpeng345-Jun-06 0:24 
AnswerRe: datagridview problem: change cell type ? Pin
RSindia5-Jun-06 0:35
RSindia5-Jun-06 0:35 
QuestionAdding assembly reference Problem Pin
EngHafez5-Jun-06 0:19
EngHafez5-Jun-06 0:19 
AnswerRe: Adding assembly reference Problem Pin
S. Senthil Kumar5-Jun-06 0:53
S. Senthil Kumar5-Jun-06 0:53 
GeneralRe: Adding assembly reference Problem Pin
EngHafez5-Jun-06 1:15
EngHafez5-Jun-06 1:15 
GeneralRe: Adding assembly reference Problem Pin
S. Senthil Kumar5-Jun-06 1:27
S. Senthil Kumar5-Jun-06 1:27 
QuestionAdd Property in Textbox Pin
Pietro Zizzo4-Jun-06 23:51
Pietro Zizzo4-Jun-06 23:51 
AnswerRe: Add Property in Textbox Pin
S. Senthil Kumar5-Jun-06 0:54
S. Senthil Kumar5-Jun-06 0:54 
GeneralRe: Add Property in Textbox Pin
Pietro Zizzo5-Jun-06 21:22
Pietro Zizzo5-Jun-06 21:22 
QuestionHow to obtain DWG file from OLE object? Pin
sahmad5764-Jun-06 23:50
sahmad5764-Jun-06 23:50 
QuestionAccessing a file Pin
kulile4-Jun-06 23:22
kulile4-Jun-06 23:22 
AnswerRe: Accessing a file Pin
rah_sin4-Jun-06 23:58
professionalrah_sin4-Jun-06 23:58 
AnswerRe: Accessing a file Pin
Guffa5-Jun-06 0:27
Guffa5-Jun-06 0:27 
Questionreports in .NET Pin
ante.mihalj4-Jun-06 23:15
ante.mihalj4-Jun-06 23:15 

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.