Craig

Perth, Australia

failsource.com

Age: 29

Currently studying a Games Technology / Computer Science double degree,
Aug
15
comment Adding a static object to a resource dictionary
If you are aiming at merging it into a resource dictionary you won't need the key. <ResourceDictionary.MergedDictionaries> <x:Static Member="me:Singleton.Instance"/> </ResourceDictionary.MergedDictionaries>
Jul
2
awarded Curious
Apr
29
awarded Notable Question
Oct
9
awarded Popular Question
Sep
19
accepted BackgroundWorker and Deleting large files
Aug
21
answered BackgroundWorker and Deleting large files
Aug
21
comment BackgroundWorker and Deleting large files
Just want to make sure it is really gone mostly. I'm not so worried about it exiting unexpectedly, but the application user may chose to quit the application, not knowing there are files being deleted. I would like to keep it as transparent as possible.
Aug
21
asked BackgroundWorker and Deleting large files
Oct
25
comment C# Format String with double quotes around directories with spaces
@Steve that is really odd :|
Oct
25
accepted C# Format String with double quotes around directories with spaces
Oct
25
comment C# Format String with double quotes around directories with spaces
Excellent, thanks ended up using String command = String.Concat("\"", Path.GetFullPath(fxFile), "\" " , "\"",Path.GetFullPath(outputFile), "\" " + DX11Support + " " + DebugSupport);
Oct
25
comment C# Format String with double quotes around directories with spaces
Thanks, but the files are a dynamic list of files so i can't have the list hard coded. That's why i am trying to get the String.Format working, so i can build the command line args easier.
Oct
25
comment C# Format String with double quotes around directories with spaces
Sorry it may nto be clear above but it is two String i need the output to be "PathOne" "PathTwo" where as this seems to give me PathOne\\PathTwo
Oct
25
comment C# Format String with double quotes around directories with spaces
If i use String.Format(@"\"{0}\"....); It thinks i am saying i want the string \ and i'm following it then with some invalid syntax of {0}\ then a new string at the next "
Oct
25
asked C# Format String with double quotes around directories with spaces
May
14
awarded Nice Question
Jan
1
awarded Student
Jan
1
awarded Supporter
Jan
1
awarded Scholar
Jan
1
accepted Sampling from Normal Map and Diffuse Map in Pixel Shader
1 2 3 4 5