Solved

Capture ActiveX events in Javascript

Posted on 2009-03-31
5
693 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

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

Suggested Solutions

Title # Comments Views Activity
React or Angular? 6 51
Google Sheets Script 21 51
How to turn a javascript bookmark into a hyperlink online 9 28
jquery - show / hide div depending on day and time 19 21
If I have to fix slow responding website my first thoughts are server side optimizations: the database may not be optimized or caching is not enabled, or things like that. We often overlook another major part of our web application: the client. We o…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…

932 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

11 Experts available now in Live!

Get 1:1 Help Now