directoryinfo
Using DirectoryInfo in C#
If there a more efficient way to do the following: DirectoryInfo di = new DirectoryInfo(@\"c:\\\"); newFileName = Path.Combine(di.FullName, \"MyFile.Txt\");[详细]
2023-01-03 16:21 分类:问答/clr option in c++
Can someone help me find a solution to the following error: \"fatal error C1190: managed targeted code requires a \'/clr\' option\"[详细]
2022-12-31 16:22 分类:问答how do you convert a directoryInfo file to string
Problem is that i cant convert to string Dim path As String = \"..\\..\\..\\Tier1 downloads\\CourseVB\\\"[详细]
2022-12-27 00:09 分类:问答Understanding a boolean on DirectoryInfo.Exists
var fileOpen = new OpenFileDialog(); var clickedOk = fileOpen.ShowDialog(); if (!((bool) clickedOk)) return;[详细]
2022-12-22 18:45 分类:问答.NET - Check if directory is accessible without exception handling
I need to go through various directories on the computer (v开发者_StackOverflow社区ia DirectoryInfo). Some of them aren\'t accessible, and UnauthorizedAccessException occurs. How can I check directory[详细]
2022-12-21 11:57 分类:问答for loop in vb.net add a counter to existing string
I have a for loop which goes like this: for i = 0 as integer to 100 result &= \"Name\" & sqldr(\"name\")[详细]
2022-12-20 19:24 分类:问答how to get my while loop to work?
I have a programme in which I have written three functions, difference (that calculates the difference in numbers between arrays) sum (that totals the array up) and calculate difference which uses the[详细]
2022-12-20 16:38 分类:问答Help finishing MySQL Query?
I have two tables users - id - name - email users_grou开发者_如何学运维ps - user_id - group_id There are a couple more fields but these are the ones I am trying to grab.[详细]
2022-12-19 08:55 分类:问答How do I compare one collection of files to another in c#?
I am just learning C# (have been fiddling with it for about 2 days now) and I\'ve decided that, for leaning purposes, I will rebuild an old app I made in VB6 for syncing files (generally across a netw[详细]
2022-12-13 04:28 分类:问答