473,326 Members | 2,111 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 control question

I have an ActiveX control in my ASP page that has not been signed yet, so
currently just for testing I set the Security for Intranet to "Low".
When I run the ASP page on my machine (the IIS is in my machine), I have no
problem, except the page prompted me with "An ActiveX control on this page
might be unsafe to interact with other parts of the page. Do you want to
allow this interaction?"
But, when I run the ASP page on another machine (even though the other
machine is also a development machine that already has the ActiveX control
and I set the Security for Intranet to "Low"), it did not prompt me the
above message, and I got an error when accesing any method of the AX control
(e.g Object doesn't support this property or method 'myAXControl.method').

Is this because I have to create a CAB file and mark the AX control as safe
for scripting ?
To create a CAB file for this AX control, do I need to create my own VB AX
Control project that contains this control and then create a cab file for
this VB project ?

Thanks a lot.
Nov 22 '05 #1
1 2239

"fniles" <fn****@pfmail.com> wrote in message
news:ee**************@tk2msftngp13.phx.gbl...
I have an ActiveX control in my ASP page that has not been signed yet, so
currently just for testing I set the Security for Intranet to "Low".
When I run the ASP page on my machine (the IIS is in my machine), I have
no problem, except the page prompted me with "An ActiveX control on this
page might be unsafe to interact with other parts of the page. Do you want
to allow this interaction?"
OK I'm no expert on this but from my own experiences ill tell you what I
know

when you build a control on a machine it is installed on that machine(don't
ask me where or how) so that you can run it on that machine.

Later when you say install it on the server it will be available from all
machines.

so if it is only working on your machine and not any others in the network I
would say that it is using the test machines version and not the version on
the server.

try downloading the LPKTool and signing it if you need to test it on the
server.

if you find that the same version is installed on the server and still does
not run, check any data connections in the control are viable from other
machines on the network
when you test it, it is useing the devlopment

But, when I run the ASP page on another machine (even though the other
machine is also a development machine that already has the ActiveX control
and I set the Security for Intranet to "Low"), it did not prompt me the
above message, and I got an error when accesing any method of the AX
control (e.g Object doesn't support this property or method
'myAXControl.method').

Is this because I have to create a CAB file and mark the AX control as
safe for scripting ?
To create a CAB file for this AX control, do I need to create my own VB AX
Control project that contains this control and then create a cab file for
this VB project ?

Thanks a lot.

Nov 22 '05 #2

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

Similar topics

4
by: loveneesh bansal | last post by:
Hi Experts, I want to write an activex control. This actiovex comntrol will be a simple drop down and when i select a value from this drop down the value in another drop down will be fill up...
3
by: EJ1003 | last post by:
Hello I would like to create Activex Control uisng C# and use it in ASP.Net webform. User Control is not solving my requirement so I am going for Activex Control. Please guide me on this, how...
5
by: Andrew | last post by:
Hi all, I am still getting into ASP/VB.net and have a concern about something I see coming. Currently our entire website is classic ASP, yet the feelings from on high is that we need to start...
3
by: Weston Fryatt | last post by:
Simple question I hope.... How do I send data to and from an ASP.Net (server side) web page to a ActiveX Control (client side) embedded in a web browser??? What I need to do, is I have image...
0
by: swong4 | last post by:
Hi all, I am trying to use an ActiveX control on the server-side of an ASP.NET 2.0 application written in C#. The ActiveX control is a 3rd-party interface to a data feed used by my application...
7
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...
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...
7
by: Artie | last post by:
Hi, Our team have a web project which includes some C# ActiveX DLLs. On some developers' PCs, the code which calls methods in the ActiveX dll is succesful - no exceptions. On other PCs, the...
2
by: =?Utf-8?B?Sm9obiBG?= | last post by:
Hello All, I have a question about using an ActiveX control with a Windows Servce in C#. I believe it is not possible to properly setup an ActiveX control in a windows service as the particular...
1
by: Jialiang Ge [MSFT] | last post by:
Hello Philippe, In addition to bruce's points, I'd suggest the KB article http://support.microsoft.com/kb/317392. It demonstrates how to host an ActiveX control in ASP.NET (for your first...
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...
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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.