Problem distributing javabean ActiveX component

I have tried using javareg and using Sun's ActiveX Bridge to register my javabean (called NovaBean) as an ActiveX component for use by a VB project. Both javareg and the bridge work on my machine, but when I try to install the app on someone else's machine, I get:
Run-time error '372': Failed to load control 'NovaBean' from NovaBean.tlb. Your version of NovaBean.tlb may be outdated.
Actually I couldn't get the Sun bridge version of the control to run on their machine at all, they had jre v. 1.2 instead of my 1.3.1. I edited the .reg file to point to 1.2 instead of 1.3.1 but that didn't help. The control wouldn't even show up in design time, it crashed vb. With javareg, the control at least worked in design time, but died at runtime with the installed project with the error above.
Could this be related to my needing to include a .jar file as a library reference? Do I have to put the jar library on their computer as well?
After experimenting, these steps could be wrong:
I had to jar the component with the libary jar file to get it to work with the bridge:
jar -cvfm NovaBean.jar NovaBean.txt NovaBean.class mylib.jar
I also had to run the packager with:
bin\java.exe -cp lib\jaws.jar;lib\rt.jar;lib\ext\mylib.jar sun.beans.ole.Packager
I didn't specify this library with javareg anywhere. Any ideas?
Thanks,
Jen

Run-time error '372': Failed to load control
'NovaBean' from NovaBean.tlb. Your version of
NovaBean.tlb may be outdated.usually i see errors like this if i have recompiled and re-jared and not
repackaged. then the tlb is out of date with method signatures of the
classes in the jar. this doesn't sound like your problem but it might be
so i'll mention it.
Actually I couldn't get the Sun bridge version of the
control to run on their machine at all, they had jre
v. 1.2 instead of my 1.3.1. I edited the .reg file to
point to 1.2 instead of 1.3.1 but that didn't help.yikes... methinks this is the problem here. is your bean 1.2 compatible?
as a next step try installing the bean/control on a machine that has
1.3.1 and see if that helps. i wonder if you are having some versioning
problem either in the packager or in the classes themselves.
The control wouldn't even show up in design time, it
crashed vb. With javareg, the control at least
worked in design time, but died at runtime with the
installed project with the error above.that seems odd. i cannot help you with javareg though as i have never
used it.
Could this be related to my needing to include a .jar
file as a library reference? Do I have to put the jar
library on their computer as well?are you referring to NovaBean.jar or mylib.jar NovaBean for sure you
need it on the client. the other one too.
when you do this
jar -cvfm NovaBean.jar NovaBean.txt NovaBean.class
mylib.jar
you are adding the jar file itself not it's contents to the NovaBean.jar
which may not be what you are intending.
if you want it all one jar you should extract the files from mylib and
re-jar it all together.
well there are my ideas. hope this helps a bit...
actually one more thing you may have alreasy seen this but
http://www.reallyusefulcomputing.com/java/faq.php#five

