Instantiate MFC ActiveX

Hello everyone,

I can't understand a very annoying problem.

I'm building a new ActiveX under MS VC ++ 2008 with MFC.

Then in LabVIEW, I use "Open Automation" (OK), then call the "About box" method (generated automatically by VC ++): I get messag error 0x8000ffff (catastrophic failure). Even if I turn on the indicator "without necessary window' (flag: windowlessActivate).

I'm stuck here. Any idea?

Thank you.

Problem: I'm trying to use an ActiveX of LabVIEW Control. I use the function of automation open and pass the reference open in an invoke node. The invoke node returns an error:-2147418113 'catastrophic failure in xxx.vi.

Solution: If you encounter this error, you are probably trying to use an ActiveX control, as you would for an ActiveX Server.

Full source here: http://digital.ni.com/public.nsf/allkb/E0FA5D83F1E5276B86256C7E005FD83C?OpenDocument

Tags: NI Software

Similar Questions

  • Adobe PDF Reader - control ActiveX Internet Explorer 11 fails with unspecified error.

    Hello, I'm responsoible to our company's web applications. Part of this application displays PDF files into the browser. Please read the overview of things that I already tried before offering suggestions. I write here before raising the issue through CC for the support teams in the hope that someone is aware of the solution or workaround.

    Recently, we received a large number of requests for assistance regarding files PDF no longer display in the browser window on Internet Explorer 11 despite the current plugins and update being installed. I have reproduced this problem on several machines now. All are running Windows 7 Professional x 64 with IE11, and all Microsoft and Adobe updates are up-to-date. I have limited access to test on other combinations of BONE; However, given the number of customers who have called us, I am sure that the issue is widespread.

    When you try to instantiate the ActiveX control, there is a non-specific error returned: "Error". The following code in the console displays the message:

    try {var ax = new ActiveXObject ("AcroPDF.PDF") ;} catch (e) {console.log (e) ;}

    • I tried using the latest version of the plugin installed by XI Acrobat or Adobe Reader XI (11.06.70). Uninstalling and reinstalling does not solve the problem.
    • I ran the installation repair on the Help menu in Reader and Acrobat, nothing helps.
    • ActiveX filtering does not cause the issue. I checked that it is disabled. The control is not blocked by the preference of the user. I checked that it is authorized to run the site in my configuration.
    • Internet Explorer, Enhanced Protected Mode is not causing the problem. I tested in several security zones and lowered all minimum of IE to the strict security settings.
    • The number of instances of increments AcroPDF.dll during an attempt to instantiate the control, then it is called by EI; "Error" is returned from the DLL not the OLE Automation Server.
    • Other ActiveX controls can be instantiated and will work perfectly, including controls only 32-bit.
    • I tried editing the registry has suggested to "HCU\Software\Microsoft\Internet Explorer\Main\TabProcGrowth" (DWORD) to 1 to no effect.

    Thank you, everyone for the advice.

    I fixed this problem by following these steps:

    -Reset IE11 (Tools-> Internet options-> advanced)

    -Start the ActiveX Installer service in services

  • LPPICTUREDISP object - controls ActiveX MFC!

    Hello

    I work with a movement by GMS card called activeX. I try inserting the tiles of map (pictures) by programming.

    Unfortunately, the method adds layer do not accept simple path to the image - it accepts an object of photo LPPICTUREDISP.

    I have no idea how to create these objects.

    did someone familiar with this?

    Problem solved in this post: "How can I load an image and use it in ActiveX at the time of execution?".

  • Control using ActiveX MKS with VMWare Server 2 - qsp.js - missing?

    Hello

    I have VMWare Server 2 got up and running, created a few virtual machines was playing with her. I'm try VMWare to see if I want to move to Microsoft Virtual Server 2005. One thing that I really liked Virtual Server 2005 is the ability to use my virtual machine in an ActiveX control (I know... I know... "I like being able to tab between virtual machines while I am already IN the admin of the site). I downloaded the CAB file, extract the files, installed the plugin and registered the DLL by following the instructions in this article:

    http://KB.VMware.com/selfservice/microsites/sc_search.do?cmd=displayKC & docType = kc & externalId = 1002342 & sliceId = 1 & docTypeID = DT_KB_1_1 & dialogID = 1390001 & StateID = 0% 200% 20859477

    I entered my config in the sample HTML IE, and when I open the HTML file I get a black box indicating the plugin is running, but there is no connection. When I turn on debugging in IE, I get an error that says:

    Line: 7

    Error: 'Querystring' is not defined

    In the debugger window, it shows the line fails to instantiate an object qsp. There is a reference to script in a file called "qsp.js" that contains the object that he tries to instantiate in the HTML code. Hmm, where is qsp.js? It is not in the cab file and I can't find it on my hard drive. I downloaded and installed the vSphere SDK and can't find it in one of these directories or the other? I looked in the temporary IE files, but it isn't here either.

    Any ideas on where I can get this little ole JavaScript file? It's all of that I need connect to my VM...?

    I was wondering if there was another (easier) way to achieve what you want. This rings a Bell for many years when I used to use Virtual Server. I use the VI/vSphere Client to manage my server 2.x hosts but unfortunately is not available with a gentle 2.0.1 installation.

    Always forgetting the missing javascript file, it works if you hard code the parameters to the connect method? Mine is:

    MKS. Connect ("192.168.0.12", 902, '[standard] XP Pro VPN / Windows XP Professional.vmx","username","password");

    Note the slightly weird for the VM name search syntax (although I suppose at this point as to the format, it's wanting). That's what you get using the command "vmrun" with the parameter 'list' to show how VMs. ex:

    vmrun t h https://yourserver:8333 / sdk -u user_name Pei password server list

    Obviously, if we cannot get the connection to work there is little interest in the conclusion/autour missing Javascript coding.

    Guy Leech

    VMware vExpert 2009

    ---

    If you have found this device or any other answer useful please consider the use of buttons useful or Correct to award points.

  • How can I access the ActiveX settings?

    When you try to use a program downloaded on my desktop, you receive the following error message. How can I fix it?
    Sorry, your browser ActiveX settings prevent detection Laser App

    Is what program this? When I search Laser App it resembles a cloud application that works in multiple browsers (http://www.laserapp.com/), but maybe the name is not unique, or you use a different program that wants to integrate App Laser or run it in Internet Explorer.

    Built-in browser scenario

    It would be in the settings of Internet Explorer, not Firefox settings. I would check with the software publisher on what needs to be changed in this case. It may involve parameters for the hidden box 'computer' or other unusual stuff.

    Throw in THE script

    Try to make Internet Explorer your default browser to work around the problem. In this case, you can always use Firefox by starting it directly, but the links in other programs will open in Internet Explorer instead.

  • I have Windows 7, Adobe Flash Player 16.0.0.305 NPAPI and Adobe Flash Player ActiveX 13.0.0.214. Should I have them both?

    On Facebook, the videos are choppy, Adobe Flash player 16.0.0.305 crashes. Issue of intermittent latency when scrolling on web pages. Use memory and CPU high when the shift occurs. I'll upgrade to Adobe Flashplayer 17. I'm especially curious to know if I need Adobe Flash Player NPAPI 16.0.0.305 both Adobe Flash Player ActiveX 13.0.0.214. They perform the same function? Having both installed would be my problem?

    You must uninstall both of them and install the latest version of Flash, 17. https://get.Adobe.com/flashplayer/download/?installer=FP_17_for_Firefox_-_NPAPI & standalone = 1

    To try a few more things that could improve your performance:

  • I need ActiveX plug-ins for remote working and there is no where I can find it for Firefox well all the questons seem to point to the web site of Firefox.

    When looking for activex solutions point to Moxilla or Asker, but I can't find the download on each site down. Where can I get the activex for Firefox?

    It's a shame that means cannot use the latest versions to explore and firefox now to enter the work. It is a working deployment problem. Thanks for your time.

  • Why when I open my camera Foscam, Activex mode, I have no picture, and I click on manage at the bottom, but ger javascript:adminstrator0. Why

    My FI8910W Foscam, opens after the Panel, with three modes to the choice. Only ActiveX in IE mode, working to allow records to do. Sometimes, back, right after that I bought this new laptop, a free AT & T program with McAfee, is available for AT & T users. But this soft, can be loaded in Internet Explorer, and something wrong with IE, it prevented from happening. I contacted AT & T Tech support, allowed the tech on my machine, and even he couldn't solve it. Then, he opens Firefox I already had and installed a program that makes Firefox actually act like IE, so that the McAfee software, can be downloaded and installed. He worked, using Firefox to replace IE, to download and install, but the spooler to print on my pc, went wrong, and would not work to use my printer. Tech Dell takes control of the pc, found to reinstall a full Windows 7 was necessary, and he did. Now, the works of print spooler, but the new facility, has removed the AT & T Tech software added to Firefox.

    That is a pain, but we need, for some sites, as for the Activex mode, with my camera. I tried pening mode ActiveX in Firefox, and it opens, but not picture. When I click on device management, to go into the settings, I can't. What I get is a little pop ball down to the right, that says "javascript:administrator0". Thinking that perhaps the Javascript has been disabled, I checked in the options and it's not so it is checked, enabled. I'm on my pc as an administrator, so now I'm stuck. Y at - there someone who can explain how to make it work, so I can use my camera in ActiveX mode, so I can actually record tings, if necessary, when I leave? Thanks in advance. Oh, my Win 7, a 64-bit OS, not the 32 if it helps.

    More than likely you have had IE Tab installed in Firefox before re-installing Win7.

    https://addons.Mozilla.org/en-us/Firefox/addon/IE-tab-plus/

  • I recently installed Adobe Flash Player ActiveX 11 - 11.4.402.265 and when I open my Mozilla Firefox browser I get this message flashing on my screen: '

    I recently installed Adobe Flash Player ActiveX 11 - 11.4.402.265 and when I open my Mozilla Firefox browser I get this message flashing on my screen: "Adobe Flash Player 11.4 r402 has stopped working" and then "Windows is checking for a solution"

    It flashes several times then stops usually but not always.

    It happens every time I try to open a new page.

    I solved this problem by uninstalling Adobe Flash Player 11 and install Adobe Flash Player 10.3. However, now my IE browser again wants me to install Adobe Flash Player 11. Although I do not often use my IE browser, I DON'T have to use sometimes. Is there a Firefox 15.0 update to fix this problem?

    First of all, the Flash of the IE is totally different than the flash used in Firefox. You can update one without affecting the other.

    Now, there is a problem right now with Flash 11.3 and 11.4 in Firefox. Downgraded to 10.3 is an acceptable solution for the moment. Adobe publishes the updates (slowly) that solve the problems, but it is not a matter of time before they are all fixed.

    Adobe Flash plugin has crashed - avoid that it happen

    11.3 Flash does not load video in Firefox

    We'll find other information on more technical issues under these links:

    http://forums.Adobe.com/thread/1018071?TSTART=0

    http://blogs.Adobe.com/asset/2012/06/inside-Flash-Player-protected-mode-for-Firefox.html

    Please tell us if it helped!

  • Control ActiveX Mozilla & Plug in causes of support 1.0.0.4 my XP machine to get slow way. Is there a problem with it? I had to disable the Add On.

    With this active Add On, the system seems to be cycling in and out of repeated calls to "verify" something, I guess, adding an irritating delay for surfing the internet. I've seen no detrimental effect to the deactivation of this Add On to this day. It happens on some sites worse than others, but most is affected.

    Plug th Mozilla ActiveX Control is causing problems, and Mozilla have taken steps to block. Over the next few days a blocklist update should automatically be downloaded, which will result in this plugin automatically blocked.

  • Why not suport activeX FireFox contrals? Internet Explorer does

    I can't seem to use the training and practice of Microsoft office, because it continues to tell me that my browser back do not support active X controls

    https://support.Mozilla.com/en-us/KB/ActiveX

  • Portege R600-11b - cannot install Adobe Acrobat 9 - ActiveX problem

    I recently bought a Portege R600-11b and have tried to install Adobe Acrobat 9 on it by downloading it from the Adobe site.
    I spent many fruitless hours talk to Adobe to try to solve this problem.

    They concluded that my laptop is not compatible with the software.
    This isn't the case, that this laptop exceeds the specification of systems required in all aspects.

    The problem seems to be that it won't work ActiveX even after all the firewalls and anti-virus in disabled - I don't know hardly what to do - anyone has any suggestions please?

    > They concluded that my laptop is not compatible with the software.
    That s just absurd

    The Adobe Acrobat Reader software is a small application and can be installed on almost all computers and systems so that s certainly not a reason why you are not able to install this software.

    If this problem is related to the ActiveX, then you can change this in the settings of your internet browser.
    For example, using the IE7 you could modify this here:
    Tools-> Internet Options-> areas-> {}-> ActiveX controls and plug - ins area-> allow unused ActiveX controls to run without prompt

    You can also try to clean the operating system and the registry because the problem might be related to faulty registry entries.
    To do this, I would recommend using the free CCleaner tool.

    Finally and above all it s always advisable to consult the homepage of support from software manufacturers. Here you will find some documents on installation with the Adobe Acrobat Reader software problems.
    http://www.Adobe.com/support/reader/

    Check it out!

  • ActiveX has stopped working

    Hi I have a problem, all of a sudden my ActiveX seems to have stopped working, this may seem trivial, but I need it for my work and don know how to make it work again, can anyone help please?

    Thank you

    Hello

    then why didn t you tried to remove all the ActiveX controls and reinstall (perhaps the latest version)?

    Welcome them

  • Cannot use DVD BD Player: WIN DVD MFC application has stopped working

    Tried to install my old version of WinDVD and failed and in the process perhaps accidentally deleted a file,
    now every time I try and use DVD BD drive I get the following message:

    "WIN DVD MFC application has stopped working"

    I tried to use restore point, but still get it, can anyone advise please?

    It will be interesting to know what model of laptop you have.
    Anyway, in my opinion, there is a software conflict. I guess players use even modules or plug-ins, and there is a conflict.

    I put t know what solution can be, but maybe you should remove both players, restart your laptop and make own BD drive in the hope that it will work properly.

  • Satellite Pro M30: LAN without wireless/ZeroCfgSvc MFC Application

    Whenever I turn on the switch wireless lan showing an error msg, "ZeroCfgSvc MFC Application has encountered a problem and needs to close.

    What should I do?

    Hello

    I read on some websites that a new wireless driver update could solve this problem.
    Try to download the new update wireless on Toshiba website:
    http://EU.computers.Toshiba-Europe.com/cgi-bin/ToshibaCSG/download_drivers_bios.jsp

    or from the Intel Web site:
    http://downloadfinder.Intel.com/scripts-DF-external/Support_Intel.aspx

    Also check this site:
    http://forums.DivX.com/GROUPEE/forums/a/TPC/f/221101651/m/693108652
    http://www.Neuber.com/TaskManager/process/zcfgsvc.exe.html

    Concerning

Maybe you are looking for

  • True or false?

    Hello I received an email from [email protected], he stated that "we suspect that someone is trying to use your account. When you are ready, click on the link below to update your account information. Your account has been temporarily blocked for yo

  • iPhone 5 s: green screen, shut off and now won't turn on

    Hi, I have reviewed to answer but didn't find any. Last night when using my iPhone, DO NOT watch a video, my screen turned green then black. I could see that he was always so I tried to reset the thing by activating the only two keys got my iPhone! H

  • Portege S100 - how to install XP on the new HARD drive?

    Hello I have a fatal error when I want to install Windows XP on a new 250 GB SATA HARD drive (more than the original 60 GB). I have RAID drivers but no "game"? Help a poor french user.Thank you

  • Battery from Toshiba BT 5.10 discovered anything

    I just installed the Toshiba stack 5.10 on a XP (desktop) machine with a dongle to iogear, and when I select 'Add new hardware' immediately reported found nothing - "remote device detection failed", in less than half a second. Discovery normally take

  • How to view the PSA screenshot on front panel

    Anyone know how to view the screenshot of the specturm Analyzer the PSA series on the façade. I can put the JPEG file in the C drive, but I can not display on the front panel. Please see my labview code.