Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to call Form inside a Form Pin
jackyha18-Sep-06 23:45
jackyha18-Sep-06 23:45 
GeneralRe: How to call Form inside a Form Pin
Stefan Troschuetz18-Sep-06 23:52
Stefan Troschuetz18-Sep-06 23:52 
GeneralRe: How to call Form inside a Form Pin
jackyha18-Sep-06 23:57
jackyha18-Sep-06 23:57 
AnswerRe: How to call Form inside a Form Pin
Mostafa Siraj19-Sep-06 12:12
Mostafa Siraj19-Sep-06 12:12 
Questionhow to change a cell value in datagrid Pin
faladrim18-Sep-06 23:11
faladrim18-Sep-06 23:11 
QuestionHow to provide help for console application Pin
zxc8918-Sep-06 22:57
zxc8918-Sep-06 22:57 
AnswerRe: How to provide help for console application Pin
Stefan Troschuetz18-Sep-06 23:24
Stefan Troschuetz18-Sep-06 23:24 
AnswerRe: How to provide help for console application Pin
Green Fuze19-Sep-06 0:11
Green Fuze19-Sep-06 0:11 
the parameters of the Main method are "string[] args".

that means that you receive the arguments the user gives you in the command line (arguments = the words after sample.exe).

if you want to check if you received /? in the command line, simple check what is the string in args[0].

if(args.Length > 0) // check if there are arguments to prevent exception<br />
{<br />
  if(args[0] == "/?")<br />
  {<br />
     // you code<br />
  }<br />
}

AnswerRe: How to provide help for console application Pin
zxc8919-Sep-06 0:40
zxc8919-Sep-06 0:40 
QuestionHow do you get the current active application name ? Pin
CJayMeister18-Sep-06 22:42
CJayMeister18-Sep-06 22:42 
AnswerRe: How do you get the current active application name ? Pin
S. Senthil Kumar19-Sep-06 2:43
S. Senthil Kumar19-Sep-06 2:43 
GeneralRe: How do you get the current active application name ? Pin
CJayMeister19-Sep-06 2:54
CJayMeister19-Sep-06 2:54 
QuestionPrinting options C# Pin
Andrew Mercer18-Sep-06 22:36
Andrew Mercer18-Sep-06 22:36 
QuestionVoice Chat Pin
AB777118-Sep-06 22:06
AB777118-Sep-06 22:06 
AnswerRe: Voice Chat Pin
Mostafa Siraj19-Sep-06 12:16
Mostafa Siraj19-Sep-06 12:16 
GeneralRe: Voice Chat Pin
AB777122-Sep-06 20:25
AB777122-Sep-06 20:25 
QuestionHow to call unmanaged Dll in C# Pin
phijophlip18-Sep-06 22:06
phijophlip18-Sep-06 22:06 
AnswerRe: How to call unmanaged Dll in C# Pin
Christian Graus18-Sep-06 23:49
protectorChristian Graus18-Sep-06 23:49 
AnswerRe: How to call unmanaged Dll in C# Pin
CooperWu19-Sep-06 0:13
CooperWu19-Sep-06 0:13 
Questionhow to filter in datagrid Pin
faladrim18-Sep-06 21:51
faladrim18-Sep-06 21:51 
AnswerRe: how to filter in datagrid Pin
Robert Rohde18-Sep-06 22:16
Robert Rohde18-Sep-06 22:16 
GeneralRe: how to filter in datagrid Pin
faladrim18-Sep-06 22:29
faladrim18-Sep-06 22:29 
GeneralRe: how to filter in datagrid Pin
Robert Rohde19-Sep-06 19:10
Robert Rohde19-Sep-06 19:10 
GeneralRe: how to filter in datagrid Pin
faladrim19-Sep-06 20:47
faladrim19-Sep-06 20:47 
QuestionHow to stop windows service in c# by coding Pin
Rajesh_K_Sharma18-Sep-06 21:46
Rajesh_K_Sharma18-Sep-06 21:46 

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.