Solved

HOWTO handle events of an ActiveX Control with ASP

Posted on 2002-06-21
5
308 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

746 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

10 Experts available now in Live!

Get 1:1 Help Now