ActiveX error 18351

I am trying to import tlb/exe files that I am making in VS2008 in C++ on Windows 7.
I am modifiying a dialog COM app exe which used to run fine on XP/Old TestStand.  I am trying to call exposed COM on a legacy dialog app I have to add more calls to.  This used to work on XP/TestStand4.  It is registered but not visible on teh Automation Server list.
So I have created a few of COM example apps of different types to see if its windows7 or teststand or what.  I have made a dll as well.  None can be made into a selectable Automation Server for TestStand 2010.  Even registered they are not in the dropdown list.  Browsing just produces the ActiveX Error Code: -18351.  I have added no code to them, as VS2008 creates the base source for the new COM/OCX/Midi projects.  None will work with TestStand 2010 after being registered  (xxx.exe /regserver).
I did see where ...\Public\Documents\National Instruments\TestStand 2010\Examples\Demo\DotNet\dotNet Project Files has a computer.dll, and that does load fine with C++ dll option.
Anyone know why created apps will not load and are not visible on the list?
TIA
www.certtech.com

Hey Doug thanks.
I also had to run cmd as admin privilidges also and hand register the tlb.  Then use regtlibv12.exe to hand register the tlb.  Even though I launched VS2008 as admin this time and did a clean/rebuild it was not enough.
Using cmd as admin....
C:\...\yourproj\Debug>C:\windows\Microsoft.NET\Framework\v4.0.30319\regtlibv12.exe yourproj.tlb
Registration of yourproj.tlb successful.
Yesterday it was saying it was registered but it wasn't becuase I was not running it in admin.  Thanks for the help..it was close enough.  Never trust VS to register the apps for oxc/tlb stuff right as it always says it was.  .NET classes work fine as-is.
Windows is such a pain with this lack of automatic admin settings!!!
www.certtech.com

