Debug Working Directory

Friday, 20 November 2009 17:35 by isis

Having spent some years working with Microsoft Access, I am new to Visual Studio. I thought I would point out some trivialities that have made this transition bearable maybe even enjoyable!!

Debug Working Directory

When you finally get you project into a suitable state to hopefully viewed by others, you will eventually want to publish your application. If you go into the Properties page for your application and look under Debug option you will see the following:

In the 'Working directory' entry put the directory that you want your project to exist in. If in your code you type:

Public Shared Function GetComboContolList()

Dim doc As XDocument = XDocument.Load(Environment.CurrentDirectory & DOCFILEPATH)

This is the 'Current Directory' of this project. If you don't do this you will find that the project is referring to the debug directory for this application. It also sorts out a lot of confusing messages that the system sends to you, because the system does not know the working directory for this application. Life is a lot easier when this 'Working Directory' is completed!!!

Tags:  
Categories:   VB Language
Actions:   E-mail | Permalink | Comments (35) | Comment RSSRSS comment feed

Comments

January 8. 2010 07:32

Mobilt bredbånd

Me and my friend were arguing about an issue similar to this! Now I know that I was right. lol! Thanks for the information you post.

Mobilt bredbånd

January 8. 2010 20:06

free pictures

I thought it was going to be some boring old post, but it really compensated for my time. I will post a link to this page on my blog. I am sure my visitors will find that very useful.

free pictures

January 9. 2010 16:15

moped insurance

When I originally commented I clicked the "Notify me when new comments are added" checkbox and now each time a comment is added I get four emails with the same comment.
Is there any way you can remove me from that service?
Thanks!

moped insurance

January 9. 2010 17:42

car accident attorney

How-do-you-do, just needed you to know I have added your site to my Google bookmarks because of your extraordinary blog layout. But seriously, I think your site has one of the freshest theme I've came across. It really helps make reading your blog a lot easier.

car accident attorney

January 12. 2010 20:38

how to sell on amazon

Hey - nice blog, just looking around some blogs, seems a pretty nice platform you are using. I'm currently using Wordpress for a few of my sites but looking to change one of them over to a platform similar to yours as a trial run. Anything in particular you would recommend about it?

how to sell on amazon

January 13. 2010 11:14

offshore savings accounts

Resources like the one you mentioned here will be very useful to me! I will post a link to this page on my blog. I am sure my visitors will find that very useful.

offshore savings accounts

January 15. 2010 20:45

acai berries berry detox scams

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me.

acai berries berry detox scams

January 15. 2010 23:37

Astral Travel

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.

Astral Travel

January 16. 2010 07:03

social networking

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon.

social networking

January 20. 2010 11:57

cheap mens watches

Hey - nice blog, just looking around some blogs, seems a pretty nice platform you are using. I'm currently using Wordpress for a few of my sites but looking to change one of them over to a platform similar to yours as a trial run. Anything in particular you would recommend about it?

cheap mens watches

January 20. 2010 18:06

mma pound for pound fighters

Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your posts.

mma pound for pound fighters

January 21. 2010 07:39

Business Promotion Techniques

From low-cost business promotion techniques through web site promotion, ... Want to attract new business but have a small marketing budget or none at all?

Business Promotion Techniques

January 21. 2010 07:40

Business Promotion Techniques

From low-cost business promotion techniques through web site promotion, ... Want to attract new business but have a small marketing budget or none at all?

Business Promotion Techniques

January 24. 2010 17:00

Wind energy

Just wanted to give you a shout from the valley of the sun, great information. Much appreciated.

Wind energy

January 26. 2010 12:24

club penguin

This is a really good read for me, Must admit that you are one of the best bloggers I ever saw.Thanks for posting this informative article.

club penguin

January 30. 2010 19:36

compare mobile phone tariffs

Keep 'em coming... you all do such a great job at such Concepts... can't tell you how much I, for one appreciate all you do!

compare mobile phone tariffs

