Solved

HOWTO handle events of an ActiveX Control with ASP

Posted on 2002-06-21
5
321 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

734 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