Click here to Skip to main content
15,907,329 members
Home / Discussions / C#
   

C#

 
GeneralRe: Cast an object into a specific type without knowing what type the object is [modified] Pin
arnold_w1-Apr-08 22:57
arnold_w1-Apr-08 22:57 
QuestionHow to check current date falls between start date and end date? Pin
chakran1-Apr-08 3:09
chakran1-Apr-08 3:09 
AnswerRe: How to check current date falls between start date and end date? [modified] Pin
Simon P Stevens1-Apr-08 4:04
Simon P Stevens1-Apr-08 4:04 
AnswerRe: How to check current date falls between start date and end date? Pin
DaveyM691-Apr-08 4:11
professionalDaveyM691-Apr-08 4:11 
GeneralRe: How to check current date falls between start date and end date? Pin
Simon P Stevens1-Apr-08 6:25
Simon P Stevens1-Apr-08 6:25 
GeneralRe: How to check current date falls between start date and end date? Pin
DaveyM691-Apr-08 10:38
professionalDaveyM691-Apr-08 10:38 
QuestionHow use a decimal number from a Commandline Pin
megabrain1-Apr-08 2:17
megabrain1-Apr-08 2:17 
AnswerRe: How use a decimal number from a Commandline Pin
Luc Pattyn1-Apr-08 3:17
sitebuilderLuc Pattyn1-Apr-08 3:17 
Hi,

I would:
- call Environment.GetCommandLineArgs() to get all the parts of the command line
as a string array (the first part will be the path of the executing EXE),
- check the number of elements in that array
- use Decimal.TryParse() to parse the decimal argument

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.


GeneralRe: How use a decimal number from a Commandline Pin
megabrain1-Apr-08 3:32
megabrain1-Apr-08 3:32 
GeneralRe: How use a decimal number from a Commandline Pin
Luc Pattyn1-Apr-08 3:40
sitebuilderLuc Pattyn1-Apr-08 3:40 
GeneralRe: How use a decimal number from a Commandline Pin
J4amieC1-Apr-08 3:58
J4amieC1-Apr-08 3:58 
GeneralRe: How use a decimal number from a Commandline Pin
Luc Pattyn1-Apr-08 4:12
sitebuilderLuc Pattyn1-Apr-08 4:12 
GeneralRe: How use a decimal number from a Commandline Pin
megabrain1-Apr-08 4:32
megabrain1-Apr-08 4:32 
Questionhow to show image during saving data? Pin
samrat.net1-Apr-08 2:12
samrat.net1-Apr-08 2:12 
AnswerRe: how to show image during saving data? Pin
laserbaronen1-Apr-08 2:17
laserbaronen1-Apr-08 2:17 
GeneralRe: how to show image during saving data? Pin
samrat.net1-Apr-08 2:27
samrat.net1-Apr-08 2:27 
Questionnew window refreshing Pin
chaubeyb1-Apr-08 1:47
chaubeyb1-Apr-08 1:47 
GeneralRe: new window refreshing Pin
Eduard Keilholz1-Apr-08 2:07
Eduard Keilholz1-Apr-08 2:07 
GeneralRe: new window refreshing Pin
Pete O'Hanlon1-Apr-08 2:07
mvePete O'Hanlon1-Apr-08 2:07 
GeneralRe: new window refreshing Pin
varun.g1-Apr-08 5:02
varun.g1-Apr-08 5:02 
GeneralDoubt in Object. Equals() method Pin
Darmi1-Apr-08 1:38
Darmi1-Apr-08 1:38 
GeneralRe: Doubt in Object. Equals() method Pin
C1AllenS1-Apr-08 2:32
C1AllenS1-Apr-08 2:32 
GeneralRe: Doubt in Object. Equals() method Pin
carbon_golem1-Apr-08 2:43
carbon_golem1-Apr-08 2:43 
GeneralRe: Doubt in Object. Equals() method Pin
Darmi1-Apr-08 17:14
Darmi1-Apr-08 17:14 
GeneralRe: Doubt in Object. Equals() method Pin
Guffa1-Apr-08 2:48
Guffa1-Apr-08 2:48 

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.