473,326 Members | 2,588 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,326 software developers and data experts.

activex troubles and trials

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. I have tried publishing the
DLL on the website by itself, packaging it in a CAB by itself,
packaging it in in a CAB with a INF file and none of those worked. So
then I tried to simply copy the dll to the "environment" PC and
register it with regasm. That didn't work either, it showed up in the
registry after that but continues to show the error message instead of
the control on the page. I also tried dumbing down the control in
case it was some other error inside the control and told it to only
open and be visible, and that did not work either.

It is not a security issue; I have allowed it to install unsigned
controls. This is the object tag I am using.

<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 that is being created is in vb.NET 2.0 and it contains no
references outside of the .NET framework The .NET framework 2.0 is
installed on the "environment" PC. It is using IE6 SP2
v6.0.2900.2180.xpsp_sp2_gdr.070227-2254.

So, what am I missing? What would make an activex control from a dll
work on one system and not the other? What is VS2005 doing that makes
it work at all on the development pc?

Any help you give will be greatly appreciated, anything.

please and thank you,
-Seth

Jun 26 '07 #1
0 1217

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

Similar topics

8
by: AnalogKid | last post by:
Short question: What's the difference between SingleUse and MultiUse ? Long question: I've been writing some sample code to see how different Instancing values and threading models work. I...
1
by: wang xiaoyu | last post by:
Hello: i want use activex in wxpython program,but when i use MakeActiveXClass an exception occurs. this is my source code dealing the DICOM ocx.I must note that in this program "hwtxcontrol" is...
2
by: Fie Fie Niles | last post by:
This one XP machine (with IE 6) is having a problem viewing any ActiveX controls (created on VB6) on the Internet Explorer browser. I put the same ActiveX control in a VB program, and when I run...
6
by: Pippen | last post by:
I'm getting a little confused about what is supported in MS-SQL ActiveX and what is Visual Basic and what is VBScript. Can someone please point me to a website, recommend a book or if I've missed...
2
by: Ben Yanis | last post by:
I've been developing and selling Access based database products for years, and this group has always been a great resource to me. Now I find myself releasing a new Active-X based on some of my...
4
by: Izak van Langevelde | last post by:
Shocks. Today I came to learn that Suns jdbc-odbc bridge driver isn't meant for serious purposes; it's experimental. I already knew it isn't thread safe, but didn't think of this as problematic for...
6
by: hufaunder | last post by:
I have an ActiveX component that I want to use in a library that I am writing. As a first test I used the ActiveX component in a windows form application. Adding the component created: Ax.dll...
1
by: estatualgui | last post by:
Hello everyone, I am having trouble with my ActiveX creation. I believe everything is coded correctly, only when the ActiveX is downloaded, after going through the security thing, it claims that the...
15
by: alan75 | last post by:
I've completed the ActiveX using VB.NET except for the last part:- to return a value to the HTML page that is using the ActiveX. This is my first time writing one so really need help on this part...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.