467,077 Members | 1,021 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,077 developers. It's quick & easy.

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\distribution 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
  • viewed: 2183
Share:
4 Replies
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\distribution 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="ActiveX.cab#version=1,0,0,0"
style="width: 879px; height: 525px" type="application/x-
oleobject">
<param name="ParamMonitorName" value="608" />
<param name="ParamIgnoreMinutes" value="60" />
<param name="ParamUpdateFreq" value="5" />
<param name="ParamSWRequestInterval" value="60" />
<param name="ParamDBAlarmTime" 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_gdr.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\distribution 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="ActiveX.cab#version=1,0,0,0"
style="width: 879px; height: 525px" type="application/x-
oleobject">
<param name="ParamMonitorName" value="608" />
<param name="ParamIgnoreMinutes" value="60" />
<param name="ParamUpdateFreq" value="5" />
<param name="ParamSWRequestInterval" value="60" />
<param name="ParamDBAlarmTime" 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_gdr.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\distribution 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...@bellsouth.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="ActiveX.cab#version=1,0,0,0"
style="width: 879px; height: 525px" type="application/x-
oleobject">
<param name="ParamMonitorName" value="608" />
<param name="ParamIgnoreMinutes" value="60" />
<param name="ParamUpdateFreq" value="5" />
<param name="ParamSWRequestInterval" value="60" />
<param name="ParamDBAlarmTime" 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_gdr.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\distribution 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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Steve | last post: by
reply views Thread by Gary Hughes | last post: by
3 posts views Thread by Raed Sawalha | last post: by
7 posts views Thread by Jarod_24 | last post: by
reply views Thread by Mr Seth T | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.