Solved

Add Activexexe to the  referenfce of a vba application Automaticaly

Posted on 2002-07-18
4
145 Views
Last Modified: 2010-05-02
Hi experts:
 I made an activexexe application with vb and this activex
 is to be used in another vba applications I want my  
 activex to be added automaicaly in the reference of the  
 vba application once the user made setup to my  
 application.

Thanks in advance.
0
Comment
Question by:nermeen
[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
4 Comments
 
LVL 2

Expert Comment

by:priya_pbk
ID: 7161752
use late binding and create an object of this dll/exe. It will automatically reference it.

-priya
0
 
LVL 2

Accepted Solution

by:
priya_pbk earned 50 total points
ID: 7161764
I mean this way,

After making your exe(by make exe), in your vb application you can write this(i have written in form load event)This is without putting a reference.

Private Sub Form_Load()
Set p = CreateObject("prtest.cltest")
MsgBox p.mytest
End Sub

'------------------------

Hope this helps

-priya

0
 
LVL 49

Expert Comment

by:DanRollins
ID: 8013939
Hi nermeen,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept priya_pbk's comment(s) as an answer.

nermeen, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 1

Expert Comment

by:Computer101
ID: 8095647
Comment from expert accepted as answer

Computer101
E-E Admin
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…

724 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