Flex ActiveX Control Event is Missing

Hi,
I wrote an ATL CAxDialogImpl based dialog DLL to host a flash
activex control. When I launched the DLL dialog box from a command
line C# program, I can get all the events sent from the flash
activex control to the dialog instance object, e.g. fscommand,
FlashCall, OnReadyStateChange, etc.
Now, I try to load the dialog DLL in IE using a simple local
html with VBScript, the dialog box shows up and the flash shows up
too. But I can no longer get fscommand, and FlashCall events from
the Flash activex control to the dialog instance object,
interestingly, I can still get the OnReadStateChange events.
I don't know if this is a known problem already, or it's a
bug, or is there any workaround for it, or I simply did something
wrong.
Your help is highly appreciated.
Best Regards,
EJIANG

Hi,
This is due to security functionality introduced in Flash
8.0. I have read the
Security
Changes in Flash Player 8 and pages linked in the
fscommand
function documentation several times but it's unclear for me in
which sandbox are put files opened in hosted ActveX Flash control.
If someone knows this would be very helpful.
Adobe states that embeding Flash Player ActiveX is not
supported and stays quiet. Maybe SliverLight guys will be more
comunicative.
We have resolved this by using AxWebBrowser control and
hosting the Flash player in a webpage instead of hosting it in
Flash ActiveX.
Another solution if you are using only local files is to try
to use "file://YOUR_PATH_TO_FILE" as an argument for LoadMovie
method. But this works only on local files.
Hope this helps

