Solved

Add Activexexe to the  referenfce of a vba application Automaticaly

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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 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…
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…

705 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

15 Experts available now in Live!

Get 1:1 Help Now