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

C#

 
QuestionWindows Form from windows service Pin
l.m.k14-Jan-07 21:11
l.m.k14-Jan-07 21:11 
AnswerRe: Windows Form from windows service Pin
Nader Elshehabi14-Jan-07 22:41
Nader Elshehabi14-Jan-07 22:41 
QuestionSending Commands to ATM Pin
Ghous Ahmed14-Jan-07 20:51
Ghous Ahmed14-Jan-07 20:51 
AnswerRe: Sending Commands to ATM Pin
shutterbus15-Jul-09 20:40
shutterbus15-Jul-09 20:40 
QuestionHelp me: how to write into embedded xml file of assembly Pin
vishwa2514-Jan-07 20:32
vishwa2514-Jan-07 20:32 
QuestionGDI+ Regions in depth Pin
Mike Hankey14-Jan-07 20:08
mveMike Hankey14-Jan-07 20:08 
QuestionPlease Help....How to open a file in application? Pin
Lyfkcd14-Jan-07 19:58
Lyfkcd14-Jan-07 19:58 
AnswerRe: Please Help....How to open a file in application? Pin
Seishin#14-Jan-07 21:27
Seishin#14-Jan-07 21:27 
[STAThread]<br />
static void Main(string[] args) {<br />
<br />
	Application.EnableVisualStyles();<br />
	Application.SetCompatibleTextRenderingDefault(false);<br />
	if(args == null || args.Length == 0)<br />
		Application.Run(new Form1());<br />
	else<br />
		Application.Run(new Form1(args[0]));<br />
}


args is the parameter list. if you open app through file the first parameter is the file name.. then you can do whatever you want with it..

life is study!!!

GeneralRe: Please Help....How to open a file in application? Pin
Lyfkcd15-Jan-07 4:34
Lyfkcd15-Jan-07 4:34 
GeneralRe: Please Help....How to open a file in application? Pin
Lyfkcd19-Jan-07 13:40
Lyfkcd19-Jan-07 13:40 
AnswerRe: Please Help....How to open a file in application? Pin
Abisodun15-Jan-07 2:11
Abisodun15-Jan-07 2:11 
GeneralRe: Please Help....How to open a file in application? Pin
Lyfkcd15-Jan-07 4:44
Lyfkcd15-Jan-07 4:44 
GeneralRe: Please Help....How to open a file in application? Pin
Abisodun15-Jan-07 5:41
Abisodun15-Jan-07 5:41 
GeneralRe: Please Help....How to open a file in application? Pin
Lyfkcd15-Jan-07 7:12
Lyfkcd15-Jan-07 7:12 
GeneralRe: Please Help....How to open a file in application? Pin
Abisodun15-Jan-07 10:09
Abisodun15-Jan-07 10:09 
GeneralRe: Please Help....How to open a file in application? Pin
Lyfkcd19-Jan-07 13:37
Lyfkcd19-Jan-07 13:37 
QuestionAccess Denied on Process Pin
lucluv14-Jan-07 18:57
lucluv14-Jan-07 18:57 
QuestionImage Format Conversion Pin
bradpin14-Jan-07 18:55
bradpin14-Jan-07 18:55 
AnswerRe: Image Format Conversion Pin
Christian Graus14-Jan-07 19:18
protectorChristian Graus14-Jan-07 19:18 
GeneralRe: Image Format Conversion Pin
bradpin14-Jan-07 19:35
bradpin14-Jan-07 19:35 
GeneralRe: Image Format Conversion Pin
Russell Jones14-Jan-07 21:43
Russell Jones14-Jan-07 21:43 
GeneralRe: Image Format Conversion Pin
Christian Graus14-Jan-07 22:18
protectorChristian Graus14-Jan-07 22:18 
QuestionMatching an expression in a text file Pin
rachellim14-Jan-07 18:44
rachellim14-Jan-07 18:44 
AnswerRe: Matching an expression in a text file Pin
Christian Graus14-Jan-07 19:19
protectorChristian Graus14-Jan-07 19:19 
QuestionNeed a Multi-CheckBox CheckListBox control Pin
help13714-Jan-07 16:19
help13714-Jan-07 16:19 

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.