?
Solved

ActiveX controls and App.Path

Posted on 1998-04-13
2
Medium Priority
?
305 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
Dalin earned 300 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
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…
Suggested Courses

649 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