tagged [path]

How to add include path in Qt Creator?

How to add include path in Qt Creator? I have a project I'm working on in Qt creator that requires a third-party library. I want to add the headers to the include path for the project. How do I do thi...

16 May at 20:50

How Can I Remove The 'file:\\' From the Return Value of Path.GetDirectoryName() in C#

How Can I Remove The 'file:\\' From the Return Value of Path.GetDirectoryName() in C# output: What's the best way to return only `file:\\` will throw exception when I call `doc.Save(returnPath)` ,howe...

1 Jun at 05:42

C# (non-static) class to represent paths

C# (non-static) class to represent paths I'm looking for a C# class . I would like to use it (instead of strings) as the data type of variables and method arguments (top reasons: type safety, concat-p...

20 Jun at 06:48

In C#, how do you check if a path is virtual or not?

In C#, how do you check if a path is virtual or not? Possible virtual paths: Concrete path: How do you check whether a path is virtual or not in a way that's not prone to failure?

13 Oct at 03:49

Does there exist a method in C# to get the relative path given two absolute path inputs?

Does there exist a method in C# to get the relative path given two absolute path inputs? Does there exist a method in C# to get the relative path given two absolute path inputs? That is I would have t...

1 Nov at 23:58

Path to Powershell.exe (v 2.0)

Path to Powershell.exe (v 2.0) Where is the Powershell (version 2.0) located? What is the path to Powershell.exe? I have Windows Server 2008 and Powershell installed. When I look at this folder: ``` P...

10 Nov at 14:34

Using environment variable in a file path

Using environment variable in a file path I've got an environment variable set that points to a specific folder (call it MYFOLDER for example). When typing in `%MYFOLDER%\SubFolder` into windows explo...

WPF/C#: WPF Path Maker Tool/Sample?

WPF/C#: WPF Path Maker Tool/Sample? I am just wondering if it's possible to create a WPF application that allows users to use a certain pen to plot directions to make a certain path and able to displa...

23 Dec at 02:34

Relative path to absolute path in C#?

Relative path to absolute path in C#? I have xml files that contain href file paths to images (e.g. "....\images\image.jpg"). The hrefs contain relative paths. Now, I need to extract the hrefs to the ...

25 Jan at 16:40

src absolute path problem

src absolute path problem I have an image in and i try to display it in a page with this: but it's not working.The file is actually there and if I try to refer to it with a relative path i got the pic...

1 Mar at 17:9

Getting Project Root Path In Controller ASP.NET MVC?

Getting Project Root Path In Controller ASP.NET MVC? I am using dotlesscss for my css and I remember how to use that but what I am forgetting is how to get the root project path so that I can generate...

5 Mar at 13:0

In C#, how do I combine more than two parts of a file path at once?

In C#, how do I combine more than two parts of a file path at once? To combine two parts of a file path, you can do However, you can't do Is there a simple way to do this?

27 Mar at 19:8

Removing %20 from URI Relative Path

Removing %20 from URI Relative Path I am generating a relative path from 1 directory to another. If the OutputDirectoryName property is a directory containing spaces, the spaces are encoded using %20,...

18 Apr at 17:38

How should I handle windows/Linux paths in c#

How should I handle windows/Linux paths in c# My intention is for my application to run on windows and linux. The application will be making use of a certain directory structure e.g. What would be a ...

22 Apr at 18:25

How do I include a path to libraries in g++

How do I include a path to libraries in g++ I am trying to include the path to extra libraries in my makefile, but I can't figure out how to get the compiler to use that path. so far I have: and I wan...

26 May at 15:37

Using Server.MapPath in external C# Classes in ASP.NET

Using Server.MapPath in external C# Classes in ASP.NET I'm trying to get the absolute path of certain files in a C# class. `Server.MapPath` works great of course for ASPX and their code-behind pages, ...

27 Jul at 19:22

Does anyone know where I can find a simple version of the A* algorithm in php?

Does anyone know where I can find a simple version of the A* algorithm in php? Or version in a similar language. One that's for all types of maps not just 2d.

28 Jul at 17:9

Verifying path equality with .Net

Verifying path equality with .Net What is the best way to compare two paths in .Net to figure out if they point to the same file or directory? 1. How would one verify that these are the same: c:\Some ...

12 Sep at 10:43

WPF How should I evaluate a property path?

WPF How should I evaluate a property path? I am writing a custom control, and I have a property path as string (think `comboBox.SelectedValuePath`). What is the best way in code to evaluate this strin...

18 Sep at 18:15

How to check if one path is a child of another path?

How to check if one path is a child of another path? How to check if one path is a child of another path? Just checking for substring is not a way to go, because there can items such as . and .., etc

11 Nov at 09:26

How to make an absolute path relative to a particular folder?

How to make an absolute path relative to a particular folder? For example, how can I make this relative to this folder if the expected result is

28 Jan at 04:28

An Attempt to attach an auto-named database Error

An Attempt to attach an auto-named database Error "An attempt to attach an auto-named database for file C:\Users\John\documents\visual studio 2010\Projects\PAS\PAS\bin\Debug//PatAddSys.mdf failed. A d...

1 Mar at 01:36

"SystemFolder" in WIX and C#

"SystemFolder" in WIX and C# An installer I have created with WiX installs a DLL using the `SystemFolder` variable, as well as a C# app into another folder. I want to directly reference the DLL from t...

30 Mar at 11:6

C# Set probing privatePath without app.config?

C# Set probing privatePath without app.config? I have a C# application, and to organize its files I have some DLL's in a folder called "Data". I want the EXE to check this folder for the DLL's just li...

27 Apr at 05:31

Create whole path automatically when writing to a new file

Create whole path automatically when writing to a new file I want to write a new file with the [FileWriter](http://docs.oracle.com/javase/1.5.0/docs/api/java/io/FileWriter.html). I use it like this: N...

3 May at 10:39