Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Win API / September 2003



Tip: Looking for answers? Try searching our database.

Current Directory

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kwong - 26 Sep 2003 10:50 GMT
Is there any way using API to determine the current directory of an
application software that is running or active?

Thank you
Lofty - 26 Sep 2003 12:49 GMT
I guess it would be a bit obvious to suggest the App.Path property? ;-)

Signature

Neil Lofts
URL: http://www.brainache.demon.co.uk
Check out my music at http://www.mp3.com/Lofty

> Is there any way using API to determine the current directory of an
> application software that is running or active?
>
> Thank you
Randy Birch - 26 Sep 2003 15:48 GMT
Other than your own app using app.path?  No.

Signature

Randy Birch
MVP Visual Basic
http://www.mvps.org/vbnet/
Please respond only to the newsgroups so all can benefit.

: Is there any way using API to determine the current directory of an
: application software that is running or active?
:
: Thank you
Veign - 26 Sep 2003 17:32 GMT
App.Path property

Signature

Veign
Chris Hanscom
http://www.veign.com
Application Design Section
http://www.veign.com/information/application/info_app.html
------

> Is there any way using API to determine the current directory of an
> application software that is running or active?
>
> Thank you
Karl E. Peterson - 26 Sep 2003 22:55 GMT
> Is there any way using API to determine the current directory of an
> application software that is running or active?

If it's not yours?  No.
Signature

[Microsoft Basic: 1976-2001, RIP]

Klaus H. Probst - 27 Sep 2003 09:31 GMT
App.Path = The path from where your executable was loaded.
CurDir$ = the current directory for the process.

Signature

____________________
Klaus H. Probst, MVP
  http://www.vbbox.com/

Please post/reply to the newsgroup(s)

> Is there any way using API to determine the current directory of an
> application software that is running or active?
>
> Thank you
Martin Wildam - 29 Sep 2003 21:57 GMT
If you prefer Windows-API:

Declare Function GetCurrentDirectory Lib "kernel32" Alias
"GetCurrentDirectory" (ByVal nBufferLength As Long, ByVal lpBuffer As
String) As Long

> Is there any way using API to determine the current directory of an
> application software that is running or active?
>
> Thank you
Mohsen - 29 Sep 2003 22:30 GMT
>-----Original Message-----
>Is there any way using API to determine the current directory of an
[quoted text clipped - 3 lines]
>
>you use Function Api That Name is GetCurrentDirectory
it is use Kernel32.dll
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.