Similar Messages

  • Excel ActiveX error in exe: library not registered

    Hi,
    I wondered if any of you can help me as I'm at a bit of a
    loss. I have an application that is complied to exe, and installed with
    an installer in LabVIEW 8.5.1 that uses the Excel ActiveX interface to
    write to an xls file. In development and on all of my testing this
    seems to work fine (with Excel 03 and 07) but I have just received a
    bug report whereby on a particular install the following error has been
    thrown form my Open Excel VI (see attached code). Apparently it was
    working but this machine has recently upgraded some data management
    software (Goldmine 6.0 -> 7.5) and since then it hasn't worked.  The error generated is:
    Error code:-2147319779
    source: "Library not registered."
    Troubleshooting
    is complicated a little as this is running as an exe and the source
    code seems to work fine on my development machine.
    Any ideas would be GREATLY appriciated!
    (my current inclination is to ask the customer to resintall Office and
    Goldmine and then reinstall the LabVIEW app - so far he has only tried
    reinstalling the LabVIEW software)
    Shaun
    (this message is also posted on Lavag.org = http://forums.lavag.org/Excel-ActiveX-error-in-exe-library-not-registered-t11912.html)
    Attachments:
    Open Excel.vi.png ‏52 KB

    It would really help to see the relevant code, and to know which version of LabVIEW is being used.  I notice the original code was developed on LabVIEW 8.5, and the Poster mentions older versions of Office (and is writing an .xls instead of an .xlsx file), suggesting the original code is about 7 years old.
    About 4 years ago, I got frustrated with trying to use ActiveX, and NI developed a much more robust Report Generation Toolkit.  I've adopted the RGT and haven't looked back.  Most of the weird errors I used to fight are gone, and building executables is (mostly) no pain (there's a small glitch that required manual OK-type intervention when you first encounter the Toolkit in a Build).  I'm guessing that it should be pretty easy to rewrite your code using the RGT in place of ActiveX, and I'm willing to help ...
    Bob Schor

  • Flash 9 ActiveX error

    Since installing Flash 9 I am having a problem that seems to
    be ActiveX related. In Firefox, whenever I go to a page with Flash
    I get an ActiveX error box telling me: "Could not create control
    {00000000-0000-0000-0000-000000000000}. Check that it has been
    installed on your computer and that this page correctly references
    it." When I click on OK in the message box, the page finishes
    loading and seems to run fine. In IE, I usually just get a crash
    and the browser is forced to close. I really doubt that any control
    would have a name containing all zeros!!! What in the world
    happened here? Any ideas?

    Hey the cleanup method didn't work.
    However, i could  get the latest flash installed without the package, for some reason it keeps failing with the package. Version 11.8 and  under installs with the package.
    I know the package works because we've used the same package for thousands of other machines and they've worked.
    This is an interestin issue

  • Unable to install Adobe Flash Player 11 ActiveX -- Error 1722

    Hi,
    I am unable to install Flash Player 11.5.502.149 on Windows 8.  The error reported is:
    Adobe Flash Player 11 ActiveX -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action NewCustomAction1, location: C:\Users\Nick\AppData\Local\Temp\InstallAX_11_5_502_146.exe, command: -install -msi
    We have tried running uninstall_flash_player.exe to try and clean things up but this still fails.  Is there a known problem with installing Flash player ActiveX on Windows 8?  Flash player Plugin works fine just the ActiveX version which does not.
    Thanks,
      Nick

    Flash Player on IE10 for Windows 8 is delivered by Microsoft; use Windows Update to obtain the latest Flash Player version.

  • Adobe Flash Player 10 ActiveX -- Error 2753. The File 'InstallAX.exe' is not marked for installation

    Adobe Flash GPO Deploy error “InstallAx.exe” Flash won’t uninstall
    correctly from a GPO deployment
    Error message from EventViewer: Product: Adobe Flash Player 10
    ActiveX -- Error 2753.The File 'InstallAX.exe' is not marked for
    installation.
    I am running Windows 7 and I am trying to uninstall Adobe Flash
    Player 10 ActiveX yet I can't find it on the list of Add/Remove
    Programs. I have cleaned the registry with CCLEANER application. I
    also followed instructions for removing the registry keys of the
    following website
    http://faultbucket.ca/2010/12/adobe-flash-gpo-deploy-error-installax-exe and still nothing.
    I am stuck and I don't know how to remove Adobe Flash Player 10
    ActiveX from my computer. Can anyone help me Much Appreciated!

    We had this same problem recently and the faultbucket link pointed me in the right direction however the registry entries were different for us.
    Most of our computers were fine but some had problems with Flash Plugins and some with Activex and some both.
    The  best way to fix a computer or set of computers is to first uninstall  all Flash and then note all remaining Flash entries in  HKEY_CLASSES_ROOT\Installer\Products.
    These entries can vary based on what versions got corrupted on your systems.
    This  ended up being the fix for us for both Flash Plugin and ActiveX  version. We tested it and had great success as a .reg file and are now  deploying it via GPO.
    (We had 4 defunct registry entries for Flash plugin and 3 for Activex)
    Windows Registry Editor Version 5.00
    [-HKEY_CLASSES_ROOT\Installer\Products\371245C90F69D5349AC564C8AA7CE50A]
    [-HKEY_CLASSES_ROOT\Installer\Products\6205276E056AC94498B76D7B5AEE0A85]
    [-HKEY_CLASSES_ROOT\Installer\Products\6F8CE5C1F5C5F12458EB19B9D5C0DAC4]
    [-HKEY_CLASSES_ROOT\Installer\Products\FB0D7F53BA803E244A30FA7927CA12A6]
    [-HKEY_CLASSES_ROOT\Installer\Products\30D9D84132D5F4D45B0DAB06034CD5FC]
    [-HKEY_CLASSES_ROOT\Installer\Products\C460100B160DEAB4091314A638D85563]
    [-HKEY_CLASSES_ROOT\Installer\Products\4E867BFF724E3554CB631AF1E5269AD4]
    (if you copy and paste this fix remove the spaces near the end of the line added by these forums for some reason)
    Reply if this solution or a similar one works for you.

  • Modal message popup is causing TestStand ActiveX error

    When I execute a modal Message Popup step, I get the following error:
    ActiveX Error
    sCode = 0xffffbba4
    Source: TSAPI
    Description: Could not connect to TestStands TSSync server.
    If the Message Popup is not modal, the sequence executes just fine.
    I am making the Message Popup modal by selecting the "Make Modal" option.

    There is a call to TS_StartModalDialogEx function in the \API\CVI\tsutil.c file which in turn calls into the engine. The engine needs the sync server to implement the modality. I would assume that the file \bin\TSSync.dll is missing or not registered. You can register the dll by running "regsvr32.exe \bin\TSSync.dll". See if this fixes your problem.
    Scott Richardson
    National Instruments

  • Edit "Edit Property Loader..." cause an ActiveX Error

    Hello
    I have just make a fresh install of TS 3.1f1
    I have inserted a Property Loader step, and whenn I click on "Edit Property Loader..." button I get an ActiveX error:
    sCode = 0xffffbc66, Description: Unknow variable or property name 'SequenceFile'. Error accessing item 'SequenceFile'.
    Regards,
    Yannick Willener

    hi,
    Can you call the
    "\Examples\PropertyLoader\PropertyLoader.seq " and test this sequence? If you cann't run this sequence succsessfully may be you have to deinstall TS and install it again. If you run the sequence successfully than it seems that you have some problems with calling values through activeX. Check please the format of variables.
    Regards
    TN

  • 429 ActiveX error on Control Tables

    Hi,
    We just migrated on application into a different FDQM enviromnet. In the workbench, when we open control tables, we get a 429 ActiveX error. Any help will be appreciated..

    This error normally pops up if the target client (HFM/Enterprise) is not installed on the WorkBench server or PC.
    Also it could be that you don't have a machine profile for the pc/server you're running WorkBench on.

  • Recovering from ActiveX Error in TestStand

    If I were running a CVI DLL code module from TestStand using the CVI
    adapter and terminated it somewhere in the code module by using the Windows
    SDK ExitProcess(0); command it will return to TestStand and generate an
    ActiveX error as follows:
    " -17702; An error occurred accessing the CVI ActiveX
    automation server.The CVI adapter will attempt to reconnect on next
    execution."
    It appears any subsequent communication to the CVI server in this same
    execution (i.e. by other steps that follow) will fail also until the
    execution is re-started. Is there a way to reset/restart the communication
    in this sequence's execution between TestStand steps? i.e can the CVI
    adapter reconnect on this execution. How does TestStand re-establ
    ish
    communication with the CVI server using the CVI adapter ? Does it have to
    destroy that object and create a new one to recover ?

    Scott,
    Your recap is excellent. The SDK ExitProcess() function is called in a different thread in our code module when the Terminate button on our ActiveX operator interface is clicked. This kill's the code module immediately and returns to TestStand with an ActiveX error which can be ignored. Then the Cleanup group can be run to reset the test equipment. At this point you must restart another execution to reset the ActiveX connection. This model works well if you are resetting and not trying to perform other steps once you return to TestStand. This implies our code module will always be run out of process. I tried the Time Limits idea you suggested but that still does not terminate the thread our code module is executing in. The RaiseException idea I also tried. I raised the exception in the main thread of the code module that was executing. This has the side effect of returning to the CVI debugger instead of TestStand which is not good. We are going to stick with the ExitProcess() method for the time being and see how it works in the long run. In the next version of TestStand it would be nice if this feature could be added. Also for your info due to TestStand's architecture it seems all code module's that are called using the CVI adapter must return from the main of the code module that was called in TestStand. This implies that if the main has several layer's of functions below it that it calls. Somehow these call's must recognize (poll) for the termination event from TestStand and return all the way up the call stack back to the original code module that was called by TestStand. Therefore all of the users code/function's must error check every line of code in the main to see if we want to return and every function must check every line of code to return up the stack to the main. This makes the code a lot less readable in main for example if(function == FAIL) return -1; instead of function();. The only alternative to this method that I have found is the ANSI "C" setjmp/longjmp command which will allow us at any point in our Test Code or sub function's to return cleanly back to TestStand. This is preferable to me because the code is more readable and functionally equivalent to returning up the call stack. Do you know of any other methods of doing this ? Our individual code modules may be up to 1000 lines and take anywhere from 1 - 10 minutes to complete with many nested function's being called from the main.
    Thanks For Your Help,
    Tom D

  • ActiveX Automation Server Error -18351

    I wrote a program using TestStand Version 4.5.1 and ran into this error code as soon as I initialize it.
    Error loading type library/DLL.
    Error Code: -18351; An error occurred reading an ActiveX Automation server type libarary Step 'Read Database Otion - Construct' of sequence 'Get Database Options' in 'SequentialModel.seq'
    Bottom line, I'm not using or planning to use any form of database with my program. I just want it to run.
    There was another document with ID 4IE7CCM6 that addressed this issue. Tried it, didn't help. I also went to the related links referring to the Knowledgebase document with ID 1HBAMMSR, didn't help either.
    How do I fix this?
    Attachments:
    errors_activeX.docx ‏200 KB
    errors_activeX.docx ‏200 KB

    Whether you are using database logging or not, you should not get an error like that when database options are loaded. From the kb's you specified it sounds like there was an issue with a COM/ActiveX server not getting registered in the past. Especially on machines in which TestStand was installed from a deployment rather than the main installer. Have you tried running the version switcher like the KB suggested? Did it succeed or give an error? If it gave an error what was the error? Could you perhaps try a fresh install of TestStand on a clean machine?
    -Doug

  • Error -18351 when accessing TS database options

    I have not used the system in a month and now when I try to access the 'Database options' window in Teststand from the Configure menu I receive the following message:
    Details
    The type library information for 'TestStand API 2.0' was not found.
    Make sure the server is registered with the system.
    Error Code
    -18351; An error occurred reading an ActiveX Automation server type library.
    Location
    Step 'Create UUTResult' of sequence 'Edit Database Options' in 'Database.seq'
    Has anyone seen this before? I am using TS 3.1 on Win2K.

    Hey plf,
    Have you seen this Discussion Forum.   I think it is very similar to the error you are seeing.  Try the steps in there and if that fails then let me know and we'll see what else we can figure out. 
    You need to open the Database.seq file inside of this directory: C:\Program Files\National Instruments\TestStand 3.1\Components\NI\Models\TestStandModels\Database  and go to the Edit Database Options from the View drop down.  Then you can right click on Create UUTResult and click on Specify Module.  Yours should be similar to the one I'm attaching.  Check and make sure it is.
    Message Edited by Sam R on 02-09-2006 12:47 PM
    Message Edited by Sam R on 02-09-2006 12:48 PM
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~
    Attachments:
    SpecifyModule.jpg ‏1177 KB

  • Activex Error.

    Hi,
    we installed FR Studio on a new system and facing some errors. This is a FR 11.1.1.3 version on a clients desktop.
    The error is "Runtime error"429". Activex cant create an object".
    Please suggest what would be the error.
    Thanks,

    Hi, We even tried to uninstall the FR Studio using the Uninstall feature available with foundation services and install it back. I ran the HRrunAnt.cmd. We are still facing the Activex issue. The user has Hyperion Pillar also installed on her system to access some applications. Is that the reason for the issue? Also its the same case with other users too, but they dont have any issues working on Pillar and FR Studio.
    Please suggest.

  • Activex Error in RoboHelp 8 Windows 7

    I'm getting an error when I start RoboHelp8 HTML.  The error says:
    One or more Activex controls could not be displayed because either:
    1) You current security settings prohibit running ActiveX controls on this page, or
    2) You have blocked a publisher of one of the controls.
    As a result. the page might not display correctly.
    Has anyone seen this problem before?  My IT guys have enabled every ActiveX setting they can and I'm still getting this when I start RoboHelp.
    Any ideas or help are appreciated.
    Thanks.  Bob

    Hi Bob and welcome of the RH community.
    Can you be a bit more specific by what you mean by "start RoboHelp". What version are you running? Is it the RoboHelp HTML or RoboHelp foe Word? Is it the application at all or the output generated from it? If so, what output?
      The RoboColum(n)
      @robocolumn
      Colum McAndrew

  • Trying to launch excel2007 using activeX error!!

    I am trying to launch excel2007 using activeX and I receive the following error:
    Undefined symbol '_Excel_NewApp@20' referenced in "excel.c".
    Here is what I did:
     ///excel.c
    #include <cvirte.h>  
    #include <userint.h>
    #include <cviauto.h>
    #include <utility.h>
    #include <ansi_c.h>
    #include "excel.h"
    #include "excel2000.h"
    static int panelHandle;
    static HRESULT status;
    static void InitVariables(void);
    static int appVisible = 1;
    static int excelLaunched = 0;
    int PANEL_VISIBILITY;
    static ExcelObj_App   ExcelAppHandle = 0;      
    int main (int argc, char *argv[])
     if (InitCVIRTE (0, argv, 0) == 0)
      return -1; /* out of memory */
      CA_InitActiveXThreadStyleForCurrentThread (0, COINIT_APARTMENTTHREADED);
     if ((panelHandle = LoadPanel (0, "excel.uir", PANEL)) < 0)
      return -1;
     InitVariables();
     DisplayPanel (panelHandle);
     RunUserInterface ();
     DiscardPanel (panelHandle);
     return 0;
    static void InitVariables(void)
        // Demo path and filename
        GetCtrlVal (panelHandle, PANEL_VISIBILITY, &appVisible);
        return;   
    int CVICALLBACK runExcel (int panel, int control, int event,
      void *callbackData, int eventData1, int eventData2)
     HRESULT error = 0;
     switch (event)
      case EVENT_COMMIT:
        SetWaitCursor (1);
        error = Excel_NewApp (NULL, 1, LOCALE_NEUTRAL, 0, &ExcelAppHandle);
        SetWaitCursor (0);
        if (error<0)
         MessagePopup ("Error", "An error occurred trying to launch Excel !!!");
        MakeApplicationActive ();
        excelLaunched = 1;   
        printf("ai pornit excel");
       break;
     return 0;
    The file excel2000.h is the one from the examples National Instruments\CVI2009\samples\activex\excel and here is defined among others:
    HRESULT CVIFUNC Excel_NewApp (const char *server, int supportMultithreading,  LCID locale, int reserved, CAObjHandle *objectHandle);
    Please help!

    Hello Annees,
    Thanks for posting on
    National Instruments Forum. 
    Try to recompile your
    instrument driver you're using to communicate with MS Excel:
    Tools>>Create
    ActiveX controller then choose Excel Server.
    Benjamin R.
    R&D Software Development Manager
    http://www.fluigent.com/

  • ACF ActiveX error Adobe Interactive Forms

    my enviornment
    server:  windows 2003
    WebAS 6.40 SR1 SP9
    ADS 1.00 SR1 SP9
    (all configured according to ads installation
    and configuration guides, installed adobe
    credentials file and checked password,
    ADSCallers group, ADSUser security role
    assigned, basic authentication set up)
    client(s)
    windows XP home SP2
    windows XP professional SP2
    windows 2000 SP4
    all clients have ACF installed from xACF.exe
    file dated 2-2-2005
    Adobe Reader 6.0.2
    IE 6.0 (all ActiveX options enabled)
    get the same error on all clients
    from Microsoft script debugger
    CSF.api.acf.notifyHooked("EGPD.InteractiveView.InteractiveForm2")
    are there different versions of xACF.exe out there
    i know the xACF_11.exe will not work with SR1 SP9

    If you are at a point in your development cycle where it is feasible, I recommend that you update to SP11.  There were several issues that you may come across later in your testing that were resolved with sp10 and sp11.  (I would have to dig through our list of bugs/fixes if you would like specifics.)Also, with the 7.0.0 client, the client interaction with IE is much more stable.  We had many issues with Reader 6.0.2.  6.0.3 seemed to correct some, but not all. (IE would abnormally terminate when submitting forms or when cancelling forms).
    We have not worked with SP9 since before the beginning of the year. We implemented SP10 in late December/early January, and saw improvement. We upgraded to sp11 in March (actually had an early version to test with prior to that) and have seen much improvement in the behavior of the client pieces as well as some server side issues with both 6.0.3 clients and especially with 7.0.0 clients.  (I understand that your issues now appear to be compatibility between client and ads server, so they may or may not be resolved this way).  We are currently running SP11 (with additional note 766191 for the latest xacf files), Reader 7.0.0 and 7.0.1, IE 6 on a combination of XP SP1/SP2 and win2k clients.   The added bonus is that the client dll's are automatically downloaded at runtime as of SP10.  (and are signed controls, so you can tighten up your browser security). This is a recommedation from a fellow tester, Matthias is the ultimate guru.

Maybe you are looking for

  • How to get the tv icon back on my Apple TV

    TV icon is gone

  • Can't use $$$ in account!

    When I attempt to purchase music on iTunes, the $34 I have in my account is not recognized.  I am asked how I will pay but there isn't the option of paying with money I already have in my account.  Help....need music soon for party!

  • Checkbox in report interactive

    how possible mark all checkbox´s with a button in a report interactive ? anybody have a code font ? thanks !

  • Crystal XI.2 creating Three-Part Table References using Progress 10.1B ODBC Drivers

    Post Author: Lauren CA Forum: Migration to XI R2 I create reports using Crystal XI.2.  Some of my users run them using 9 or 10.  I am accessing data in a Progress database using 10.1b ODBC Driver. When the user tries to run the report, they get the f

  • Query for counts of all_objects

    Oracle 11.2.0.1 I have to generate the count of all types of objects in below style. USERNAME     TABLES          INDEXES          MVS          PROCEDURES     FUNCTIONS     CLUSTER      USER1              10                   5            1