473,738 Members | 9,555 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

activex registration/packaging

Hey,

I have spent several days trying to find out how to do something, and
i don't know if I am blind or what, but I can not find it. I am
developing a web app and I need it to run an activex control. I have
developed the control and it runs great on my development system
(VS2005, C#, IE6, Win2000Pro, output is a DLL) because as far as I can
tell, the IDE registers the DLL. The problem is packaging it so it
registers itself on any other computer. I have tried publishing the
DLL by itself, packaging it in a CAB by itself, packaging it in in a
CAB with a INF file. So far, the closest it has come to registering
and installing is getting the dll to show up in "Downloaded Program
Files" and the CLSID shows up in the registry under "code store
database\distri bution units". Every time I load the page it adds new
entries in the registry and adds a CONFLICT.# folder to the
"Downloaded Program Files" but still will not load the control. What
is wrong? or how do you register a dll through IE?

It is not a security issue; I have allowed it install unsigned
controls. I am at the end of my rope having spent more than a week on
this that should have been done in about a day. I can send you any of
this stuff to take a look at if that will help. Any help you give
will be greatly appreciated, anything.

Thanks again,
-Seth

Jun 12 '07 #1
4 2431
you don't give enough info, what does the object tag look like, does the
dll have and dependencies? what is the dll written in? are the runtime
libraries installed on the client?
which version and service pack of IE? Later versions are more
restrictive about downloading and installing unsigned and unsafe control.

-- bruce (sqlwork.com)
Mr Seth T wrote:
Hey,

I have spent several days trying to find out how to do something, and
i don't know if I am blind or what, but I can not find it. I am
developing a web app and I need it to run an activex control. I have
developed the control and it runs great on my development system
(VS2005, C#, IE6, Win2000Pro, output is a DLL) because as far as I can
tell, the IDE registers the DLL. The problem is packaging it so it
registers itself on any other computer. I have tried publishing the
DLL by itself, packaging it in a CAB by itself, packaging it in in a
CAB with a INF file. So far, the closest it has come to registering
and installing is getting the dll to show up in "Downloaded Program
Files" and the CLSID shows up in the registry under "code store
database\distri bution units". Every time I load the page it adds new
entries in the registry and adds a CONFLICT.# folder to the
"Downloaded Program Files" but still will not load the control. What
is wrong? or how do you register a dll through IE?

It is not a security issue; I have allowed it install unsigned
controls. I am at the end of my rope having spent more than a week on
this that should have been done in about a day. I can send you any of
this stuff to take a look at if that will help. Any help you give
will be greatly appreciated, anything.

Thanks again,
-Seth
Jun 12 '07 #2
RIght now the object tag looks like....

<object id="ctlDisplay1 " classid="CLSID: AB226553-9C20-3DEF-A52B-
D264BB802855" codebase="Activ eX.cab#version= 1,0,0,0"
style="width: 879px; height: 525px" type="applicati on/x-
oleobject">
<param name="ParamMoni torName" value="608" />
<param name="ParamIgno reMinutes" value="60" />
<param name="ParamUpda teFreq" value="5" />
<param name="ParamSWRe questInterval" value="60" />
<param name="ParamDBAl armTime" value="7" />
<b>ActiveX Controls are not supported under the current
settings.</b>
</object>

the dll is in vb.NET 2.0 and all of its references are included
in .NET as far as I can tell (a .NET adodb might not be, but I assume
it is), the .NET framework 2.0 is installed on all the clients. I
know that IE7 restricts a lot, but I just want to get it working on
IE6 before I buy a certificate. So to answer that question..IE6
SP2...6.0.2900. 2180.xpsp_sp2_g dr.070227-2254.

Thanks
-Seth

On Jun 12, 5:58 pm, bruce barker <nos...@nospam. comwrote:
you don't give enough info, what does the object tag look like, does the
dll have and dependencies? what is the dll written in? are the runtime
libraries installed on the client?

which version and service pack of IE? Later versions are more
restrictive about downloading and installing unsigned and unsafe control.

-- bruce (sqlwork.com)

Mr Seth T wrote:
Hey,
I have spent several days trying to find out how to do something, and
i don't know if I am blind or what, but I can not find it. I am
developing a web app and I need it to run an activex control. I have
developed the control and it runs great on my development system
(VS2005, C#, IE6, Win2000Pro, output is a DLL) because as far as I can
tell, the IDE registers the DLL. The problem is packaging it so it
registers itself on any other computer. I have tried publishing the
DLL by itself, packaging it in a CAB by itself, packaging it in in a
CAB with a INF file. So far, the closest it has come to registering
and installing is getting the dll to show up in "Downloaded Program
Files" and the CLSID shows up in the registry under "code store
database\distri bution units". Every time I load the page it adds new
entries in the registry and adds a CONFLICT.# folder to the
"Downloaded Program Files" but still will not load the control. What
is wrong? or how do you register a dll through IE?
It is not a security issue; I have allowed it install unsigned
controls. I am at the end of my rope having spent more than a week on
this that should have been done in about a day. I can send you any of
this stuff to take a look at if that will help. Any help you give
will be greatly appreciated, anything.
Thanks again,
-Seth- Hide quoted text -

- Show quoted text -

Jun 13 '07 #3
I have removed the adodb references and still nothing
RIght now the object tag looks like....

<object id="ctlDisplay1 " classid="CLSID: AB226553-9C20-3DEF-A52B-
D264BB802855" codebase="Activ eX.cab#version= 1,0,0,0"
style="width: 879px; height: 525px" type="applicati on/x-
oleobject">
<param name="ParamMoni torName" value="608" />
<param name="ParamIgno reMinutes" value="60" />
<param name="ParamUpda teFreq" value="5" />
<param name="ParamSWRe questInterval" value="60" />
<param name="ParamDBAl armTime" value="7" />
<b>ActiveX Controls are not supported under the current
settings.</b>
</object>

the dll is in vb.NET 2.0 and all of its references are included
in .NET as far as I can tell (a .NET adodb might not be, but I assume
it is), the .NET framework 2.0 is installed on all the clients. I
know that IE7 restricts a lot, but I just want to get it working on
IE6 before I buy a certificate. So to answer that question..IE6
SP2...6.0.2900. 2180.xpsp_sp2_g dr.070227-2254.

Thanks
-Seth

On Jun 12, 5:58 pm, bruce barker <nos...@nospam. comwrote:
you don't give enough info, what does the object tag look like, does the
dll have and dependencies? what is the dll written in? are the runtime
libraries installed on the client?
which version and service pack of IE? Later versions are more
restrictive about downloading and installing unsigned and unsafe control.
-- bruce (sqlwork.com)
Mr Seth T wrote:
Hey,
I have spent several days trying to find out how to do something, and
i don't know if I am blind or what, but I can not find it. I am
developing a web app and I need it to run an activex control. I have
developed the control and it runs great on my development system
(VS2005, C#, IE6, Win2000Pro, output is a DLL) because as far as I can
tell, the IDE registers the DLL. The problem is packaging it so it
registers itself on any other computer. I have tried publishing the
DLL by itself, packaging it in a CAB by itself, packaging it in in a
CAB with a INF file. So far, the closest it has come to registering
and installing is getting the dll to show up in "Downloaded Program
Files" and the CLSID shows up in the registry under "code store
database\distri bution units". Every time I load the page it adds new
entries in the registry and adds a CONFLICT.# folder to the
"Downloaded Program Files" but still will not load the control. What
is wrong? or how do you register a dll through IE?
It is not a security issue; I have allowed it install unsigned
controls. I am at the end of my rope having spent more than a week on
this that should have been done in about a day. I can send you any of
this stuff to take a look at if that will help. Any help you give
will be greatly appreciated, anything.
Thanks again,
-Seth- Hide quoted text -
- Show quoted text -- Hide quoted text -

- Show quoted text -

Jun 13 '07 #4
I found the dll in my downloaded program files and registered it
("regasm activex.dll") and now it shows up in the registry (the CLSID
changed) exactly the same as on the development machine, but still
won't show up. It only shows the "ActiveX Controls are not supported
under the current settings." line.

On Jun 13, 3:48 pm, Mr Seth T <set...@bellsou th.netwrote:
I have removed the adodb references and still nothing
RIght now the object tag looks like....
<object id="ctlDisplay1 " classid="CLSID: AB226553-9C20-3DEF-A52B-
D264BB802855" codebase="Activ eX.cab#version= 1,0,0,0"
style="width: 879px; height: 525px" type="applicati on/x-
oleobject">
<param name="ParamMoni torName" value="608" />
<param name="ParamIgno reMinutes" value="60" />
<param name="ParamUpda teFreq" value="5" />
<param name="ParamSWRe questInterval" value="60" />
<param name="ParamDBAl armTime" value="7" />
<b>ActiveX Controls are not supported under the current
settings.</b>
</object>
the dll is in vb.NET 2.0 and all of its references are included
in .NET as far as I can tell (a .NET adodb might not be, but I assume
it is), the .NET framework 2.0 is installed on all the clients. I
know that IE7 restricts a lot, but I just want to get it working on
IE6 before I buy a certificate. So to answer that question..IE6
SP2...6.0.2900. 2180.xpsp_sp2_g dr.070227-2254.
Thanks
-Seth
On Jun 12, 5:58 pm, bruce barker <nos...@nospam. comwrote:
you don't give enough info, what does the object tag look like, does the
dll have and dependencies? what is the dll written in? are the runtime
libraries installed on the client?
which version and service pack of IE? Later versions are more
restrictive about downloading and installing unsigned and unsafe control.
-- bruce (sqlwork.com)
Mr Seth T wrote:
Hey,
I have spent several days trying to find out how to do something, and
i don't know if I am blind or what, but I can not find it. I am
developing a web app and I need it to run an activex control. I have
developed the control and it runs great on my development system
(VS2005, C#, IE6, Win2000Pro, output is a DLL) because as far as I can
tell, the IDE registers the DLL. The problem is packaging it so it
registers itself on any other computer. I have tried publishing the
DLL by itself, packaging it in a CAB by itself, packaging it in in a
CAB with a INF file. So far, the closest it has come to registering
and installing is getting the dll to show up in "Downloaded Program
Files" and the CLSID shows up in the registry under "code store
database\distri bution units". Every time I load the page it adds new
entries in the registry and adds a CONFLICT.# folder to the
"Downloaded Program Files" but still will not load the control. What
is wrong? or how do you register a dll through IE?
It is not a security issue; I have allowed it install unsigned
controls. I am at the end of my rope having spent more than a week on
this that should have been done in about a day. I can send you any of
this stuff to take a look at if that will help. Any help you give
will be greatly appreciated, anything.
Thanks again,
-Seth- Hide quoted text -
- Show quoted text -- Hide quoted text -
- Show quoted text -- Hide quoted text -

- Show quoted text -

Jun 13 '07 #5

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

Similar topics

0
2761
by: don | last post by:
hello all, msdn says this about using a dotnet windows control library in activex environment... You have to write one relatively small piece of code to make your .NET control accessible to ActiveX hosts. ActiveX controls make several registry entries that standard COM servers don't, so you have to add this functionality to your .NET control. The CLR contains prefabricated functions that will make and remove these entries. These
1
1646
by: John | last post by:
Hi I am using ms internet control and a couple of third party activex in my access 2003 app. Can I use the package wizard to create a distribution package that will automatically include the activex in the package and also register them at the destination machine? If not, is there a better way? Thanks Regards
1
2714
by: Steve | last post by:
I am having an issue deploying an ActiveX control. This is a .NET project in C#. The ActiveX control is written in VB6. I use the PDW (Package and Deployment Wizard) to create a .CAB for the control. The problem is that sometimes the ActiveX control installs successfully and sometimes it doesn't. We have various test machines running different operating systems. On one machine, running Windows 2000, SP4, the control installs...
0
1640
by: Gary Hughes | last post by:
I have an installer project for a COM dll on my solution, when I build the installer I get a warning - see below. The properties are set so the the dll should be registered upon installation however since this warning has started appearing the dll no longer registers automatically although I can do it by hand with no problems. Does anyone have an idea of what could cause this or how to get more information from the installer as to why its...
3
1307
by: Raed Sawalha | last post by:
I created an ActiveX control using Visual Studio .NET 2003 and will use it with HTML page , the problem I have that I need not to foce the client to Register the ActiveX in order to use, i need the registration process to be done automatically , how can I achieve this?
0
1077
by: Sunil Menon | last post by:
Dear All, Can we automatically register ActiveX controls on aspx pages? I know that winform controls don't need registration, but they require CLR & .Net runtime installed on the client machines... I would like to register an ActiveX control programatically.... is it possible... Please help... Many Regards Sunil
2
6619
by: Ofer Lavi | last post by:
Hi, I am trying to build an activeX that, if missing, will be downloaded and setup automatically on the client's browser (internet explorer). Using VB6, it was easy, using the <Object> tag, the classid attribute for its reference, and the codebase attribute for its .cab file. Now, I am using vb.net. I managed to create the object (using ComClass<...> and ClassId, InterfaceId and EventsId.
7
4398
by: Jarod_24 | last post by:
I just downloaded a activex control that was written in C# and tried to view it on my PDA's Internet Explorer. At my regular PC it displayed just fine, but nothing showed up on the pda. Do ActiveX controls that are to be used by a pda need to be written in the ..net compact framework, or am i missing something else here? i have a HP iPaq 2490 with Windows Mobile Premium installed While i'm at it; does a activex control allow you to...
0
1246
by: Mr Seth T | last post by:
Hey, I have spent several weeks now trying to find out how to get an activex control i have created to work outside of my testing environment. I am developing a web app and I need it to run this control and it runs great on my development system (VS2005, C#, IE6, Win2000Pro, output is a DLL) because as far as I can tell, VS205 registers the DLL correctly for me. The problem is packaging it so it registers itself on any other computer....
0
8969
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
9335
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9263
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
9208
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
8210
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
6751
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
6053
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
4570
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...
1
3279
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.