January 31. 2010 04:45

contractor accountants

I was looking for crucial information on this subject. The information was important as I am about to launch my own portal. Thanks for providing a missing link in my business.

contractor accountants

February 1. 2010 11:15

Home Improvement

This is a really good read for me, Must admit that you are one of the best bloggers I ever saw.Thanks for posting this informative article.

Home Improvement

February 2. 2010 23:06

ekstern backup

Dude.. I am not much into reading, but somehow I got to read lots of articles on your blog. Its amazing how interesting it is for me to visit you very often.

ekstern backup

February 4. 2010 05:11

quilling for beginners

The blog was absolutely fantastic! Lots of great information and inspiration, both of which we all need!

quilling for beginners

February 4. 2010 20:28

taux hypothecaire

Great post! I am just starting out in community management/marketing media and trying to learn how to do it well - resources like this article are incredibly helpful. As our company is based in the US, it?s all a bit new to us. The example above is something that I worry about as well, how to show your own genuine enthusiasm and share the fact that your product is useful in that case.

taux hypothecaire

February 6. 2010 09:30

star real estate

You got a really useful blog I have been here reading for about an hour. I am a newbie and your success is very much an inspiration for me.

star real estate

February 8. 2010 18:04

swing trading

Hey - nice blog, just looking around some blogs, seems a pretty nice platform you are using. I'm currently using Wordpress for a few of my sites but looking to change one of them over to a platform similar to yours as a trial run. Anything in particular you would recommend about it?

swing trading

February 8. 2010 21:00

swing trading

The blog was absolutely fantastic! Lots of great information and inspiration, both of which we all need!

swing trading

February 11. 2010 03:20

hammock swings

I was looking for crucial information on this subject. The information was important as I am about to launch my own portal. Thanks for providing a missing link in my business.

hammock swings

February 14. 2010 03:10

Westview Garage Door Repair

Do you accept guest posts? I would love to write couple articles here.
I was wondering what is up with that weird gravatar??? I know 5am is early and I'm not looking my best at that hour, but I hope I don't look like this! I might however make that face if I'm asked to do 100 pushups. lol

Westview Garage Door Repair

February 14. 2010 13:47

online video conferencing

I was very pleased to find this site.I wanted to thank you for this great read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post.

online video conferencing

February 15. 2010 11:08

rubbermaid food storage

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon.

rubbermaid food storage

February 15. 2010 12:15

shark cordless vacuum

Admiring the time and effort you put into your blog and detailed information you offer! I will bookmark your blog and have my children check up here often. Thumbs up!

shark cordless vacuum

February 22. 2010 21:04

How to sell on ebay

I personally have embraced the new technologies and the CMS platforms, I think the new tools only make the web designs better. I am glad that new technologies are coming out in web design that make things easier, improved, and better looking for design.

How to sell on ebay

February 22. 2010 21:24

Photo Collage

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post

Photo Collage

February 24. 2010 20:22

make money online

Have you ever considered adding more videos to your blog posts to keep the readers more entertained? I mean I just read through the entire article of yours and it was quite good but since I'm more of a visual learner,I found that to be more helpful well let me know how it turns out! I love what you guys are always up too. Such clever work and reporting! Keep up the great works guys I've added you guys to my blogroll. This is a great article thanks for sharing this informative information.. I will visit your blog regularly for some latest post.

make money online

February 26. 2010 17:09

Juliet

You can lead a horse to water but you can't make it drink.

Juliet

February 26. 2010 20:47

cabin bed

I completely agree with the above comment, the internet is with a doubt growing into the most important medium of communication across the globe and its due to sites like this that ideas are spreading so quickly.

cabin bed

February 26. 2010 22:45

rigging Jobs

I admit, I have not been on this webpage in a long time... however it was another joy to see It is such an important topic and ignored by so many, even professionals. I thank you to help making people more aware of possible issues.
Great stuff as usual...

rigging Jobs

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading