-
as seen on Exceptional Code
- Search for 'Exceptional Code'
.NET 4.5 caller info attributes may be one of those features that do not get much airtime, but nonetheless are a great addition to the framework.
These attributes will allow you to programmatically access information about the caller of a given method, more specifically, the code file full path, the…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello everyone :)
I've got a series of filepaths that look something like this:
C:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted
C:\Windows\System32\svchost
C:\Program Files (x86)\Common Files\Steam\SteamService.exe /RunAsService
"C:\Program Files (x86)\Common Files\Steam\SteamService…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
In C#, Whenever i need to get file path more dyanmically, i do something like this
string filePath = System.IO.Path.GetFullPath(@"..\..\TestData\TestFile.xls");
Is there anyway, i can mention same file path in xml file.
<ConfigValue name ="filePath" value="<filepath like above>"/>
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Given a file path such as: \\server\folder_A\folder_B\etc\more.mov
I need a regex that'll give me the last backslash so I can extract the actual file name.
My attempt of "$\\" is not returning anything.
I'm using coldfusion.
Suggestions...?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a column in a database table which contains the filepath for each file in the table. how can I make a treeview in c# which will mimic the filepath column in my database.
here is what a sample filepath column looks like in the column:
jsmith/project1/hello.cs
jsmith/project1/what.cs
jwilliams/project2/hello…
>>> More