Solved

ActiveX controls and App.Path

Posted on 1998-04-13
2
301 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 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

733 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