Solved

ActiveX controls and App.Path

Posted on 1998-04-13
2
297 Views
Last Modified: 2008-03-06
I have and project that is made up of 1 ActiveX control and 1 Standard EXE.  The EXE project uses the ActiveX control.
In the ActiveX control I have the line App.Path in the ActiveX control.  This of course is returning the path of the ActiveX control project not the EXE which is what I want.  How do I get the path of the project that is using the ActiveX control
0
Comment
Question by:Jagar
2 Comments
 
LVL 9

Accepted Solution

by:
Dalin earned 100 total points
ID: 1461109
Jagar,
You should get it by using the App.Path in your standard EXE Project (not inside the ActiveX).
If you need it inside the ActiveX, you can setup a property to pass it to.
Regards
Dalin
0
 
LVL 2

Author Comment

by:Jagar
ID: 1461110
Thanks
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

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…
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

776 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