Click here to Skip to main content
15,898,222 members
Home / Discussions / C#
   

C#

 
AnswerRe: keys events Pin
Stefan Troschuetz30-Sep-06 22:29
Stefan Troschuetz30-Sep-06 22:29 
GeneralRe: keys events Pin
Kola Sokol30-Sep-06 22:36
Kola Sokol30-Sep-06 22:36 
GeneralRe: keys events Pin
Stefan Troschuetz30-Sep-06 22:47
Stefan Troschuetz30-Sep-06 22:47 
GeneralRe: keys events Pin
Kola Sokol30-Sep-06 23:36
Kola Sokol30-Sep-06 23:36 
GeneralRe: keys events Pin
Stefan Troschuetz30-Sep-06 23:55
Stefan Troschuetz30-Sep-06 23:55 
QuestionCheck out if Serial port is used from another application Pin
t_nedelchev30-Sep-06 22:02
t_nedelchev30-Sep-06 22:02 
AnswerRe: Check out if Serial port is used from another application Pin
Stefan Troschuetz30-Sep-06 22:49
Stefan Troschuetz30-Sep-06 22:49 
QuestionShell argument's path problem; "D:\My Documents" vs. "D:\MyDocu~1" Pin
User 96257830-Sep-06 21:52
User 96257830-Sep-06 21:52 
Im making a WinForm GUI for a program that run in the command shell. The problem is that shell program has problems if the input arguments have spaces because after each space it thinks its a new argument. For example:

abc.exe D:\My Documents\myfile.xml
will give an error like Error: invalid command line argument: 'D:\My'

It will work if i use:
abc.exe D:\MyDocu~1\myfile.xml ok

So my question is that how can i get the old style "MyDocu~1" or from an OpenFileDialog.FileName that has "D:\My Documents\myfile.xml". I dont know the name of the style so i called it "old style"

The shell program has an output argument that will send the resulting file to that directory but i will have the same problem as the input file. I just may have to use the OpenFileDialog with File.Copy to copy the file to my program's directory and move with File.Move the resulting file to the same directory as the input file using the file path from the OpenFileDialog.

modified 16-May-21 21:01pm.

AnswerRe: Shell argument's path problem; "D:\My Documents" vs. "D:\MyDocu~1" Pin
Stefan Troschuetz30-Sep-06 22:40
Stefan Troschuetz30-Sep-06 22:40 
AnswerRe: Shell argument's path problem; "D:\My Documents" vs. "D:\MyDocu~1" Pin
S. Senthil Kumar1-Oct-06 9:39
S. Senthil Kumar1-Oct-06 9:39 
QuestionSimple DataGridView Question Pin
dy1330-Sep-06 18:41
dy1330-Sep-06 18:41 
AnswerRe: Simple DataGridView Question Pin
LongRange.Shooter3-Oct-06 8:16
LongRange.Shooter3-Oct-06 8:16 
QuestionRegarding Event handling on MicroSoft WebBrowser Control in .Net 1.x (AxSHDocVw.AxWebBrowser) Pin
Mystic_30-Sep-06 12:15
Mystic_30-Sep-06 12:15 
QuestionQueryContinueDrag problem Pin
e-laj30-Sep-06 11:21
e-laj30-Sep-06 11:21 
GeneralWall Street Programming Pin
Andrey Butov30-Sep-06 10:55
Andrey Butov30-Sep-06 10:55 
Questiondata from dataset to array Pin
Amar Chaudhary30-Sep-06 8:26
Amar Chaudhary30-Sep-06 8:26 
AnswerRe: data from dataset to array Pin
Amar Chaudhary30-Sep-06 8:32
Amar Chaudhary30-Sep-06 8:32 
AnswerI found a bug in .net Pin
Amar Chaudhary30-Sep-06 10:11
Amar Chaudhary30-Sep-06 10:11 
GeneralRe: I found a bug in .net Pin
Amar Chaudhary30-Sep-06 10:15
Amar Chaudhary30-Sep-06 10:15 
QuestionI have a strange with my computers. I chose C# because that is what I mostly do! Pin
Just me at will_george...something30-Sep-06 7:08
Just me at will_george...something30-Sep-06 7:08 
Questionredirecting output from an unmanaged console application Pin
erikash30-Sep-06 5:25
erikash30-Sep-06 5:25 
AnswerRe: redirecting output from an unmanaged console application Pin
umseker30-Sep-06 9:43
umseker30-Sep-06 9:43 
AnswerRe: redirecting output from an unmanaged console application Pin
S. Senthil Kumar1-Oct-06 9:41
S. Senthil Kumar1-Oct-06 9:41 
QuestionFormatting a single datagridview cell??? Pin
printscreen1234530-Sep-06 4:40
printscreen1234530-Sep-06 4:40 
AnswerRe: Formatting a single datagridview cell??? Pin
LongRange.Shooter3-Oct-06 8:22
LongRange.Shooter3-Oct-06 8:22 

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.