Click here to Skip to main content
15,886,816 members
Home / Discussions / C#
   

C#

 
GeneralRe: Delayed QueryInterface error Exception!!! Pin
EdgarBM9-Feb-03 21:49
EdgarBM9-Feb-03 21:49 
GeneralNullObjectRef in DataRow Pin
A.Wegierski3-Feb-03 23:07
A.Wegierski3-Feb-03 23:07 
GeneralRe: NullObjectRef in DataRow Pin
andyharman4-Feb-03 3:21
professionalandyharman4-Feb-03 3:21 
GeneralRe: NullObjectRef in DataRow - unfortunately Pin
A.Wegierski4-Feb-03 18:33
A.Wegierski4-Feb-03 18:33 
GeneralRe: NullObjectRef in DataRow Pin
A.Wegierski7-Feb-03 1:55
A.Wegierski7-Feb-03 1:55 
GeneralRe: NullObjectRef in DataRow Pin
Jim Stewart14-Feb-03 17:28
Jim Stewart14-Feb-03 17:28 
GeneralRe: NullObjectRef in DataRow Pin
A.Wegierski16-Feb-03 22:12
A.Wegierski16-Feb-03 22:12 
GeneralSystem.Diagnostics question Pin
jtmtv183-Feb-03 20:00
jtmtv183-Feb-03 20:00 
the following code is a shortend but same version that is in my program. the problem is i want to open wordpad with the command args of a directory so it opens that file on start up. The directory comes from the string FileName in the following code. the problem is FileName contains spaces "in this case My New Text.txt" and the wordpad program will only reconize My beacause it stops at the space's. how can i send word pad the Literal version of the directory string FileName

Jesse M

Code Snippet:

<br />
private void ShortendVoid(string FileName){<br />
System.Diagnostics.Process process = new System.Diagnostics.Process();<br />
System.Diagnostics.ProcessStartInfo pStart = new System.Diagnostics.ProcessStartInfo();		   <br />
							pStart.FileName = @"C:\Program Files\Windows NT\Accessories\wordpad.exe";<br />
//MessageBox.Show(FileName);<br />
   /* the following text contains the problen when i try too send FileName as a CommandLine Arg. The problem is because FileName Possible contains space's so WordPad Stops at the first space that it see's How can i send the arg as a full string.?*/<br />
   pStart.Arguments = Path.GetFullPath(FileName);		  <br />
   process.StartInfo = pStart;<br />
   process.Start();  <br />
   Application.Exit();<br />
}<br />


The Code Project Is Your Friend...
GeneralRe: System.Diagnostics question Pin
Vasudevan Deepak Kumar3-Feb-03 21:51
Vasudevan Deepak Kumar3-Feb-03 21:51 
GeneralRe: System.Diagnostics question Pin
jtmtv183-Feb-03 21:56
jtmtv183-Feb-03 21:56 
QuestionHow can I find Server List? Pin
bania3-Feb-03 19:53
bania3-Feb-03 19:53 
AnswerRe: How can I find Server List? Pin
Vasudevan Deepak Kumar3-Feb-03 22:03
Vasudevan Deepak Kumar3-Feb-03 22:03 
AnswerRe: How can I find Server List? Pin
Vasudevan Deepak Kumar3-Feb-03 22:06
Vasudevan Deepak Kumar3-Feb-03 22:06 
AnswerRe: How can I find Server List? Pin
Mazdak3-Feb-03 23:36
Mazdak3-Feb-03 23:36 
GeneralAnother Problem.... Pin
bania4-Feb-03 0:10
bania4-Feb-03 0:10 
GeneralGet my password from binary password Pin
Mazdak3-Feb-03 9:23
Mazdak3-Feb-03 9:23 
GeneralRe: Get my password from binary password Pin
Furty3-Feb-03 16:11
Furty3-Feb-03 16:11 
GeneralRe: Get my password from binary password Pin
Mazdak3-Feb-03 19:31
Mazdak3-Feb-03 19:31 
GeneralRe: Get my password from binary password Pin
Mazdak3-Feb-03 19:46
Mazdak3-Feb-03 19:46 
GeneralRe: Get my password from binary password Pin
Furty3-Feb-03 22:00
Furty3-Feb-03 22:00 
GeneralRe: Get my password from binary password Pin
Mazdak3-Feb-03 23:36
Mazdak3-Feb-03 23:36 
GeneralRe: Get my password from binary password Pin
Furty4-Feb-03 10:23
Furty4-Feb-03 10:23 
GeneralRe: Get my password from binary password Pin
Furty4-Feb-03 10:37
Furty4-Feb-03 10:37 
GeneralRe: Get my password from binary password Pin
David M. Kean4-Feb-03 10:38
David M. Kean4-Feb-03 10:38 
GeneralRe: Get my password from binary password Pin
Mazdak4-Feb-03 11:27
Mazdak4-Feb-03 11:27 

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.