borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (How to remove duplicate records through code)Next Topic (Serial Communication) New Topic New Poll Post Reply
AndreaVB Forum : VB General : Finding a folder with VBA
Poster Message
iliekater
Level: Master

Registered: 04-02-2005
Posts: 123

icon Finding a folder with VBA

Lately I am using the CurDir statement ( or function or whatever is called) to get a specific folder . Actually I am trying to find the installation path of the program in which I execute the VBA application . Usually , the CurDir statement gives the correct path , but often I get the "My Documents" path ... The truth is that I don't really understand what the current directory is , so most probably the CurDir should not even be used in my case . So , does anyone know how to find the installation path of the program in which a VBA application run ?
In case you wonder , I am using VBA for AutoCAD (so , if you like , you can even provide me the Lisp code instead of the VBA's one !) .
I wish you help me , afterall the program I am making is going to be free , so we should make it !

[Edited by iliekater on 06-12-2006 at 04:33 AM GMT]

06-12-2006 at 12:31 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB General : Finding a folder with VBA
Previous Topic (How to remove duplicate records through code)Next Topic (Serial Communication) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder