Solved

Capture ActiveX events in Javascript

Posted on 2009-03-31
5
703 Views
Last Modified: 2013-11-18
I have an activex control that fires events when it is clicked on etc (Its a video player control).  The activex control has default events and other events which are not deault.

I can add event handlers to the default events (right click, oncreated etc) but when I add event handlers to the other events i cannot seem to get them to work.

I am using Visual Studio 2008 to debug my web page.  How can I see if these other events are being fired off properly, how can I best debug this?

Here is some code for the events I am able to handle.
NtlxVideoCtrl = new ActiveX( "objVideoCtrl", null, null, 640, 480 );
VideoCtrl.classid = "1B33918E-B218-11D3-BF35-00A0CC3DBDF9";	//VideoCtrl
VideoCtrl.defineParam ("firescriptevents", "true");
VideoCtrl.defineParam ("mode", "16");
VideoCtrl.handleEvent( "OnPaneSelect(sPane,sCamera)", "handlePaneSelect(sPane,sCamera)" );
VideoCtrl.handleEvent( "OnCameraDrop(sPane,sCamera)", "handleCameraDrop(sPane,sCamera)" );
VideoCtrl.handleEvent( "OnRBClick(sPane,sX,sY)", "handleRBClick(sPane,sX,sY)" );
VideoCtrl.handleEvent( "OnCreated()", "handleCreated()" );

Open in new window

0
Comment
Question by:Wanting2LearnMan
  • 3
  • 2
5 Comments
 

Author Comment

by:Wanting2LearnMan
ID: 24027691
anyone??
0
 

Author Comment

by:Wanting2LearnMan
ID: 24028428
no experts today hmmmmmmm
0
 
LVL 29

Accepted Solution

by:
David H.H.Lee earned 500 total points
ID: 24035851
Hi Wanting2LearnMan,
You can try this active-x debugger, try it and determine if you going to use it for your development team:
http://script-debugger-ide.sg-team.downloadsoftware4free.com/
0
 

Author Comment

by:Wanting2LearnMan
ID: 24037870
The link for the trial script debugger is not working, please help
0
 
LVL 29

Assisted Solution

by:David H.H.Lee
David H.H.Lee earned 500 total points
ID: 24046487
Hi Wanting2LearnMan,
Ok, i've glanced across the useful tips to rectify the problem:
http://msdn.microsoft.com/en-us/library/w54zfak1(VS.80).aspx
http://support.microsoft.com/kb/167715

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

Suggested Solutions

Title # Comments Views Activity
Understanding UserAgent String 2 44
Sending ASP to server side 8 28
Html date format 9 20
Glitching Slide Show 19 26
In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

685 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