Solved

Add Activexexe to the  referenfce of a vba application Automaticaly

Posted on 2002-07-18
4
139 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
  • 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

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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

23 Experts available now in Live!

Get 1:1 Help Now