ActiveX component in Flex

My doubt is how can we bring or embed ActiveX visual component in Flex UI(inside an SWF)
Regards
Aravind Mohandas

I didn't think you could.
I understood that ActiveX controls do not run as browser plugins and are therefore outside of the Browser security sandbox.  Flex is a browser plugin and is locked into the browser's security sandbox.
Depending upon what the ActiveX controld oes you could convert it to Flex.

Similar Messages

  • 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.

  • How to set multiple styles on a single component in flex ?

    Hi ,
    I would like to know how to set multiple styles on a single component in flex.
    Can anyone give me an example as to how to set multiple styles for a single component ?
    Thanks ,
    Regards,
    Ajantha

    Hi tuliptaurus,
    You can setStyleName property for chnaging the external css dynamically by using the setStyle() method ...
    btn.setStyle("styleName","blendButtonSkinOther");
    You can change the external css by using the styleaName property with setStyle method..the line in blue..where blendButtonSkinOther is another css class..
    blendButtonSkin {
        fontFamily: Arial;
        fontSize: 11;
        color: #F1F1F1;
        textRollOverColor: #F1F1F1;
        textSelectedColor: #F1F1F1;
        horizontal-align:center;
        width:150;
        height:30;
        cornerRadius:5;
        upSkin:ClassReference('assets.skins.BlendButtonSkin');
        downSkin:ClassReference('assets.skins.BlendButtonSkin');
        overSkin:ClassReference('assets.skins.BlendButtonSkin');
        disabledSkin:ClassReference('assets.skins.BlendButtonSkin');
        selected-up-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-down-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-over-skin: ClassReference('assets.skins.BlendButtonSkin');
    blendButtonSkinOther {
        fontFamily: Arial;
        fontSize: 11;
        color: #F1F1F1;
        textRollOverColor: #F1F1F1;
        textSelectedColor: #F1F1F1;
        horizontal-align:center;
        width:150;
        height:30;
        cornerRadius:5;
        upSkin:ClassReference('assets.skins.BlendButtonSkin');
        downSkin:ClassReference('assets.skins.BlendButtonSkin');
        overSkin:ClassReference('assets.skins.BlendButtonSkin');
        disabledSkin:ClassReference('assets.skins.BlendButtonSkin');
        selected-up-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-down-skin: ClassReference('assets.skins.BlendButtonSkin');
        selected-over-skin: ClassReference('assets.skins.BlendButtonSkin');
    Thanks,
    Bhasker Chari

  • 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.

  • Cannot create ActiveX component

    So, I've looked all over for an answer for this one and so far, everything I've seen offered as fixes do not work.
    Exception Details: System.Exception: Cannot create ActiveX component.
    Source Error:
    Line 39:
    Line 40:             ' Create Acrobat Application object
    Line 41:             PDFApp = CreateObject("AcroExch.App")
    I have a webserver on which is installed the latest version of Acrobat Standard.
    Here is my code:
    Imports System.Data
    Imports System.Data.SqlClient
    Imports System.Web.Configuration
    Imports System.Data.OleDb
    Imports System.Security
    Imports System.Security.Principal
    Partial Class CodeTest
        Inherits System.Web.UI.Page
        Dim LOGON32_LOGON_INTERACTIVE As Integer = 2
        Dim LOGON32_PROVIDER_DEFAULT As Integer = 0
        Dim impersonationContext As WindowsImpersonationContext
        Declare Function LogonUserA Lib "advapi32.dll" (ByVal lpszUsername As String, _
                                ByVal lpszDomain As String, _
                                ByVal lpszPassword As String, _
                                ByVal dwLogonType As Integer, _
                                ByVal dwLogonProvider As Integer, _
                                ByRef phToken As IntPtr) As Integer
        Declare Auto Function DuplicateToken Lib "advapi32.dll" ( _
                                ByVal ExistingTokenHandle As IntPtr, _
                                ByVal ImpersonationLevel As Integer, _
                                ByRef DuplicateTokenHandle As IntPtr) As Integer
        Declare Auto Function RevertToSelf Lib "advapi32.dll" () As Long
        Declare Auto Function CloseHandle Lib "kernel32.dll" (ByVal handle As IntPtr) As Long
        Private Sub savePDFtoTIF(ByVal fullPathPDF As String, ByVal fullPathTIF As String)
            Dim PDFApp As Acrobat.AcroApp
            Dim PDDoc As Acrobat.CAcroPDDoc
            Dim AVDoc As Acrobat.CAcroAVDoc
            Dim JSObj As Object
            If impersonateValidUser("XXXXXXX", "", "XXXXXXXXXX") Then
                ' Create Acrobat Application object
                PDFApp = CreateObject("AcroExch.App")
                ' Create Acrobat Document object
                PDDoc = CreateObject("AcroExch.PDDoc")
                ' Open PDF file
                PDDoc.Open(fullPathPDF)
                ' Create AV doc from PDDoc object
                AVDoc = PDDoc.OpenAVDoc("TempPDF")
                ' Hide Acrobat application so everything is done in silentmode()
                PDFApp.Hide()
                ' Create Javascript bridge object
                JSObj = PDDoc.GetJSObject()
                ' Attempt to save PDF to TIF image file.
                ' SaveAs method syntax .SaveAs( strFilePath, cConvID )
                ' For TIFF output the correct cConvid is
                ' cCovid MUST BE ALL LOWERCASE.
                JSObj.SaveAs(fullPathTIF, "com.adobe.acrobat.tiff")
                PDDoc.Close()
                PDFApp.CloseAllDocs()
                ' Clean up
                System.Runtime.InteropServices.Marshal.ReleaseComObject(JSObj)
                JSObj = Nothing
                System.Runtime.InteropServices.Marshal.ReleaseComObject(PDFApp)
                PDFApp = Nothing
                System.Runtime.InteropServices.Marshal.ReleaseComObject(PDDoc)
                PDDoc = Nothing
                System.Runtime.InteropServices.Marshal.ReleaseComObject(AVDoc)
                AVDoc = Nothing
                undoImpersonation()
            Else
                lblStatus.Text = "Unable to impersonate"
                Exit Sub
            End If
        End Sub
        Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
            savePDFtoTIF("D:\DoH\998.110803030832.pdf", "D:\DoH\Project\000.tif")
        End Sub
        Private Function impersonateValidUser(ByVal userName As String, _
    ByVal domain As String, ByVal password As String) As Boolean
            Dim tempWindowsIdentity As WindowsIdentity
            Dim token As IntPtr = IntPtr.Zero
            Dim tokenDuplicate As IntPtr = IntPtr.Zero
            impersonateValidUser = False
            If RevertToSelf() Then
                If LogonUserA(userName, domain, password, LOGON32_LOGON_INTERACTIVE, LOGON32_PROVIDER_DEFAULT, token) <> 0 Then
                    If DuplicateToken(token, 2, tokenDuplicate) <> 0 Then
                        tempWindowsIdentity = New WindowsIdentity(tokenDuplicate)
                        impersonationContext = tempWindowsIdentity.Impersonate()
                        If Not impersonationContext Is Nothing Then
                            impersonateValidUser = True
                        End If
                    End If
                End If
            End If
            If Not tokenDuplicate.Equals(IntPtr.Zero) Then
                CloseHandle(tokenDuplicate)
            End If
            If Not token.Equals(IntPtr.Zero) Then
                CloseHandle(token)
            End If
        End Function
        Private Sub undoImpersonation()
            impersonationContext.Undo()
        End Sub
    End Class
    The impersonation works, as I use the same code on another page where I am manipulating file system objects through that account, with this code. Also, the code without the impersonation, works on my local machine perfectly.
    Any ideas on what to do would be greatly appreciated.
    Justice

    Look, I got dragged into a project that was late from the start, but is a big contract for the printing company that I work for that uses a lot of Adobe products internally for what they do.
    In good faith, I tried to purchase something that would work. I was in a rush and didn't read the entire EULA as I was installing it. Obviously, I wasn't trying to screw the system or I wouldn't have been here, posting about it. I also do not need an education about what is true or false on the internet. I need a solution now that is going to meet the customers needs based on what is provided here. Rather simple, and don't reallly have the time for an entire formalized consultation as to our "business needs", since this is really all we need it for and time is of the essence.
    If the best Adobe can do is publicly slap customers around on forums and throw vague answers out to follow up on, then I guess it's time to seek out other solutions for our business needs.

  • Is it possible to call a function in a parent component from a child component in Flex 3?

    This is probably a very basic question but have been wondering this for a while.
    I need to call a function located in a parent component and make the call from its child component in Flex 3. Is there a way to access functions in a parent component from the child component? I know I can dispatch an event in the child and add a listener in the parent to call the function, but just wanted to know if could also directly call a parent function from a child (similar to how you can call a function in the main mxml file using Application.application). Thanks

    There are no performance issues, but it is ok if you are using the child component in only one class. Suppose if you want to use the same component as a child to some bunch of parents then i would do like the following
    public interface IParentImplementation{
         function callParentMethod();
    and the parent class should implement this 'IParentImplementation'
    usually like the following line
    public class parentClass extends Canvas implements IParentImplementation{
              public function callParentMethod():void{
         //code
    in the child  you should do something like this.
    (this.parent as IParentImplementation).callParentMethod();
    Here using the Interfaces, we re decoupling the parent and the child
    If this post answers your question or helps, please mark it as such.

  • 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

  • How do I reduce the size of large pdf using activex component?

    possible reduce pdf size using activex component? also as in menu adobe acrobat "document" -> "reduce file size"

    possible reduce pdf size using activex component?
    No.

  • Tree component in Flex 4

    Are there any known issues with the <mx:Tree component in Flex 4?
    We have upgraded from Flex 3 builder to Flex 4 builder. Everything works except any where we have used a tree component the data is no longer showing. Has there been a change in how to populate the Tree component? We populate the tree by setting the dataProvider with an ArrayCollection.

    @travr,
    I'm not aware of any big known issues in mx:Tree between Flex 3.x and Flex 4.x. What problems are you seeing, and can you reproduce the issue with a simple test case (if so, please post the simple test case here and we can take a look).
    This works in Flex 3.5:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:ApplicationControlBar dock="true">
            <mx:Button id="sdkVer" initialize="sdkVer.label = mx_internal::VERSION;" click="System.setClipboard(sdkVer.label);" />
        </mx:ApplicationControlBar>
        <mx:Tree id="tr" labelField="name" width="200" x="20" y="20">
            <mx:dataProvider>
                <mx:ArrayCollection>
                    <mx:Object name="1. One">
                        <mx:children>
                            <mx:Object name="1.1 One" />
                            <mx:Object name="1.2 Two" />
                        </mx:children>
                    </mx:Object>
                    <mx:Object name="2. Two">
                        <mx:children>
                            <mx:Object name="2.1 One" />
                        </mx:children>
                    </mx:Object>
                </mx:ArrayCollection>
            </mx:dataProvider>
        </mx:Tree>
    </mx:Application>
    And this seems to work in Flex 4.5/Hero beta:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx">
        <s:controlBarContent>
            <s:Button id="sdkVer" initialize="sdkVer.label = mx_internal::VERSION;" click="System.setClipboard(sdkVer.label);" />
        </s:controlBarContent>
        <mx:Tree id="tr" labelField="name" width="200" x="20" y="20">
            <mx:dataProvider>
                <s:ArrayCollection>
                    <fx:Object name="1. One">
                        <fx:children>
                            <fx:Object name="1.1 One" />
                            <fx:Object name="1.2 Two" />
                        </fx:children>
                    </fx:Object>
                    <fx:Object name="2. Two">
                        <fx:children>
                            <fx:Object name="2.1 One" />
                        </fx:children>
                    </fx:Object>
                </s:ArrayCollection>
            </mx:dataProvider>
        </mx:Tree>
    </s:Application>
    Peter

  • 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

  • ActiveX Component Can't Create Object

    Hi Frds,
    Getting this error when making a chances in change query global defination Error : Runtime Error '457': This key is Already is already assosiated with an element of this collection..When i was clik on then again i m getting message like Runtime Error ''429': ActiveX Component Can't Create Object.
    What is the excat prblem can any one let me know...
    Thanks,
    ALi

    Hi,
    For Runtime Error '457'-Pls Check SAP Note - 517232
    ForRuntime Error '429' You can refer SAP Note: 542933
    Pls chk this link also;
    https://websmp207.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=542933&_NLANG=E
    Hope this helps
    Regards
    CSM Reddy

  • Coming up with the error - "Runtime error '429': ActiveX Component Can't cr

    Hi,
    While trying to edit the XML tag in a .rtf file (Microsoft Word 2010), coming up with the error - "Run time error '429': ActiveX Component Can't create object.
    Any help in resolving this is greatly appreciated.
    Rgds,
    Kiran Panditi

    Remove and reinstall dotnetfiles by running setup.exe located at the following path:
    32 Bit Win 7
    C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\DotNetInstallFiles
    64 Bit Win 7
    C:\Program Files (x86)\Oracle\BI Publisher\BI Publisher Desktop\DotNetInstallFiles
    FYI, BI Publisher Template Builder 10.1.3.4 does require Administrator rights to run.
    Cheers,
    ND
    Use the "helpful" or "correct" buttons to award points to replies / Mark the thread as answered, if your question is answered.

Maybe you are looking for

  • Can I cancel an iTunes account?

    Hi - so I have been a long time iPhone user.  My work recently issued us iPhones (graduating from Blackberries).  IT set-up our phones and created accounts for us with our work email.  I do not wish to manage 2 accounts and 2 phones.  How can I make

  • HT1338 Left hand side of monitor dims on 2011/intel based iMac-any suggestions?

    Left hand side of monitor dims on 2011 /intel based iMac-any suggestions? Called apple support. Restarted-didn't help. Unplugged my second monitor from the thunderbolt port-didn't help. Unplugged center cord in the middle on the back of the monitor-w

  • IPhoto wont open and this is the message....

    "iPhoto is missing system files and cannot open. Please reinstall iPhoto from your iLife CD." I reinstalled from the iLife DVD/CD. The same message pops up. This is all after I installed a RADEON Video card. HUH? Is there a problem between video card

  • VO Substitution Remove error

    Hi i extend the VO. import vo succcessfully. But i wann to deltete VO Substitution. first i removed substitution from Project Properties. then i run the jdr_utils.deletedocument script., i got msg document deleted successfully. But i want to again im

  • How can I turn on/off Desktop Volume label displaying disc size?

    I upgraded to Leonard 10/26. A few days ago, I noticed that the icons on my desktop were displaying disc space. I don't know what action caused this to occur, hence Ido not know how to disable it. It is a little annoying in that it specifies "nnn.n G