Similar Messages

  • Handling events of ActiveX controls in TestStand!rol

    Hi,
    I want to use the Microsoft WINSOCK control with existing ActiveX Automation Adapter of TestStand. These control generates an event in case of incomming data.
    Question:
    Is there any way to treat the events of such controls in TestStand (same problem with MSCOMM control) or can this only be realized by polling the size of incomming buffer?
    In case of answer two, i would be interested in any realized example.
    Regards,
    Sunny

    Hi Sunny,
    Currently, you cannot call ActiveX controls using the ActiveX Automation Adapter in TestStand. To do this, you would need to call a code module that was set to display/utilize the control, and retrieve all of the events generated by the control. TestStand can only currently call ActiveX servers (either DLL or EXE) that support the IDispatch interface. Hope this answers your question.
    Regards,
    Bob

  • When trying to display census pages I get error ActiveX controls missing

    What are ActiveX controls and how can I install them? When trying to display certain images such as a census page I get the message that certain ActiveX controls are missing. I am using Windows XP and the current version of Firefox.

    ActiveX is an Internet Explorer plugin system and will not work in Firefox or many other browsers. If the site requires ActiveX you will need to use Internet Explorer to access the site.

  • Event structure does not capture mouse click event on toolbar activeX control

    Hi
    We have a toolbar activeX control on FP.  It works perfectly on my computer, but on my coworkers deskyop,  somehow the event structure doesn't capture mouse click event.
    Any idea?  Thanks a lot for any help.
    Anne

    It's a standard activeX control.  I attach a simple vi .
    thanks  for any help.
    Attachments:
    toolbar test.vi ‏41 KB

  • Missing Webdynpro activex control tab in Adobe Layout

    Hi,
    Can anybody tell me the reason for missing Webdynpro activex control tab in Adobe Form Layout?Only few tabs such as standard,ISR are available?Not all tabs are visible.
    Regards,
    Rohini.M

    Hello,
    The WebDynproActiveX objects are actually xfo files stored in a folder locally. Path looks like the following: C:\Documents and Settings\<user_name>\Application Data\Adobe\Designer\en\objects\
    There should be a WebDynproActiveX folder containing all the xfo representing the objects. If you don't have them, download an install again the latest version of the LiveCycle Designer.
    Regards,
    Francois

  • Disable mouse events in ActiveX control

    Hi,
    I am using the Quicktime COM/ActiveX control for Windows from C# but want to change its default behaviour slightly.
    Currently when the mouse is pressed on the player control it pauses, resumes when double clicked or if already playing reverts to fullscreen mode.
    How can I disable this behaviour so that mouse clicks on the control do nothing?
    I can respond to mouse down events and intercept the message in WndProc but the control still seems to recieve the message before my application code.
    I get the feeling that I just need to change a property of the player, but which one?
    Thanks in advance for your help.
    James

    Mate, you are a total life saver!!!!!!!!!
    Thanks so much again.

  • InsertionPalette activex control key down event

    Hi,
    Can any one know how to get the key down event of InsertionPalette activex control.
    I have handled the KeyDownEvent but it is not fired while the control is active and key is pressed.
    regards,
    Ceaser

    Ceaser,
    what is the application developement environment you are working with?
    Norbert 
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Capturing events fired by ACtiveX control

    How can i capture events fired by ACtiveX control. i am using RegEventCallback vi, but that controls user driven events. i have an activeX control that fires events at unspecified time, now i want to know how to handle such events in LabView.
    Rubina

    Hi InformaticsComplex,
    Using the Register Event Callback VI is the correct method to capture events generated by an ActiveX control. Register Event Callback registers a VI to be called when the event occurs. I suggest checking out the LabVIEW Help articles Using ActiveX with LabVIEW and Register Event Callback as well as the following examples. I hope this helps!
    Examples (all found in NI Example Finder):
    ActiveX Event Callback for Excel VI: labview\examples\comm\axevent.llb
    ActiveX Event Callback for IE VI: labview\examples\comm\axevent.llb
    NET Event Callback for Calendar Control VI: labview\examples\comm\dotnet\Events.llb
    NET Event Callback for DataWatcher VI: labview\examples\comm\dotnet\Events.llb
    Mike Lyons
    National Instruments
    http://www.ni.com/devzone

  • How to Flex tree control using folder click event  to pass coldfusion to get data from dynamiclly ?

    Hi friends.........
                Iam using flex tree control data coming from coldfusion file to display grid. As i click the tree folder to change the data from dynamic from grid.
    How to pass the folder id from coldfusion file.. Is it possible ?.. Means give any example please....
    Any One Help Me......
    With Regards.,
    Lingu.......

    When you set the dataProvider for your tree control, you actually pass an array or arraycollection or whatever to that property. The array contains objects coming from your server, right? Each object should contain a property with the folder id, something like:
    var arr:Array = [{id: 1, folderID: 34, name: "..."}, {id: 2, folderID: 4, name: "..."}, ...];
    Now, when you click an item in your tree or your dataGrid, you can access the folder id by:
    myTree.selectedItem.folderID
    Hope this helps
    Dany

  • Missing 3D graph ActiveX control

    Hi 
    I have LV 2009 f2 (64bit) version for Windows 7 and any of the "3D graph properties" vi and examples using the 3D graphs show "Control could not be loaded" in the 3D graph window.
    The LV help says it should be available in the basic version, I have prof dev.
    Anybody can help?
    thanks
    Pawel
    Attachments:
    3d graph error.jpg ‏120 KB

    Hi I just ran into the same issue.  My VI won't load the 3D graph ActiveX control.  Did your workaround indeed fix the problem?  I have LV 2010, 64-bit version. 
    I've got about 3 legacy programs to convert   So I could spend a half day re-writing my code, or half a day getting my IT support to give me the discs for the 32-bit version 

  • "the activex control for flash player could not be registered" - Solutions Roundup

    I recently ran into this problem on my computer:
    http://at32.s3.amazonaws.com/flash_install_problems2.jpg
    I am a Flash developer (as in I write SWFs, I don't work for Adobe).  and when I updated IE to 10.2, "the activex control for flash player could not be registered".  Since I am a developer, I also have Firefox and Chrome installed, with Flash running without problems.  For a long time now, Internet Explorer has used a different version (ActiveX) to the other browsers, which use plugins.  I am a strong supporter of Flash, it's great to develop with and has a very wide feature set which is growing all the time, unlike fixed technologies/standards.  However, the weakest part is the install process - I don't understand why their is a Download Manager.  Google Chrome does it's best (so far) by managing the install/update process entirely in the background.  Anyway, it was in my best interest to try and get to the bottom of this.
    For the record, on the problem machine I have Windows 7 with IE8, but I have seen almost  identical symptoms with IE9, Windows XP SP3, as well as various  iterations of Flash Player (10.0, 10.1, 10.2 and even some final  editions of version 9).
    First I tried the standard support here:
    http://kb2.adobe.com/cps/191/tn_19166.html
    Basically, doing the manual uninstall and manual install of the latest version (without using the download manager, or have IE open).  This did not work.  I also tried the Microsoft "subinacl" program, together with "reset_fp10.bat".  This didn't work either.  However, you should try all of these things first before progressing further.
    A quick note about people who had tried running the following at a command prompt: "secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /verbose"
    I didn't do this, because on investigating further it didn't seem to work with Windows 7, only Windows XP, Windows 2000 or Windows 2003 - though there was a few threads where this had fixed the problem for some users.
    For my solution, it is recommended you use the manual uninstall / installers, so you should have them downloaded ready to use.
    I then heard about problems with permissions in the registry with the key: HKEY_LOCAL_MACHINE\Software\Classes\shockwaveflash.shockwave
    So I opened regedit.exe (start - run - typed "regedit.exe"), navigated to the key and sure enough, I couldn't open it - permission denied - even though I had an administrator account.  If for some reason, you can access this key (and any subkeys), then it's likely the following fix will not resolve the problem.
    I then done further diagnosis, by using Process Monitor to try and install Flash Player, and I got the following:
    http://at32.s3.amazonaws.com/flash_install_problems.gif
    This shows all the access denied errors the Flash Player install was experiencing when trying to write to the registry key.  This confirmed that this was the problem.  I only stress this because several people said it was unwise to tinker with the registry.  Though this is common advice, this is the only known fix for this precise problem at present, since you need to manually adjust the permissions yourself.  I don't know who is at fault here - Microsoft or Adobe - but let's just get Flash fixed...
    The solution:
    Firstly, you may want to backup your registry, or the exact key.  I didn't do this so I've provided no instructions on how to, but it is recommended for the paranoid.  Also make sure as much software is closed down as possible - browsers, IM software, any junk in your system tray. As way of example, I happened to have "BBC iPlayer" installed and running in the background which uses Adobe AIR and Flash Player, so I exited that too.
    1) Open regedit (start - run - type "regedit.exe").  You may need to right click on it and select "Run As Administrator", but I didn't as my account was already administrator.
    2) Navigate to the key. HKEY_LOCAL_MACHINE\Software\Classes\shockwaveflash.shockwave
    Click on it to confirm that you cannot access it (you will get an error) - if their are no problems - this probably isn't the cause of your issues.
    3) Right click on it and click Permissions, and ignore any message that may pop up.
    4) Under "Group or Usernames" click "Add".  Type your account name name, or "Administrators" in the box, then "Check Names" to format it correctly, then Ok.
    5) Now on the next screen click the checkbox to enable Full Control (this will also automatically enable "Read" permission too).
    6) Click Advanced, then the "Owner" tab at the top.  You will see that their is no "Current Owner".  This is what we will now fix.
    7) Click on your name to change the owner to (I went for Administrators).  Also enable the checkbox entitled "Replace Owner on subcontainers and objects".  Then click Ok.  You will get an error message, which you can try clicking Retry to, but hit Cancel - this is not a problem.
    8) Click Ok a couple of times and this part of your registry is now fixed.
    9) Now it's a simple case of running the manual Flash uninstall program, then finally the manual Flash installer (for Active X - not the Firefox/Chrome plugin versions).  To my surprise, after a couple of days looking into this - I finally had a solution and Flash in IE once more.  If you are using Firefox too you may find Flash is no longer installed their (the uninstaller removed it).  In this case just install via the Adobe site or try to watch a video on You Tube and you will be prompted or linked to the install.
    Hope this provides a good round up of the possible solutions to this problem.  Hopefully Microsoft or Adobe can find out what causes this issue in the first place so we don't have to go down this route for much longer.  Chrome's implementation of Flash shows how effortlessly things can work!

    They will stay on the screen.  However, Process Monitor is only intended for advanced users.  It is recommended that users try to navigate to the troublesome registry key using regedit, and see if they can access it or not without an error.  This is far easier than trying to use Process Monitor, which is very complicated.
    I used Process Monitor to confirm that it was just that key which was causing the problem, and not others.  Process Monitor is not to be confused with the new Resource Monitor which is accessible via Task Manager in Windows 7 (and possibly Vista).  If you must experiment (and Process Monitor is very useful for diagnosing many deep-level problems if you know what you're looking for) Process Monitor can be downloaded from here:
    http://technet.microsoft.com/en-us/sysinternals/bb896645
    It replaces the older Sysinternals "FileMon" and "RegMon".  For those interested in the technical side, I had to setup a number of filters to be able to get the results display as in the screenshot.  First of all to just show Registry events.  Then to just show events from the manual Flash activeX installer executable.  The I added a filter to show only non-successfull results.  And finally, for the purposes of the screenshot, added a filter to just show those with "Access Denied", since other non-critical errors are also picked up due to missing keys because installation has not yet been fully completed I guess.   When experimenting, most of these filters were applied using the "is not" boolean logic, which will make sense if you experiment with the program.
    Without adding any filters, it picks up so many events (hundreds per second) that it's otherwise unusable.  e.g. 40,000 events within the first few seconds of opening the program. For this reason, I recommend simply using Regedit to diagnose the problem with the particular Flash registry key.

  • Integrating custom ActiveX control with SapGUI

    Hi everybody
    I'm in the process of writing a custom MFC based ActiveX control written in C++ that we want to use in a product. I am currently at the point where I can instantiate the control and interact with the various methods that it exposes but I have a problem integrating the control more tightly with the SapGUI e.g. change of colors, fonts etc.
    I want to make the control to reflect the user changes when the user modifies any settings of the SapGUI. I've tried catching various events that are exposed by some of the dictionary classes such as cl_gui_props_consumer=>color_change/global_prop_change and cl_gui_resources=>resources_changed but these events only fire in my control once the PAI of the client program that encapsulates the control fires which is hardly appropriate since it means that the control will have to wait for user input before it will change reflect any changes in user settings.
    I've written a test program for my control and when I change my SapGUI colors the rest of the controls etc on the screen do change color but my control only change color once I've performed some action that fires the PAI. Personally I think the controls written by SAP intergrates with the SapGUI through some interface that is called behind the scenes by the SapGUI since the GUI will have some way of knowing the set of ActiveX controls instantiated inside it  and I cannot find any event in the ABAP controls framework (e.g. CL_GUI_OBJECT, CL_GUI_CONTROL) that will allow this type of integration. I'll be digging for the answer but any suggestions will by greatly appreciated.
    Thank you in advance for any help.
    Kind regards
    Ettienne Hugo

    Hello Ettienne Hugo,
    To get the SAP GUI Theme or font changes events you need to add your MFC application or ActiveX MFC dll into u201CSAP Configuration->Application Tab->Addu201D and u need to call the functions SapHookInit and to stop getting the change events u need to call SapHookExit.(sapfhook.dll provides these functions)
    I tried with exe, never tried with ActiveX MFC dll/ocx. With EXE it works.
    Thanks and Regards,
    Ashwini

  • How to control and display video from IP camera using ActiveX control over Internet.

    Hello,
    I need to control my IP cameras over the internet. I need to log into the cameras and then display the video.  There's an ActiveX control registered on the computer and works fine with IE to access and control the cameras. Controlling the cameras using IE works fairly well, but there are some quirks that I'd like to eliminate by using my own custom code.
    Has anyone created a vi that controls a Foscam FI8905W over the Internet? I’ve attempted, but I keep getting a catastrophic failure when I try to call ManagementConnect Method in the DVM_IPCam2 ActiveX Control Module V1.0. I'm not sure whether I need to establish an IP connection with the cameras first, or allow the ActiveX control to establish it for me.
    Some example code would be greatly appreciated. Running LabVIEW 2011 on a Win7 32bit.  Even some code used to control a similar device using ActiveX over Internet would be helpful.

    I have an example vi for interfacing to the foscam activex.
    I plan on using mouse click events within the activex window to trigger the PT function.
    I only have the basic up/down/right/left directions and not the down-right/down-left/up-right/up-left in the enum.  You can load the camera's web page and view the source to see the Java script code that uses the activex control.  There are definitions for the other directions.
    I had to mark the control as "Disabled" to keep click events from going to the activex control.  If I double click the control, it goes full screen.  If I then click on it to get out of full screen mode the video never returns or returns to the wrong spot in the VI.
    Attachments:
    Foscam Demo.vi ‏24 KB

  • How do I use a LabView control element as ActiveX Control in another application?

    I am was trying to include some simple ActiveX Controls(sliders, buttons) in my VBScript. It worked with other ActiveX Components from the web, however I wasn't able to include the LabView ActiveX Controls because I was missing the necessary IDs. Moreover I was able to test the LabView control by inserting it into the VC++- Test Container. But I still can't find the necessary IDs...

    I don't believe that any of the LabVIEW controls (except for 3D Graphs) are ActiveX controls so I'm not sure what control you were able to insert into the VC++ container. What's the exact name of the control? NI does have ActiveX controls that are part of Measurment Studio so maybe it's one of those that you're using?

  • Internet Explorer begins blocking out-of-date ActiveX controls

    On Wednesday 6th August 2014, we announced that as part of our ongoing commitment to delivering a more secure browser, starting September 9th Internet Explorer will block out-of-date ActiveX controls. (Note: The original post stated that the ActiveX blocking
    would begin on August 12th. Please refer to the addendum for further details).
    Please take a look at this important update via the
    blog post as well as the FAQ contained therein and commence testing within your domain.
    Thanks and Regards
    Mark
    http://blogs.msdn.com/b/ie/archive/2014/08/06/internet-explorer-begins-blocking-out-of-date-activex-controls.aspx
    Mark Feetham Senior Supportability Program Manager, Internet Explorer.

    Hello,
    There seems to be an entry missing in the
    versionlist.xml file.
    There is an entry missing for wsdetect.dll (isInstalled Class ActiveX Control) from Java 1.7, I believe (there is an entry for 1.6, 1.5, 1.4 but 1.7 is missing).
    Here is the relevant portion of the XML file:
    <blocklistentry key="{5852f5ed-8bf4-11d4-a245-0080c6f74284}" entrytype="2">
    <versionentries numberofelements="4">
    <versionentry groupname="Java(TM) 1.6.0_81" filename="wsdetect.dll" productversion="6.0.810.0-6.65535.65535.65535" fileversion="6.0.810.0-6.65535.65535.65535" />
    <versionentry groupname="Java(TM) 1.5.0_71" filename="JavaWebStart.dll" productversion="5.0.710.0-5.65535.65535.65535" fileversion="5.0.710.0-5.65535.65535.65535" />
    <versionentry groupname="Java(TM) 1.4.2_43" filename="JavaWebStart.dll" productversion="1.4.2.430-1.4.65535.65535.65535" fileversion="1.4.2.430-1.4.65535.65535.65535" />
    <versionentry groupname="Java(TM)" filename="*" productversion="*" fileversion="*" />
    </versionentries>
    This causes the alert prompt to appear when using Java 1.7 update 67 even though it's allowed by XML.
    To reproduce, please go to a site that uses wsdetect.dll like Wikipedia (like here
    http://commons.wikimedia.org/wiki/File:Example.ogg) and check if the prompt appears for you.

Maybe you are looking for

  • Wallstreet G3 Powerbook OS 8.6 system crashes in Outlook Express

    Hi: Our household's second computer is a Wallstreet G3 Powerbook with OS 8.6 installed (over 8.5). Recently it has begun crashing when I try to open or delete e-mails in Outlook Express: the cursor disappears, then the system freezes and I have to do

  • SM30 Table Maintenance Generator in Webdynpro ABAP

    Hi Experts, I am new to Webdynpro. Can someone explain me the steps in having the Table maintenace feature in Webdynpro ABAP ? We are having a custom table in ECC for which the entries will be updated from Webdynpro. Thanks in Advance, Regards, Vivek

  • Playbook won't update from 2.0.1.358 to 2.1

    When I try to download and install OS 2.1 OTA, the download appears to complete, then I get a message stating "Plase wait" and a retry button.  If I wait, nothing happens.  If I press retry, the download starts again with same result.  I connected to

  • Trying to create ASM instance, thinks one already exists?

    I've got a problem with creating the ASM instance. Basically, I've reinstalled (v11.1.0.6) clusterware, and two database software installs (one for asm, one for db) due to a san swap. Now, I believe that there is still a hangover to the original inst

  • Early mac pro with 10.10.2 and L10.1- a few issues

    Hi All, Wondering if new mac pro will remedy the following. Since updating to LX10 and Yosemite on my early '09 MacPro, having these issues: 1.Sluggish in the graphics (automation drawing, redraws, linked score and piano roll graphics, etc). 2. Audio