Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

HOWTO handle events of an ActiveX Control with ASP

Posted on 2002-06-21
5
Medium Priority
?
326 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 150 total points
ID: 7099665
<OBJECT id=MyActiveXControl classid=...>
.....
</OBJECT>

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


HTH
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
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…

886 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