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 7645647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T09:59:34+00:00 2026-05-31T09:59:34+00:00

I cannot reaf files from the current directory. If I give it a absolute

  • 0

I cannot reaf files from the current directory. If I give it a absolute path name, works fine.
I get a file not found error, saying
C:\programfiles\Commenfiles\Micrsoftshare\devserver\10.0\stormdoor.html.
A interested fact is that my project is not stored in the folder it says it’s current, the project is stored in
C:\useres\tedpoottel\mydouments\Visual studio 2010\WEbSites\master2

  • 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-31T09:59:35+00:00Added an answer on May 31, 2026 at 9:59 am

    1st question – is this “vb.net” (a Windows program), or “asp.net” (running in a web server)? It makes a difference 🙂

    2nd note: your startup path (e.g. Application.StartupPath()) might not be where you expect.

    Suggestions:

    1) Call Directory.GetCurrentDirectory to see where the program “thinks” it’s running.

    http://msdn.microsoft.com/en-us/library/system.io.directory.getcurrentdirectory%28v=vs.71%29.aspx

    2) Modify your code and/or your project resources as needed

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

Sidebar

Related Questions

i cannot for the life of me get multiline yaml from my locale files
I cannot get the following code to work. #include <stdio.h> // I am not
cannot get the comments to show in actionscript file when running asdoc.. is this
I cannot seem to write to a file. I create the file and directory
Cannot dump Stack Overflow XML file into SQL Server 2008. Could you please explain
I cannot get a two-way bind in WPF to work. I have a string
I cannot get the internet explorer web developer tool bar to work with a
cannot seem to find a way to get change or focusout to fire for
Cannot get to bind Enter to newline-and-indent in Emacs !!! Very annoying. I already
Cannot get my head around the SQL that will return the number of times

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.