Solved

COM DLL Path

Posted on 2004-09-08
3
281 Views
Last Modified: 2010-08-05
Hello experts,

I have a dll containing a COM object. Inside this DLL I need to load some files, which I know are in the directory, where the DLL is installed. I need to find the path to the DLL.

The current directory (taken with CurDir) is absolutely different (points where VB is installed).

Thanks for your help in advance.
TheAvenger
0
Comment
Question by:TheAvenger
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
fds_fatboy earned 500 total points
ID: 12007874
App.Path
0
 
LVL 10

Expert Comment

by:fds_fatboy
ID: 12008127
Thanks - that's 250 points a word :-)
0
 
LVL 20

Author Comment

by:TheAvenger
ID: 12008165
Well, fast help, good work... It's worth....
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now