Click here to Skip to main content
15,916,462 members
Home / Discussions / C#
   

C#

 
GeneralRe: Parameter is not valid. Pin
Christian Graus22-Apr-08 14:08
protectorChristian Graus22-Apr-08 14:08 
GeneralRe: Parameter is not valid. Pin
Luc Pattyn22-Apr-08 16:37
sitebuilderLuc Pattyn22-Apr-08 16:37 
GeneralRe: Parameter is not valid. Pin
Jordanwb22-Apr-08 13:58
Jordanwb22-Apr-08 13:58 
GeneralRe: Parameter is not valid. Pin
cuongmits22-Apr-08 14:08
cuongmits22-Apr-08 14:08 
GeneralRe: Parameter is not valid. Pin
Christian Graus22-Apr-08 14:10
protectorChristian Graus22-Apr-08 14:10 
GeneralRe: Parameter is not valid. Pin
cuongmits22-Apr-08 14:15
cuongmits22-Apr-08 14:15 
GeneralRe: Parameter is not valid. Pin
cuongmits22-Apr-08 14:18
cuongmits22-Apr-08 14:18 
GeneralRe: Parameter is not valid. Pin
Christian Graus22-Apr-08 14:21
protectorChristian Graus22-Apr-08 14:21 
Path.Combine(Application.StartupPath, "result.bmp")

Of course, your code snippet will still save to C for obvious reasons, but the ExecutablePath contains the filename, too. Path.GetDirectory will strip a filename if you ever need to.

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

GeneralRe: Parameter is not valid. Pin
cuongmits22-Apr-08 14:22
cuongmits22-Apr-08 14:22 
GeneralRe: Parameter is not valid. Pin
Jordanwb22-Apr-08 14:36
Jordanwb22-Apr-08 14:36 
GeneralCalculate a formula Pin
mehrdadc4822-Apr-08 9:24
mehrdadc4822-Apr-08 9:24 
GeneralRe: Calculate a formula Pin
Christian Graus22-Apr-08 12:04
protectorChristian Graus22-Apr-08 12:04 
GeneralRe: Calculate a formula Pin
Mitch F.22-Apr-08 12:09
Mitch F.22-Apr-08 12:09 
QuestionComparing two ArrayLists ? Pin
dennycrane22-Apr-08 8:58
dennycrane22-Apr-08 8:58 
GeneralRe: Comparing two ArrayLists ? Pin
User 665822-Apr-08 9:01
User 665822-Apr-08 9:01 
GeneralRe: Comparing two ArrayLists ? Pin
dennycrane22-Apr-08 9:06
dennycrane22-Apr-08 9:06 
GeneralRe: Comparing two ArrayLists ? [modified] Pin
User 665822-Apr-08 9:15
User 665822-Apr-08 9:15 
GeneralRe: Comparing two ArrayLists ? Pin
dennycrane22-Apr-08 9:35
dennycrane22-Apr-08 9:35 
GeneralRe: Comparing two ArrayLists ? Pin
User 665822-Apr-08 9:49
User 665822-Apr-08 9:49 
GeneralRe: Comparing two ArrayLists ? Pin
Guffa22-Apr-08 10:43
Guffa22-Apr-08 10:43 
GeneralRe: Comparing two ArrayLists ? Pin
dennycrane22-Apr-08 10:57
dennycrane22-Apr-08 10:57 
GeneralRe: Comparing two ArrayLists ? Pin
Christian Graus22-Apr-08 12:06
protectorChristian Graus22-Apr-08 12:06 
GeneralRe: Comparing two ArrayLists ? Pin
Guffa22-Apr-08 12:12
Guffa22-Apr-08 12:12 
AnswerRe: Comparing two ArrayLists ? Pin
Judah Gabriel Himango22-Apr-08 11:52
sponsorJudah Gabriel Himango22-Apr-08 11:52 
GeneralRe: Comparing two ArrayLists ? Pin
dennycrane22-Apr-08 12:25
dennycrane22-Apr-08 12:25 

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.