System.IO.Directory.Move(@"C:\olddir", @"C:\newdir");
System.IO.Directory.Delete(@"C:\olddir",false);
- ?? 4)
var cleanDir = (@"C:\olddir").Replace('unwantedChar',"");
System.IO.Directory.Move(@"C:\olddir",cleanDir);
System.IO.Directory.Move(@"C:\olddir", @"C:\newdir");
System.IO.Directory.Delete(@"C:\olddir",false);
var cleanDir = (@"C:\olddir").Replace('unwantedChar',"");
System.IO.Directory.Move(@"C:\olddir",cleanDir);
Watch out everybody the discussion police is here..
In dutch it is different. 62 you say " sixty two" but in dutch you say "twee en zestig" = "two and sixty" we also use the metric system :D
the most logic date time format for me is dd-mm-YYYY.
https://developers.google.com/maps/documentation/javascript/reference#Marker[^] You can customize these markers with an image you made..
http://help.arcgis.com/en/webapi/silverlight/[^] this opensource api is really good for showing stuff on the worldmap.
The best part of the fix are the sarcastic oneliners :D
I have changed my logon email. But now I don't recieve my daily newsletter anymore not on any of my emails. What did I do wrong ? I need my daily newsletter :) Regards, Steven
"I was doing some configurations in the cloud" ...
I'm sure that I'm having more crashes with vs2010 then with vs2008. Also my colleges have that impression, I guess I was to soon to upgrade. Especially with wpf, I got one error and the error list got 200 errors that have nothing to do with it and only way to get rid of them is to do a rebuild. Also now my unit test don't work anymore (check three posts above). Guess they have to make some serious service packs...
Visual studio crashes every time when I run a unit test with the exception: Exception details: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.TeamFoundation.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
After restarting: the test results pane has the same error. and when I want to open team explorer I get the error: Microsoft.TeamFoundation.Client.ServiceHostPackage ,Microsoft.TeamFoundation.TeamExplorer, package did not load correctly. ..
After a system reboot I can access team explorer again until I run a unit test and bam, vs crashes .. :(( Can i reinstall the team foundation assembly again, or do I have to do a complete VS reinstall? btw. I did a google search and didn't encounter anyone with this same error.
Yes same here. NOD32 :thumbsup::thumbsup:
And to get the value for ID and Name :
Fi.GetValue(demo);
Is it possible to get friend members thru reflection? I tried :
MyForm.GetType.GetFields()
MyForm.GetType.GetFields(BindingFlags.NonPublic)
MyForm.GetType.GetFields(BindingFlags.NonPublic & BindingFlags.GetField)
MyForm.GetType.GetFields(BindingFlags.NonPublic & BindingFlags.GetField & BindingFlags.Instance)
None succesful.
If you write the hide method yourself. Not with the 2.0 Treeview object...
Clearing all child nodes makes it unclickable, you could remove the child nodes from the node you want to disable and set the backgroundColor property to gray. When you enable the node again you can set the childnodes again and remove the gray color. But this is probably not the best solution....
modified on Friday, August 13, 2010 8:39 AM
I thougth IIF was something special, like if the condition is true ,the false part is never reached. But it's nothing more than this:
Public Function IIF(ByVal condition As Boolean, ByVal truepart As Object, ByVal falsepart As Object) As Object
If condition Then
Return truepart
Else
Return falsepart
End If
End Function
So why can I compile this then? In c# you can't...