473,809 Members | 2,849 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1806

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.chwr ote in news:e5******** ******@TK2MSFTN GP04.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.chwr ote in news:e5******** ******@TK2MSFTN GP04.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.dllna me

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
1431
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.. I have a php request_form that I use 2 different ways: by itself (url directly to the form) and as an include to be displayed in existing php pages. This form uses POST to another php_script that performs serverside validation and db write. If all...
9
3002
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 VBScript runtime error '800a0006' Overflow: '' ____________________________________________________________________ I am sure that there is no error in the new asp file as if i delete any existing include file then no issues.
12
2599
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
9582
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 i have also other functions defined in that file, i can use the global in all functions, but once i split up the rest of the function in other files, i cannot use the global? Isn't that strange, all the files compiled should be treated as one...
5
2513
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 very carefully define the order in which paths are searched with command line options on the compiler. Both can cause problems, especially when dealing with complex software distributions. It occurs ot me that by extending the C include...
2
2094
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 Setup project. Will it register an ActiveX on the target machine or I have to do it manually. SO far I did not have luck installing an application that has an ActiveX control. Iouri
23
3105
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 have to correct where they've spelled my name wrong too...sigh... BB --
2
2220
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. And i found that when i install the setup in Windows XP, it is okey, the abc.ocx can be installed automatically. But when i try to install the program in Vista. It has problem in registering the ocx during installation, even i have clicked Yes...
0
1068
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 Interface Wizard i found in the net like this 1. Open the project you wish to convert. 2. On the Add-Ins menu, click Add-In Manager. 3. Highlight "VB ActiveX Document Migration Wizard", click the desired behaviors in Load Behavior, and then...
0
9722
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9603
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10391
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10121
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9200
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7664
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6881
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5690
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.