SunQuest
           Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old November 9th, 2003, 12:15 AM
BoscoJones BoscoJones is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 11 BoscoJones User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Get current directory

I am writing a vb program, only my 1 day using vb. Is there a way that the program can get the current path that it is running in?

Say if the program was running in some wierd directory is there a way to have the program get the current directory that it is executing?

I'm sure this is simple, but I am new to vb, sorry.

Reply With Quote
  #2  
Old November 9th, 2003, 01:07 AM
BoscoJones BoscoJones is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 11 BoscoJones User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
App.Path I found it

Reply With Quote
  #3  
Old June 19th, 2008, 12:33 PM
sameerz786 sameerz786 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2008
Posts: 1 sameerz786 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 45 sec
Reputation Power: 0
Quote:
Originally Posted by BoscoJones
App.Path I found it


It works Yaa.
Thanks for your help

Reply With Quote
  #4  
Old June 19th, 2008, 07:41 PM
wwwww wwwww is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Location: Sydney, Australia
Posts: 86 wwwww User rank is Corporal (100 - 500 Reputation Level)wwwww User rank is Corporal (100 - 500 Reputation Level)wwwww User rank is Corporal (100 - 500 Reputation Level)wwwww User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 11 h 24 m 17 sec
Reputation Power: 7
Send a message via MSN to wwwww
CurDir

app.path gets the path of the executable

Reply With Quote
  #5  
Old June 19th, 2008, 09:02 PM
medialint's Avatar
medialint medialint is offline
spirit duplicator
Click here for more information.
 
Join Date: Apr 2004
Location: \\Firecrate\
Posts: 12,195 medialint User rank is General 23rd Grade (Above 100000 Reputation Level)medialint User rank is General 23rd Grade (Above 100000 Reputation Level)medialint User rank is General 23rd Grade (Above 100000 Reputation Level)medialint User rank is General 23rd Grade (Above 100000 Reputation Level)medialint User rank is General 23rd Grade (Above 100000 Reputation Level)medialint User rank is General 23rd Grade (Above 100000 Reputation Level)medialint User rank is General 23rd Grade (Above 100000 Reputation Level)medialint User rank is General 23rd Grade (Above 100000 Reputation Level)medialint User rank is General 23rd Grade (Above 100000 Reputation Level)medialint User rank is General 23rd Grade (Above 100000 Reputation Level)medialint User rank is General 23rd Grade (Above 100000 Reputation Level)medialint User rank is General 23rd Grade (Above 100000 Reputation Level)medialint User rank is General 23rd Grade (Above 100000 Reputation Level)medialint User rank is General 23rd Grade (Above 100000 Reputation Level)medialint User rank is General 23rd Grade (Above 100000 Reputation Level)medialint User rank is General 23rd Grade (Above 100000 Reputation Level)  Folding Points: 230955 Folding Title: Super Ultimate Folder - Level 1Folding Points: 230955 Folding Title: Super Ultimate Folder - Level 1Folding Points: 230955 Folding Title: Super Ultimate Folder - Level 1Folding Points: 230955 Folding Title: Super Ultimate Folder - Level 1Folding Points: 230955 Folding Title: Super Ultimate Folder - Level 1Folding Points: 230955 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 4 Months 2 Weeks 5 Days 10 h 34 m 36 sec
Reputation Power: 2500
The original post five years ago seems to be explicitly asking for the path of the executable ... in this case curdir cannot be relied upon for that
__________________
medialint.com

"Energy has the opportunity to change the climate if it's done right." - Sen. John Ensign, R-Nev. (quoted out of context)

Last edited by medialint : June 19th, 2008 at 09:05 PM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > Get current directory


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway