Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3599620
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T20:23:25+00:00 2026-05-18T20:23:25+00:00

I am using Visual Studio 2005, (.NET version > 2.0+) to create a windows

  • 0

I am using Visual Studio 2005, (.NET version > 2.0+) to create a windows application.

As per my observation, the relative path of a file can be given in reference of EXE file created in DEBUG folder.
example : if I give path as “images\image.png” the file inside the folder “images” (which inturn located in DEBUG folder) is loaded.

my question is, what if the file exists in a parent folders?
suppose that .. “DEBUG” resides in a “BIN” folder and that has one more folder “IMAGES” which I have to point in my code.
(bin/images/image.png)

this need can be avoided by copying “IMAGES” folder inside debug folder itself or by giving the absolute path, but .. I want to know if there is any way to point Parent folders in relative path

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T20:23:26+00:00Added an answer on May 18, 2026 at 8:23 pm

    doesn’t “..” work? as in, ../../image.png ?

    edit to add some detail: as per MSDN, “A path is also said to be relative if it contains “double-dots”; that is, two periods together in one component of the path. This special specifier is used to denote the directory above the current directory, otherwise known as the “parent directory”.”

    two of these ‘double-dots’ would get you the grand-parent folder, as in my example.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Visual Studio 2005, (.NET version > 2.0+) to create a windows
Using Visual Studio 2005 - C# 2.0, System.Net.WebClient.UploadData(Uri address, byte[] data) Windows Server 2003
I am trying to create an ASP .NET Web Service Application using Visual Studio
I'm new to C# and using C#.Net 2.0 with Visual Studio 2005. How can
I am new to visual studio/asp.net so please bear with me. Using vs 2005
I am using Visual Studio 2005 to make an install. The application has a
I am creating windows installer project using Visual Studio 2005. Is there an option
First, a couple operating parameters: .NET development using Visual Studio 2005/2008 TortoiseSVN client I've
I am working on an ASP.NET web application in Visual Studio 2005. I am
I am wrapping up an application using ASP.NET in Visual Studio 2008. I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.