Solved

Add Activexexe to the  referenfce of a vba application Automaticaly

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…

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