Solved

HOWTO handle events of an ActiveX Control with ASP

Posted on 2002-06-21
5
311 Views
Last Modified: 2008-03-10
Hi!

HOW to handle the event of my ActiveX Control I using on my ASP page.
The event is "ClickOK" with no parameters.
I'm not interested in use timeout to monitoring some estate of my ActiveX control.

thanks!
0
Comment
Question by:jussara
5 Comments
 
LVL 5

Expert Comment

by:rpai
ID: 7098674
0
 

Author Comment

by:jussara
ID: 7098934
That article describes how to Enable and not how to catch (handle) the event inside a ASP web page.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7099125
could you describe a situation?
0
 

Author Comment

by:jussara
ID: 7099155
My Activex Control have a Button.
When then button is clicked the activex control raise the event ClickOK:

RaiseEvent ClickOK

This ActiveX control is embedded inside an html page.

How can I get ClickOK Even. ASP, JavaScript VBScript?

thanks.
0
 
LVL 9

Accepted Solution

by:
samopal earned 50 total points
ID: 7099665
<OBJECT id=MyActiveXControl classid=...>
.....
</OBJECT>

<SCRIPT LANGUAGE=javascript FOR=MyActiveXControl EVENT=ClickOK>
<!--
 Do_smth()
//-->
</SCRIPT>


HTH
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now