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

ActiveX Control works fine in VB but not in ASP

I have an ActiveX Control that I am trying to make work from an ASP
page, but so far all I got is great frustation! My Control is well
registered (and working fine from a VB stand-alone program I made in
the same computer)

Every time I load the ASP page I get a "Object does not support this
property or method : SigBox1.IsOn".

Initially, I thought that the error was caused because my Control was
not registered well, so I made a VB program and confirmed that I can
use the control in VB just fine (all methods & properties work).
However, in ASP I only get the control to load with initial settings
in the <OBJECT> tag (see ASP code below). After that i try to access
the control's methods and properties and there is not a single one
that works...all give me the error message described above.

Is there an intermediate step that I am missing after the <OBJECT>
declaration and before the call to its Methods and Properties?????

Here is the ASP code:
------------------------------------------------------------------------------
<P>TESTING ACTIVEX CONTROLS </P>

<OBJECT id=SigBox1 style="LEFT: 0px; WIDTH: 289px; TOP: 0px; HEIGHT:
75px" height=75 width=289
classid="clsid:286C842C-CDA4-40A9-BB9B-DE0F16048561">
<PARAM NAME="_Version" VALUE="327685">
<PARAM NAME="_ExtentX" VALUE="7646">
<PARAM NAME="_ExtentY" VALUE="1984">
<PARAM NAME="_StockProps" VALUE="233">
<PARAM NAME="ForeColor" VALUE="0">
<PARAM NAME="BackColor" VALUE="16777215">
<PARAM NAME="BorderStyle" VALUE="0">
<PARAM NAME="Enabled" VALUE="-1">
<PARAM NAME="Appearance" VALUE="1">
<PARAM NAME="TitleText" VALUE="">
<PARAM NAME="PromptText" VALUE="">
<PARAM NAME="LightMode" VALUE="1">
<PARAM NAME="LineStyle" VALUE="1">
<PARAM NAME="LineWidth" VALUE="1">
<PARAM NAME="OutScale" VALUE="100">
<PARAM NAME="ScalingMode" VALUE="0">
<PARAM NAME="SigLine" VALUE="-1">
<PARAM NAME="Transparent" VALUE="0">
<PARAM NAME="UpdatePadScreen" VALUE="-1">
<PARAM NAME="ConnectToPad" VALUE="1">
<PARAM NAME="DefaultDevice" VALUE="-1">
<PARAM NAME="ShrinkWrap" VALUE="0">
<PARAM NAME="BaudRate" VALUE="0">
<PARAM NAME="BitmapStyle" VALUE="0">
<PARAM NAME="RecordMode" VALUE="1">
<PARAM NAME="AutoInking" VALUE="-1">
<PARAM NAME="TextFont" VALUE="0">
<PARAM NAME="Sound" VALUE="-1">
<PARAM NAME="MagCardTimeout" VALUE="0">
<PARAM NAME="MagCardEnabled" VALUE="0">
<PARAM NAME="MagCardTrack1" VALUE="">
<PARAM NAME="MagCardTrack2" VALUE="">
<PARAM NAME="MagCardTrack3" VALUE="">
<PARAM NAME="CaptureSignature" VALUE="-1">
<PARAM NAME="ButtonSound" VALUE="-1">
<PARAM NAME="OutHorzSize" VALUE="0">
<PARAM NAME="OutVertSize" VALUE="0">
<PARAM NAME="OutHorzDPI" VALUE="0">
<PARAM NAME="OutVertDPI" VALUE="0">
<PARAM NAME="Smoothing" VALUE="0">
<PARAM NAME="ConnectionChecking" VALUE="0">
<PARAM NAME="ConnectionRetries" VALUE="0">
<PARAM NAME="LcdScreenSaverTimeout" VALUE="0">
<PARAM NAME="Ports" VALUE="4">
<PARAM NAME="Port" VALUE="0">
<PARAM NAME="DebugMode" VALUE="0">
<PARAM NAME="ConnectionTimeout" VALUE="15">
<PARAM NAME="PenIdleTime" VALUE="0">
<PARAM NAME="SyncOutTimeout" VALUE="5">
<PARAM NAME="SyncInTimeout" VALUE="5">
<PARAM NAME="ThreadPriority" VALUE="4">
<PARAM NAME="DebugFileName" VALUE="SigBox1.TXT">
</OBJECT>

<SCRIPT LANGUAGE="VBScript">
if SigBox1.IsOn then <<<<<<<<<----- ***** Problem line ******
msgbox("The Signature Pad is ON !!!")
end if
</SCRIPT>
------------------------------------------------------------------------------

Thanks,
Miguel
Jul 19 '05 #1
0 1758

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

Similar topics

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...
0
by: Gary | last post by:
sorry for not cross-posting originally (originally posted in the components subgroup) I seem to have run into two documented bugs whose workarounds are incompatible. What I have is an OCX...
2
by: Dean Bortell | last post by:
I am new to VS 2003 C#. I have created a simple telephony project in C# using an activex control from allem martin called aximtapi pro. www.allen-marting- inc.com. I have the retail version of...
2
by: Martin Baker | last post by:
I have an activeX control which I am calling from a C# program, this works fine. I now want to call the activeX control from a seperate thread, this works but is very slow. This is far too slow...
0
by: Antonio Bruno | last post by:
Hi, I've developed an ActiveX control in C# and I'm using it inside an ASP.Net intranet app. I've noticed though that in some situations, instead of loading the ActiveX control, it just shows...
3
by: Jeffery Franzen | last post by:
Anyone know where the documentation is regarding Activex controls in asp web forms? I'm using VS.NET 2002 enterprise and am trying to use Activex controls in vb.net web form app. I do the add...
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: Budhi Saputra Prasetya | last post by:
Hi All, I'm trying to display .NET Custom Control (created using Inherited Control) on an ASPX page, but no luck. I already registered the Control to Global Assembly Cache through .NET Framework...
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...

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.