473,387 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Include existing ActiveX Dll without including it in the setup

Hello

I have created an application which uses an ActiveX DLL from another
vendor. I'm not permited to redistribute the DLL and need to access it
from the location where it is installed (the path may change from one
system to another).

If I set the reference to the DLL it will add it to my application
directory automatically. If I remove it from the setup, the application
will fail.
Creating the setup was a pain in the a** up to now (I'm new in VB.Net)

How can I set the reference to the mentioned component. Is there any
solution?
Thanks for any help
Regards

Manfred
May 22 '07 #1
5 1784

Manfred,
If the control is registered, then you can reference it and just ship the
interop library. The registry should know where it is so you don't need to
store a path to it.
Robin
May 22 '07 #2
Robin

Thank you for your reply.

I'm unsure if the dll is registered. How can I check it. I tried to
check it in VB6 References. It shows up there. I'm unsure because I have
referenced it before in VB.Net.

Another question is the interop.dll

Does this file not contain any parts of the DLL itself? How about
licensing if I distributing such an interop file?

Regards

Manfred

Duracel wrote:
>
Manfred,
If the control is registered, then you can reference it and just ship the
interop library. The registry should know where it is so you don't need to
store a path to it.
Robin

May 22 '07 #3
Manfred <mm@nospam.chwrote in news:e5**************@TK2MSFTNGP04.phx.gbl:
Does this file not contain any parts of the DLL itself? How about
licensing if I distributing such an interop file?
I don't believe the interop contains any DLL code. It's really an interface
file.
May 22 '07 #4
Spam Catcher wrote:
Manfred <mm@nospam.chwrote in news:e5**************@TK2MSFTNGP04.phx.gbl:
Does this file not contain any parts of the DLL itself? How about
licensing if I distributing such an interop file?

I don't believe the interop contains any DLL code. It's really an interface
file.
Thank you.

Good to know. I will run a test and include only the interop files.

There are two of them interop.dllname and AXinterop.dllname

I'm also unsure why there are two?

Regards

Manfred

May 22 '07 #5

One of them is the interface wrapper, the other the control wrapper. If you
just referenced a COM type library for example, you would only get the one.
May 22 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: james | last post by:
I am new to php and need some help getting the session variables into include files. (after-thought, Sorry for the drawn out post but I really, really need help....;) Here's what I'm doing.. ...
9
by: Sarath | last post by:
I am working with an application using ASP, getting below error when i am trying to include new asp include file. _____________________________________________________________________ Microsoft...
12
by: A.M. | last post by:
Hi at all, how can I do to insert into a HTML page a file .txt stored in the same directory of the server where is the html file that must display the text file.txt? Thank you very much P.Pietro
6
by: atv | last post by:
Alright, i have some questions concerning include files en global variables.I hope someone is willing to answer these. 1).Why is it that if i define a global variable in a file, say main.c, and...
5
by: David Mathog | last post by:
One thing that can make porting C code from one platform to another miserable is #include. In particular, the need to either place the path to an included file within the #include statement or to...
2
by: Iouri | last post by:
Hi, How can I create a setup project for the VS2005 application that has an ActiveX control? I added an ActiveX control to the local folder (set CopyLocal property to True) and then created the...
23
by: Big Bill | last post by:
http://www.promcars.co.uk/pages/bonnie.php I don't believe they should be there, can I take them out without stopping the includes from functioning? I'm the (hapless) optimiser on this one... I...
2
by: linuxfedora | last post by:
I have written a C# program which has an activeX control (abc.ocx) in Visual Studio 2005, and used the setup and deployment project to create an setup.exe and setup.msi that act as an installer. ...
0
chandru8
by: chandru8 | last post by:
hi to all iam using vb6.0 i tried to add ActiveX Control Interface Wizard in add-in manager but there is no ActiveX Control Interface Wizard in the add-in manager how to include ActiveX Control...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.