Similar Messages

  • Remote control using DCOM: Error: "ActiveX component cannot be created."

    Hello,
    I want to address a OMICRON CPC100 device via remote control. I have a dll ("TESTCONTROL.dll"), which provides methods to control the CPC100. In order to encapsulate this functionality, I've written a VB.NET-dll ("CLC_CL_for_Net.dll") (it's a class-dll) which calls methods of TESTCONTROL.dll. Now I want to use CLC_CL_for_Net.dll in LabVIEW.
    Here's the code of CLC_CL_for_Net.dll:
    Imports TESTCONTROLLib
    Namespace MyCPCNamespace
        Public Class CPCClass
            Public Sub New()
            End Sub
            Public Sub testfunction(ByVal ipaddress As String)
                Dim tc As TestProcedure
                Dim atm As IATMTest
                tc = CreateObject("TestControl.TestProcedure", ipaddress)   '<-- here the error occurs!
                atm = CreateObject("TestControl.ATMTest", ipaddress)
                atm.Activate(300, 10, 1)
                atm.Deactivate()
            End Sub
        End Class
    End Namespace
    In order to enable DCOM on my computer, I did the following:
    - I switched the firewall off.
    - I started "dcomcnfg.exe", chose "Component Services/Computers/My Computer -> Properties" and checked the checkbox "Enable Distributed COM on this computer".
    - I also chose the tab "My Computer Properties/COM Security" and allowed everyone full access and launch
    permissions.
    - I created an exe-file from my LabVIEW VI, which uses the dll, with the help of the LabVIEW Application Builder.
    For this exe-file and also for the TESTCONTROL, I set the authentication level to "None".
    For test purposes, I used my dll in a C++ project. There everything works fine. However, when I try to use the dll
    in LabVIEW (using LabVIEW's .NET constructor node and method node, which you can find under Connectivity -> .NET), the program fails at the line "tc = CreateObject("TestControl.TestProcedure", ipAddress)".
    Here the error message displayed by LabVIEW (I translated it from German into English):
    "Error 1172 has occurred at Error calling method CLC_CL_for_Net.MyCPCNamespace.CPCClass.testfunction of ObjectId
    handle: 0x2BB117C for obj 0x3F19E1D[CLC_CL_for_Net.MyCPCNamespace.CPCClass] in domain [LabVIEW Domain for Run] and
    thread 3792, (System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
     Inner Exception: System.Exception: The ActiveX component cannot be created.
    ) in CPC100_RemoteControlVI.vi"
    As the dll works when I use it in the C++ project, I don't understand why this error occurs when I use the dll in
    LabVIEW. Do I have to give LabVIEW any special permissions?
    Can anyone help me to solve this problem? Thanks a lot for your efforts!
    Regards,
    Matthias

    Hi Matthias,
    I am not really familiar with .NET assemblies but I found couple informations on your error :
    First of all, about the Error 1172 in LabVIEW, there is two things to proof:
    Ensure that the .NET assemblies that you are using are saved in the root directory of the top-level VI.
    Add the .NET assembly as a reference in LabVIEW by selecting Tools»Advanced»NET Assembly References. Click the Add button and navigate to the location of all the assemblies that you want to call.
    Those two steps sometimes solve Error 1172 related problems. I also found some information about the "ActiveX component cannot be created" error. A .Net Class library needs to be in a COM wrapper in order for it to be called through COM methods, such as ActiveX. The way to do so is:
    1. Create a new .NET Class Library project.
    2. Remove the Class1.vb that is created.
    3. Click Add Class on your project.
    4. Choose "COM Class", and add it.
    5. Add at least 1 function or sub in it.
    6. Compile it, and Visual Studio should registrer it automaticly.
    If you whish to manuall reg it, or create a registry entry file, use "RegAsm.exe" in the .NET Framework folder.
    I hope this could be any helpful to you
    Regards
    Florian Abry
    Application Engineer Group Leader
    NI Germany

  • Crystal Report Addon Error : ActiveX Component Can't Create Object

    Hello Experts,
    We are facing an problem when we start the Crystal Report Addon .The error message getting
    displayed is  "CR_Crypto ActiveX Component Can't Create Object".This issue is happening only on the
    server its working fine on the client. We had even unistalled and re-installed the addon in the server but
    still it throws the error when we start the addon.
    Please help us to resolve this issue
    Thanks,
    Vishwanath

    Dear Friend,
                 I had described the problem to our technical support team, and they replied as follows u2013
    They solved the Script related error by several stages.
    They checked the machine for any mal-ware existence by the tool provided by Microsoft (MS Mal-ware remover).
    Then they tried by installing the following patches from Microsoft u2013
    http://support.microsoft.com/kb/949140
    Windows Script 5.7 for Windows XP
    http://www.microsoft.com/downloads/details.aspx?familyid=887fce82-e3f5-4289-a5e3-6cbb818623aa&displaylang=en
    Windows Script 5.6 for Windows Server 2003
    http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en
    Windows Script 5.6 for Windows XP and Windows 2000
    The internal matter to this problem was about the following DLL and its version u2013
    C:\WINDOWS\system32
    vbscript.dll
    5.5.0.8820
    Desired
    5.6.0.8820
    Check, if the information helps you.

  • Can i create activex component of AcroExch.PDDoc in Adpbe 9.0 version

    I tried to create obeject of AcroExch.PDDoc in my application where ia have Adobe reader 8.0 installed on my machine.
    So can the problem will be solved if i will install Adobe 9.0 on my machine.
    Thanks in advance for any suggestion..

    You can use this activex component when you install Adobe Acrobat, not Adobe Reader.

  • Runtime error 429, activeX component cant create object while using netbet pro on windows 7 & 8.1 HELP!!!

    runtime error 429, activeX component cant create object while using netbet pro
    does anyone know what I could do to fix this problem??? netbet pro was't available for a while then it's back but has yet to run

    What's netbet pro?
    I'd recommend asking questions about third party applications in the vendor's forum, not a Microsoft forum meant for admin scripting.
    EDIT: Ah, some gambling website...
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • ActiveX component could not be created in Windows 7 64bits, with Microsoft Office 2010 Sp132 bits

    Good day to everyone:
    We are experiencing an issue during the installation of a software for one of our clients. The software is EVSpc 5.0 builded in 32 bits version and provided by the MassHealth department for insurance verifications purposes.
    The operative system in most machines is Windows 7 Professional 64 bits (which has C:\Program Files AND C:\Program Files (x86)), the Microsoft Office is 2010 SP1 32 bits. All office applications work perfectly in the system.
    We run the installation of the software as the local Administrator (just as the installation instructions manual refers) and the installation it is completed. Then according the manual we have to refer the ODBC data sources to select the Microsoft Access
    Driver (*.mdb) and the route of the database file (Access file) in the server. Finally we run the registration file to perform modifications in the registry. This is the registry file instruccions:
    Windows Registry Editor Version 5.0
    [HKEY_CURRENT_USER\Software\VB and VBA Program Settings]
    [HKEY_CURRENT_USER\Software\VB and VBA Program Settings\EVS]
    [HKEY_CURRENT_USER\Software\VB and VBA Program Settings\EVS\EVS]
    "EquipmentID"="PCX33333"
    "InstallPath"="C:\\Program Files \\EVSpc50\\"
    When we tried to use the software this error message pops up:
    "ActiveX component can't create object Exception in callAIMLoginService Error Handle Error Number=429 Error on LastDllError=0 Error HelpContext=1000429"
    We have tried different suggestions found on Internet. Repairing the Office suite, Change the permission for the regedit file, register manually the dao360.dll, etc
    We called the IT depaartment of MassHealth and the IT person in charge has left the job, and nobody knows why it isn't working.
    Any help will be appreciated. Thanks.

    You will have to locate and contact the software engineering team that put this package together.  It is impossible to tell you what the problem is without the software engineers' detailed knowledge of the program.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • How to use Flash Lite 2.1 as ActiveX component in WM application

    How to embed Flash lite 2.1 as an ActiveX component in
    Windows Mobile application(in C#)?
    From where can i include the supporting flash lite 2.1 dll's.
    Thanks in advance.
    Waiting for your reply.

    I'm having a similar (or the same) problem: I want to embed a
    flash lite (2.0) as an ActiveX component into Windows Mobile. I'm
    using Visual Studio 2005 (VC). For the desktop it works pretty
    well, but for the mobile emulator, the flash component shows no
    video. No errors are thrown.
    could you solve your problem, kts_82?
    Thank you.

  • Call a dll with an activeX component gives error

    Hello all,
    My program consist of:
    - Main program
    - DLL's
    How it works:
    The main program is the interface for the user, this main program call's several dll's
    The problem:
    The main program runs withought problems, but when it call's a dll, which also call's an activeX component, I get an error.
    I then made a executable from the dll which then works ok, no problem.
    When I click the retry it runs ok, but when I call it again I get the message again.
    The message does allways accur, but still very often
    Conclusion:
    The error message only comes when I call it as a dll, when the dll is standalone executable no problems occur.
    Below you can see how I call the dll:
    Can someone please help me with this problem?
    greetz,
    Bart

    Hello Bas,
    I have included the vi which calls de dll(executedll.vi) en the dll in VI form(plugin.vi & plugin.lvproj).
    As you can see the dll calls the canconfigurator activex component.
    And closes the activex component when done.
    This plugin will be called several times in the test enviroment.
    gr,
    Message Edited by darkxceed on 02-12-2010 04:33 AM
    Message Edited by darkxceed on 02-12-2010 04:33 AM
    Attachments:
    ExecuteDLL.vi ‏12 KB
    plugin.lvproj ‏8 KB
    plugin.vi ‏31 KB

  • SBO2004A: Runtime Error 429 ActiveX Component can't Create Object

    Hello,
    We have an Addon developed with VB6 that run without problems with SBO 6.5.
    We have upgraded to SBO2004A and I have referenced in the source code to the 2004 UI and DI. I debug mode (from IDE) we don't have problems, but when I try to execute the addon from a client, I get this error message:
    <b>Runtime Error 429 ActiveX Component can't Create Object</b>
    Thanks in advance
    Blas

    I'm using Installshield 10.5 to generate the setup file. It's much more easy and not requiered to install Framework 1.1 in each PC client before to install the Addon.
    You have to create and msi project, and write the Installscript to retrieve the install directory from parameter string passed by SAP.
    After install you must execute the AddOnInstallAPI.EndInstall to notify SAP:
    #include "ifx.h"
    prototype  LONG AddOnInstallAPI.EndInstall();  
    prototype  LONG AddOnInstallAPI.RestartNeeded();
    // OnFirstUIBefore
    // First Install UI Sequence - Before Move Data
    // The OnFirstUIBefore event is called by OnShowUI when the setup is
    // running in first install mode. By default this event displays UI allowing
    // the end user to specify installation parameters.
    // Note: This event will not be called automatically in a
    // program...endprogram style setup.
    function OnFirstUIBefore()
        number  nResult, nLevel, nSize, nSetupType;
        string  szTitle, szMsg, szOpt1, szOpt2, szLicenseFile;
        string  szName, szCompany, szTargetPath, szDir, szFeatures, szTargetdir;
        BOOL    bLicenseAccepted;
        LIST listID;
    begin     
        nSetupType = COMPLETE;       
        szDir = TARGETDIR;
        szName = "";
        szCompany = "";
        bLicenseAccepted = FALSE;
    // Beginning of UI Sequence
    Dlg_Start:
        nResult = 0;
    Dlg_SdWelcome:
        szTitle = "";
        szMsg = "";
        //{{IS_SCRIPT_TAG(Dlg_SdWelcome)
        nResult = SdWelcome( szTitle, szMsg );
        //}}IS_SCRIPT_TAG(Dlg_SdWelcome)
        if (nResult = BACK) goto Dlg_Start;
    Dlg_SdLicense2:
        szTitle = "";
        szOpt1 = "";
        szOpt2 = "";
        //{{IS_SCRIPT_TAG(License_File_Path)
        szLicenseFile = SUPPORTDIR ^ "License.rtf";
        //}}IS_SCRIPT_TAG(License_File_Path)
        //{{IS_SCRIPT_TAG(Dlg_SdLicense2)
       // nResult = SdLicense2Rtf( szTitle, szOpt1, szOpt2, szLicenseFile, bLicenseAccepted );
        //}}IS_SCRIPT_TAG(Dlg_SdLicense2)
        if (nResult = BACK) then
            goto Dlg_SdWelcome;
        else
            bLicenseAccepted = TRUE;
        endif;
    Dlg_SdRegisterUser:
        szMsg = "";
        szTitle = "";
        //{{IS_SCRIPT_TAG(Dlg_SdRegisterUser)     
       // nResult = SdRegisterUser( szTitle, szMsg, szName, szCompany );
        //}}IS_SCRIPT_TAG(Dlg_SdRegisterUser)
        if (nResult = BACK) goto Dlg_SdLicense2;
    Dlg_SetupType2:  
        szTitle = "";
        szMsg = "";
        //{{IS_SCRIPT_TAG(Dlg_SetupType2)     
       // nResult = SetupType2( szTitle, szMsg, "", nSetupType, 0 );
        //}}IS_SCRIPT_TAG(Dlg_SetupType2)
        if (nResult = BACK) then
            goto Dlg_SdRegisterUser;
        else
            nSetupType = nResult;
            if (nSetupType != CUSTOM) then
                szTargetPath = TARGETDIR;
                nSize = 0;
            endif;  
        endif;
    Dlg_SdAskDestPath2:
        if ((nResult = BACK) && (nSetupType != CUSTOM)) goto Dlg_SetupType2;
         szTitle = "";
        szMsg = "";
        if (nSetupType = CUSTOM) then
                    //{{IS_SCRIPT_TAG(Dlg_SdAskDestPath2)     
    //          nResult = SdAskDestPath2( szTitle, szMsg, szDir );
                    //}}IS_SCRIPT_TAG(Dlg_SdAskDestPath2)
            TARGETDIR = szDir;
        endif;
        if (nResult = BACK) goto Dlg_SetupType2;
    Dlg_SdFeatureTree:
        if ((nResult = BACK) && (nSetupType != CUSTOM)) goto Dlg_SdAskDestPath2;
        szTitle = "";
        szMsg = "";
        szTargetdir = TARGETDIR;
        szFeatures = "";
        nLevel = 2;
        if (nSetupType = CUSTOM) then
            //{{IS_SCRIPT_TAG(Dlg_SdFeatureTree)     
           // nResult = SdFeatureTree( szTitle, szMsg, szTargetdir, szFeatures, nLevel );
            //}}IS_SCRIPT_TAG(Dlg_SdFeatureTree)
            if (nResult = BACK) goto Dlg_SdAskDestPath2; 
        endif;
    Dlg_SQLServer:
        nResult = OnSQLServerInitialize( nResult );
        if( nResult = BACK ) goto Dlg_SdFeatureTree;
    Dlg_ObjDialogs:
        nResult = ShowObjWizardPages( nResult );
        if (nResult = BACK) goto Dlg_SQLServer;
    Dlg_SdStartCopy2:
        szTitle = "";
        szMsg = "";
        //{{IS_SCRIPT_TAG(Dlg_SdStartCopy2)     
        nResult = SdStartCopy2( szTitle, szMsg );     
        //}}IS_SCRIPT_TAG(Dlg_SdStartCopy2)
        if (nResult = BACK) goto Dlg_ObjDialogs;
        return 0;
    end;        
    // OnSetTARGETDIR
    // OnSetTARGETDIR is called directly by the framework to initialize
    // TARGETDIR to it's default value.
    // Note: This event is called for all setups.
    function OnSetTARGETDIR()
    number nId, nIgnore, nResult;
    string szId, szTARGETDIR; 
    string wCMDLINE;
    LIST listID;     
    begin     
        // In maintenance mode the value of TARGETDIR is read from the log file.
        if( MAINTENANCE ) then
            return ISERR_SUCCESS;
        endif;
        // Set TARGETDIR to script default.
        TARGETDIR = "<FOLDER_APPLICATIONS>
    <IFX_COMPANY_NAME>
    <IFX_PRODUCT_NAME>";
        if (CMDLINE != "") then 
           wCMDLINE = CMDLINE;   
           StrReplace (wCMDLINE, '"', '', 0);
           listID = ListCreate (STRINGLIST); 
           if (StrGetTokens (listID, wCMDLINE, "|") > 0) then
              MessageBox ("Parametros incorrectos.", SEVERE);
           else
              ListGetFirstString (listID, TARGETDIR);  
              //MessageBox (TARGETDIR, INFORMATION);
           endif;
           ListDestroy (listID); 
           return 0;
        endif;
        // Read TARGETDIR from the media.
        nResult = MediaGetData( MEDIA, MEDIA_FIELD_TARGETDIR, nIgnore, szTARGETDIR );
        // Use the TARGETDIR from the media if anything was read.
        if( nResult >= ISERR_SUCCESS && StrLengthChars( szTARGETDIR ) ) then
            TARGETDIR = szTARGETDIR;
        endif;
         // Customize the default TARGETDIR for multi-instance application.
         // TODO: If you want something different customize the code below.     
         if( MAINT_OPTION = MAINT_OPTION_MULTI_INSTANCE  && MULTI_INSTANCE_COUNT > 0) then
              // Start with the current multi-instance count plus one.
              nId = MULTI_INSTANCE_COUNT + 1;
              // Find a unique TARGETDIR.
              while( ExistsDir( TARGETDIR ) = EXISTS )
                   // Convert to string.
                   NumToStr( szId, nId );
                   // Update IFX_MULTI_INSTANCE_SUFFIX
                   IFX_MULTI_INSTANCE_SUFFIX = "_" + szId;
                   // Update TARGETDIR
                   TARGETDIR = TARGETDIR + IFX_MULTI_INSTANCE_SUFFIX;
                   // Update nId
                   nId = nId + 1;
              endwhile;
         endif;  
    end;
    // OnEnd
    // The OnEnd event is called at the end of the setup. This event is not
    // called if the setup is aborted.
    function OnEnd() 
    string  wCMDLINE;
    LIST    listID;     
    STRING  DLL_FILE;
    INT     nValue;  
    LONG    nRC;
    NUMBER  nResult;
    begin
    if (CMDLINE != "") then
           wCMDLINE = CMDLINE;   
           StrReplace (wCMDLINE, '"', '', 0); 
           listID = ListCreate (STRINGLIST); 
           if (StrGetTokens (listID, wCMDLINE, "|") > 0) then
              MessageBox ("Parametros incorrectos.", SEVERE);
           else
              ListGetFirstString (listID, DLL_FILE);
              ListGetNextString (listID, DLL_FILE);  
              // MessageBox (DLL_FILE, INFORMATION);
           endif; 
           ListDestroy (listID); 
           nResult = UseDLL (DLL_FILE);
           if (nResult != 0) then
              MessageBox ("No se ha podido cargar\nAddOnInstallAPI.dll", SEVERE);
              abort;
           endif;
           if AddOnInstallAPI.EndInstall() > 0 then
              MessageBox ("Error al ejecutar AddOnInstallAPI", SEVERE);
              abort;
           endif;
    endif;
    end;

  • Runtime Error '429': ActiveX component can't create object

    Hi,
    I am using below code in vb6 application but this is throwing an "Runtime Error '429': ActiveX component can't create object" error.
    CreateObject("OracleInProcServer.XoraSession")
    is that due to any dll or reference error ?
    I have an Oracle client installed on my PC
    please share your solution
    Thanks in advance

    Are either of those 64 bit? If so, your problem is likely related to that.
    A 64 bit Oracle client doesn't support OO4O at all, so this code will never work with that client. You need to use a 32 bit one.
    If you are using a 32 bit client but on a 64 bit OS, I've found the 11.2.03 installer doesn't properly register the files. Manually registering OraOleDB11.dll may fix it, though we had to do some other registry stuff and it got very ugly. Backing up to a slightly older client should also fix the problem.

  • Using activex component in openGL app:  mouse event issues.....

    i'm trying to get the Flash ActiveX control to work in an
    OpenGL app. so far i've managed to get the bitmap data and map it
    to a texture succesfully. but i'm having problems getting the mouse
    interaction to work.
    i get an hWnd from IShockWaveFlash's IOleWindow. when i send
    mouse messages to it, the mouse is interpreted correctly by
    actionscript (for example, i have a custom mouse cursor tracking
    _xmouse, _ymouse which works fine).
    however, buttons do not behave correctly. rollover is
    erratic, and only in rare circumstances can i get a button's
    onPress handler to fire.
    am i sending the mouse events in correctly? any ideas of any
    other way to send them in?

    Thank you for you mail,
    After I read this article
    http://digital.ni.com/public.nsf/3efedde4322fef198​62567740067f3cc/610540bb3ea4ebdd862568960055e498?O​penDocument
    I realized that ActiveX events are not supported on CVI 5.01 at all since
    its introduced as a new feature of CVI 5.5
    "Azucena" wrote:
    >Daniel,>>Have you tried the function CA_RegisterEventCallback function?
    (I am using>CVI 5.5)>>This function is used by the functions generated by
    the Automation>Controller Instrument Driver Wizard.>It is not intended to
    be used directly.>>It basically registers a callback for an ActiveX Automation
    server object>event.>To register the callback, you must specify the CAObjHandle
    of the server>object from which you want to receive events.>>W
    ith CVI 5.5,
    there is an example for IE with Active X under the>samples/activeX directory.>>Hope
    this helps,>>Azucena>>"Daniel Bentolila" wrote in message>news:[email protected]..>>>>
    Has anybody tried to capture an ActiveX component event in a CVI>application>>
    ?>>>> for example I've created a new instance of the Internet Explorer>application>>
    from the CVI , using the ActiveX Automation controler I choosed the>Microsoft>>
    internet controls then I selected IWebBrowser2 and the IWebBrowserEvents2>>
    classes and generated the fp file for the CVI.>> Under the the IWebBrowserEvents2
    I see there are events fucntion for>example>> OnQuit, and I wanted my CVI
    app. to attach the quit event when the user>closes>> the IE window.>> Now
    at this point I expected to find some mechanism that let me to install>>
    some callback function where I can put my customised code to the quit>event,>>
    somehow I have to tell the IE to call my function whenever the OnQuit>callback>>
    fun
    ction is attached and I don't know how to do this.>>

  • !?!?!?!? JavaBean- ActiveX. How can I do that? !?!?!?!?!

    Hi.
    I have to develop a java class that should work as a ActiveX-Component. It does not have to be visible (not yet).
    Now I've read about those packager or wrapper things. Also, I've read about the plug-in. But actually, how do I have to use those tools, or wathever it is? Is there no step-by-step documentation? Do I have to install anything special? And why can I read things about ActiveX-Component bridges on the plug-in pages (it seems to me that it has not really something to do with a bridge)?
    I tried to use "java sun.beans.ole.packager" but I get the error NoClassDefFoundError. Why? And why is this class not in the "JavaTM 2 Platform, Standard Edition, v 1.3API Specification"?
    Yes, I'm new to Java. So I appreciate any help!
    Thanks,
    Robert

    Okay, finally I found a tutorial (I've found with google - where is a link on the sun site?).
    This could help me, if there was not the problem that I can not start the packager. I get the (boring by now) NoClassDefFoundError when I type "java sun.beans.ole.Packager". What is wrong there? Can anyone give me a hint?
    Thanks,
    Robert

  • New installation and SP2 upgrade of 7.5 - Cannot create ActiveX component

    Hi guys,
    New installation (w/ SP2) on 64bit Server 2003. when attempting to reach Http://Server/OSOFT I'm receiving the following error -
    Server Error in '/OSoft' Application.
    Cannot create ActiveX component.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Exception: Cannot create ActiveX component.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
    Stack Trace:
    [Exception: Cannot create ActiveX component.]
       Microsoft.VisualBasic.Interaction.CreateObject(String ProgId, String ServerName) +232
       OSoft.Consumers.ZFP.WebBase.PageBase.GetZFPText(Int32 intID, String strParam1, String strParam2, String strParam3, String strParam4, String strParam5) +422
       OSoft.Launch.Page_Load(Object sender, EventArgs e) +51
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       System.Web.UI.Control.OnLoad(EventArgs e) +67
       System.Web.UI.Control.LoadRecursive() +35
       System.Web.UI.Page.ProcessRequestMain() +731
    Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
    I've tried the following note (which seems very similar to my issue) only relevant to 7. and it did not help.
    1342140 - Cannot create ActiveX Component BPC 7 NW I've restarted the IIS and it did not help.
    Please advise..
    Thank you!

    Hi,
    I had the same problem with my BPC 7 installation yesterday and followed all the proposed solutions in this thread with no luck. When I checked,  the OSoftResSvrZFP_EN.dll was missing - you might be missing this too. Anyway, I solved it by running the BPC 7.0 server installation exe and then selected 'Repair'.
    Regards,
    Danny

  • Acrobat 9 - AcroExch.PDDoc - ActiveX component can't create object

    For opening a PDF file, I used following statement in VB6 :
    Set AcroFirstDoc = CreateObject("AcroExch.PDDoc")
    but it failed, with error "429- ActiveX component can't create object"
    I was searching for solution. I found one link -
    http://www.bigresource.com/Tracker/Track-vb-oY6Wgt9R/
    Is this true?
    What could be the problem? I need urgent help.
    Thanks

    If you want it 
    to continue working after you log off you have to change the COM+ properties 
    of the package to run as a specific user. 
    I recently installed the Evaluation edition of BizTalk Server, but am 
    finding 
    that I need to reinstall the software every time I log off(I am using the 
    same 
    logon throughout). 
    The problem I think is that BizTalk cannot start the XLANG Scheduler COM+ 
    component - If I try to start it manually (in Component Services) I get 
    "Catalog 
    Error: Error Code 80080005 - Server Execution Failed" 
    more info: http://www.programd.com/118_4e0323a255219dd1_1.htm
    If I try to run the XLANG Schedule created in the Tutorial, via 
    ExecuteTutorial.exe, the error message is "...ActiveX Component can't create 
    object. Error: 429 (0x1AD)" 
    BizTalk is unable to run any XLANG Schedule, I also have a Schedule setup 
    which 
    is activated via a File Receive Function. This fails also. 
    The System Log reports the following error every minute (at least!): 
    "The server{bla bla bla}did not register with DCOM within the required 
    timeout" 
    The only solution I have found is to reinstall & even this is not successful 
    every time. 
    Has anyone else seen this problem? Any suggestions? 

  • FAILURE (Err):429: CreateObject(Microsoft.BDD.Utility) - ActiveX component can't create object

    working with MDT 2013 & ADK 8.1,
    Windows 8.1 x64 deployment fails in section "State Restore" (Deployment Type: NEWCOMPUTER).
    RUN: regsvr32.exe /s "C:\Users\ADMINI~1\AppData\Local\Temp\Tools\x64\Micrsoft.BDD.Utility.dll"
    "FAILURE (Err):429: CreateObject(Microsoft.BDD.Utility) - ActiveX component can't create object"
    go to "%programdata%\microsoft\windows\start menu\programs\startup" and perform the "Litetouch.lnk" with elevated rights (right click run as administrator), the ts will continue and apply the OS without any error message.
    join to workgroup instead to domain and the installation will perform without any error...
    any help is appreciated.
    thx a lot.
    The error was AD policy related.
    I moved the device to an AD Folder (no policy), deployed the windoows 8 again and moved the box back to the correct ou in TS section PostInstall - Custom Tasks using a ps script.
    I did not figure out which policy.
    Update: moved from W8.1 EVALUATION to offical release solved my problem!

    Which policies are causing this? Do you have anything that limits/modifies the local administrator account? Or restricts the loading of ActiveX?
    Keith Garner - keithga.wordpress.com

Maybe you are looking for

  • How to assign read only access for a database to a single user?

    Hi All, I have created a login for one of the user , and i used deny view to deny that user access to any of the databases to be shown.Now, he cannot see any databases in the explorer window. My question is now i want to give this user permission ( r

  • ITunes 10.2.1.1  doesn't recognize my iPhone 4 when I try to sync it. This has happened suddenly. Please help.

    iTunes 10.2.1.1  doesn't recognize my iPhone 4 when I try to sync it. This has happened suddenly. Please help.

  • Problem with Packaging Material Type

    Hello all Gurus, I have a problem with a packaging material type that I have created copying the standrad Packaging material type LEIH. I created a new packing material type ZPAC - Packaging Material copying LEIH. I then created a new material master

  • Archiving Change Documents

    Hi all,   I am working with the archive engine. And i am using archiving classes for archiving of change documents (CDHDR/CDPOS). I have made all the customizing that has to be done in the engine. But somehow my change documents after having written

  • SWF. not working when entering other state

    Hi I have just made a site where theres a main site without animation and a sub site with animation. The problem is that the animation/swf is not starting when i enter the subsite. It starts when theres no main site but when we enter the site from a