Non creatable objects

Using ActiveX communication tools under LV, one can assign
an activex control contained in an .OLB, OCX, or .DLL to an
automation refnum. However, all functions contained in a DLL
for example, are not creatable objects.
The question is, is there any way to use these functions () which
are not creatable objects) within a VI ?
Thanks
Ali

If you are using LV 5, pop up the refnum menu->Select Active X class -> Browse.....uncheck "Show createble objects only", and all the objects in your dll will appear.
You can select any object and wire it to an invoke node.

Similar Messages

  • How can I use an activeX component that has no creatable objects

    I have got an activeX component that I want to use with LabVIEW. When I want to access that activeX component via LabVIEW I see no creatable objects from that component. If I select one of the non creatable objects, everything seems to be fine and I can build my application. I can see all properties and methods of the object as expected. But when I start the application it fails with error 3005 saying 'object specified is not creatable...'. Does anyone know a solution for this problem?
    Thanks
    Rainer

    Did you ever resolve your problem?
    I am having exactly the same problem. I want to use labview 7.0 to control a 3rd party's application (which controls a lab instrument). I can see all the methods and properties I need, but only if I uncheck "show creatable objects only" on the relevant type library.
    I have a working visual basic (as an xls macro) example of how to control the 3rd party application and it uses the non-creatable objects quite happily.
    But in the VB example VB first uses GetObject to connect to a running instance of the 3rd party's application using GetObject. As I understand it, this checks the Running Object Table (ROT) to return an interface pointer.
    "COMNAME" in the GetObject (, COMNAME) used in the VB application I can see listed in the Windows registry, but cannot find it (and I have looked!) anywhere in the "select object from type library" navigation dialog window.
    I think it is because they are dependant objects, but how to I generate an automation refnum for them if I can't find the higher level object? Perhaps I should use CINs?

  • Non creatable class

    Hi guys and gals,
    I have a tangle of a mess here!  Let me start from the beginning.  I have a typelib on my computer called "xTInstrument component library version 1.0"  I opened the .dll containing the typelib in OLE/VIEW and discovered that the classes I need to use are "non-createable" coclasses mixed in with interfaces.  For example, the class I want to use is called "Electron Beam" and it has a property called "HV" which has a method called "SetTargetValue"  So I dropped an "Automation Open" vi on the block diagram and wired it all up.  When I go to run the program I get the following error "Class not registered in Test.vi"  To find out what dlls Labview was calling, I used Process Monitor and watched what it was looking for.  I found and registered all the dlls using "regsvr32.exe dll."  Now this is where it gets wierd.  After registering the dlls, the program still tripped the "Class not registered in Test.vi" error, so I decided to use Process Monitor to check what CLSID were being called.  I then searched my registry for the CLSID my LabVIEW program was calling.  I found all the CLSIDs except the ones from the non-creatable classes.  Is there anyway in LabVIEW to call these "non-creatable" classes?

    Hi shivels,
    I did some research into non-creatable classes and this is what I found out.  A non-creatable class (Microsoft terms them "PublicNotCreatable") is available externally but cannot be instantiated externally.  Instead, the object is instantiated indirectly though fucntions, such as a Get function.  The reasoning that I can see is that there may be dependencies on other objects so the order in which the objects are instantiated is important.  By making a class PublicNotCreatable, the developer can force the user to programmatically construct the objects through calling a Get method. 
     I did uncover a Microsoft bug report regarding PublicNonCreatable classes:  http://support.microsoft.com/kb/244544. 
    Also, here is Microsoft's definitionhttp://msdn.microsoft.com/en-us/library/aa242107%2​8VS.60%29.aspx)
    PublicNotCreatable means that other applications can use objects
    of this class only if your component creates the objects first. Other
    applications cannot use the CreateObject function or the New operator
    to create objects from the class.
    What I suspect in your situation is that the Electron Beam may be a PublicNotCreatable class object, so a get function would be required.  
    I hope this helps. Let me know if you have any further questions!
    Kristen H.

  • Exporting a PDF so that non-printing objects show but don't print?

    I've just spent a couple hours trying to find an answer to this in the forums, but can't. (The most frustrating was one thread where the original poster said, "I found the answer here," and gave a link that went right back to the main page of the forum. Argh.)
    Okay, anyway ... what I need to do?
    I've got a document with graphics that I want to show up on the pdf when I export it, but that--if a reader prints it--don't print.
    The document looks like a 3-ring binder with "tabs" for each section--just like the real thing. But the rings and tabs go right up to the edge and look terrible when printed, and whose printer can print right at the edge of the paper, anyway? But the tabs work as navigational links while looking a the pdf, and the rings just make it look cool, so I WANT them in the pdf.
    I've tried:
    Turning the entire layer into a non-printing layer (one that "shows" but does not "print"). But when I export it to a pdf, it doesn't show up on the pdf to look at OR to print. So that doesn't work.
    Using the Attribute option to turn each object into a non-printing object, but so far as I can tell, that doesn't do a thing, because they still print from the pdf.
    Exporting with the "create pdf layers" turned on and off. Exporting with the "include non-printing items" turned on and off.
    Basically, I've pretty much tried everything. I gather, from browsing the forums, that this is POSSIBLE, but can't for the life of me figure out what to do to make it happen. (Short of hiding the tabs' layer and creating an entirely separate PDF and calling it "Print version" which is not exactly what I want to do!)
    Is there maybe some magical combination of ons and offs I need to select to make this whole thing work?
    (And, seriously, am I the only person who thinks the supporting documentation is just dreadful? I can't find anything in any of the Help screens that even mentions this, much less explains how to do it.)
    Any help is appreciated!!
    --Deb

    Partial progress...
    The button option (and, I'm using CS3, by the way--I should have said that originally) does work in terms of showing on the pdf but not printing.
    The problem is that it messes up the way the document looks.
    I said it's designed to look like a 3-ring binder with tab-dividers between each section, and each tab has a hyperlink to take you to that section.
    Now, when you've got a paper binder in front of you, the tabs stay in the same sequence, and often overlap a bit (which mine do). The problem I'm having, having turned all of them into buttons, is that when you click on any of them, it "jumps" to the front of the row, so that they don't "flow" in the correct sequence.
    Am I explaining this well? You know, the top-most tab is at the top of the pile, the next one is always below it and above the third one, and so on ... you never see the second tab on TOP of the first one. I'm trying to get the document to act as close to a hard-copy binder as I can, and it did ... except the buttons keep jostling each other for attention...
    I'm going to go play around with this some more now, but ... any suggestions? (Other than restructuring my tabs so that they don't overlap at all?)

  • Preflight Report lists Non-Opaque Object in InD CS3?

    In the preflight report there is mention of Non-Opaque objects. Why is this bad, how can I recognize that this is an issue and how do I fix the problem. I researched a bit and found suggestions to make separate layers for the text/lines and images with the text and lines above the image. Then when the page is flattened in the PDF process, the resolution should be better. I still do not know how to recognize that there would be an issue. Please help.

    Best practice is to keep the transparency live for as long as possible, ideally flattening in the RIP at output, but there are still a lot of printers whose equipment is outdated (or their thinking), and for them it will be necessary to provide a flattened PDF for printing.
    If your printer is flagging this as a problem, it could be he's one of the dinosaurs, and you should either go with the flow or find another printer who lives in this century.

  • How to Compress non-image object in Acrobat 9 Pro/Acrobat X Pro

    Hi,
    I am newbie and don't know where to post this question exactly. Forgive me if I am incorrect.
    How can we compress "non-image object" in "Acrobat 9 Pro/Acrobat X Pro"
    Thanks in advance for your suggestion & help.
    Thanks & Regards,
    Raja. S

    Thanks for the reply.
    I want to compress the "non-image" objects (i.e pagragraph contents and not images) for the entire PDF file in the "Acrobat pro X" application manually and not with the tool.
    Please share me if you have any idea on this.
    Thanks,
    Raja. S

  • Weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot export non clusterable object with jndiName ]

    Hi,
    I am trying to deploy an EJB module have 4-5 EJB's on weblogic 8.1 through JBuilder.
    I am getting following error during deployment.
    Exception:weblogic.management.ApplicationException: prepare failed for Sample.jar
         Module: Sample.jar     Error: Exception preparing module: EJBModule(Sample.jar,status=NEW)
    Unable to deploy EJB: SampleBean from Sample.jar:
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot export non
    clusterable object with jndiName ]
         at weblogic.utils.Debug.assertion(Debug.java:57)
         at weblogic.rmi.extensions.server.ServerHelper.exportObject(ServerHelper.java:272)
         at weblogic.ejb20.internal.BaseEJBHome.setup(BaseEJBHome.java:95)
         at weblogic.ejb20.internal.StatelessEJBHome.setup(StatelessEJBHome.java:67)
         at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInfoImpl.java:979)
         at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:983)
         at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)
         at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Any clue?, what its talking about?
    Thanks
    Naresh

    Hi,
    I am trying to deploy an EJB module have 4-5 EJB's on weblogic 8.1 through JBuilder.
    I am getting following error during deployment.
    Exception:weblogic.management.ApplicationException: prepare failed for Sample.jar
         Module: Sample.jar     Error: Exception preparing module: EJBModule(Sample.jar,status=NEW)
    Unable to deploy EJB: SampleBean from Sample.jar:
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot export non
    clusterable object with jndiName ]
         at weblogic.utils.Debug.assertion(Debug.java:57)
         at weblogic.rmi.extensions.server.ServerHelper.exportObject(ServerHelper.java:272)
         at weblogic.ejb20.internal.BaseEJBHome.setup(BaseEJBHome.java:95)
         at weblogic.ejb20.internal.StatelessEJBHome.setup(StatelessEJBHome.java:67)
         at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInfoImpl.java:979)
         at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:983)
         at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)
         at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Any clue?, what its talking about?
    Thanks
    Naresh

  • Translation of non-ABAP objects

    Hello colleagues,
    I know that SAP provides special Translation Environment for translation of ABAP-objects (TX SE63 etc.). But what about translation of non-ABAP objects? Could be SE63 suitable for this task or it can be performed only via translation xlf files (SAP NW Developer Studion and so on)?
    Regards,
    Arkadiy

    Hi Prakash,
    firstly thank you for you reply.
    Secondly I know about three main categories of non-ABAP objects but I haven't an information about what is it certainly? So there are at least two questions in my opinion:
    1) Could it be suitable to translate Java objects or WebDyn Pro Java objects?
    2) If yes, how it can be suitable for it? Because I know how I can translate Java or WebDynpro via NW Developer Studio, but I don't know how it can be possible via SE63.
    Really I can't find any helpful information about translation non-ABAP objects via SE63.
    Could anyone help me in my questions?
    Regards,
    Arkadiy

  • HOW TO PASS NON REMOTE OBJECT PARAMETER

    good day,
    hi im new to java and rmi, and i need help pls, my question is how can i pass a non-remote object/local object as a parameter to a remote method. can u pls give a code for the:
    1. client that will invoke the remote method and pass the object in remote objects method.
    2. object that will be passed to the server/remote object( a serilizable object of course).
    3. the remote object and the method that will receive the object parameter.
    thank you very much for your kindness,
    p.s.
    you can email me to [email protected]
    batusai,

    When you create the object locally, and pass it to the server, at that point it exists on both systems/in both jvms.
    Why don't you write your own example, and try it. If you get in trouble, post the code, and we will help you.

  • Pre-flight Report lists Non-Opaque Objects in InD CS3?

    In the preflight report there was mention of Non-Opaque objects. Why is this bad, how can I recognize that this is an issue and how do I fix the problem. I researched a bit and found suggestions to make separate layers for the text/lines and images with the text and lines above the image. Then when the page is flattened in the PDF process, the resolution should be better. I still do not know how to recognize that there would be an issue. Please help.

    Please repost in the InDesign forum.

  • SRM non transportable objects

    Hi,
    I have a request from our SRM Consultant to change the below objects to non-transportable objects.  I would like to know the best process in handling this.  It is not clear to me as to what objects these are.  Some of them are tables, as I found out later.  But other objects are not clear.
    BBP_WS_VC - Define external call services.  Used for definition of catalogue call structures.   
    q       BBP_BACKEND_DEST - Definition of backend systems  
    q       BBP_DET_LOGSYS - Define backend system for product category 
    q       BBP_TARGET_OBJ  - Determine target object in backend system  
    q       BBP_DET_ACCT - Define G/L Account for product category and account assignment category.
    q       BBPV_SRC_DET
    q       BBPV_AVL_DET  - Sourcing by Vendor List flag.   
    q       TWPURLSVR - Logical web servers for logical systems   
    q       Any R3TR SICF objects, which contain user names
    q       Any R3TR SMIM objects, typically images for the catalogue
    thanks in advance,
    Abdul

    Hi
    This is not recommended and best practice by SAP.
    Any specific reasons - why you want to do this ?
    Please consult the same with SAP by creating a OSS message as well.
    Regards
    - Atul

  • Non-string objects as parameters to an applet

    how can i pass non-string objects as parameters to an applet?
    thanks in advance...

    those are some objects that i wroteThen, you could use Class.forName() method for your string parameters.
    If you get the classes, then you can call newInstance() method on them to get objects.
    Alternative way could be using your string parameter as index or keys for some
    data structures that contains ready-made objects.

  • How to manage non-SAP objects types with SAP Netweaver ?

    I would like to know how it is possible to integrate into the SAP software configuration managment tools (NWDI CTS, CTS+...) non-SAP objects like shell scripts or SQL requests ?
    These shell scripts are, for example:
    - external host scheduler jobs
    - general scripts for start/stop application
    - parameters needed by application at the os level
    My goal should to store into a DEV SAP system these objects, in order to take benefit of SE80 version management. So, it should be possible to create transport order in SE10 and to transport these non-SAP objects in test and production system.
    Thank in advance for your answers.
    Daniel Ouin

    the standard functionality for this up until 4.72 is to call RFCs/BAPIs through a RFC binding library for the third party software, e.g. the language of your choice is PHP then you use the PHP RFC library found [here|http://saprfc.sourceforge.net/], if you have to connect from a .NET environment you might try to get the SAP .NET connector.
    anton
    PS: RTFM and/or using the search facilities here on SCN would help you a lot with your task.

  • Gathering Statistics on NON-PARTITIONED objects

    Hi,
    Is it possible to manually gather stats only for Non-Partitioned objects without touching any of the Partitioned objects?
    Oracle Version: 11.1.0.7
    Thanks,
    Ishan

    @Hoek and Kuljeet:
    I am sorry on missing out on this info.
    What I mean is that, I don't want to hard-code the NON-PARTITIONED table names or take names from USER_TABLES. Oracle should pick it up automatically like the way it does it for PARTITIONED tables.
    Thanks,
    Ishan
    Edited by: Ishan on Jun 7, 2012 6:01 PM

  • Sending Non-Serializable Objects

    I'm trying to make my server program send a non-serializable object to the client program. But I'm getting a 'java.io.NotSerializableException'. Is there any way to send a non-serializable object through an ObjectOutputStream, or through some other type of stream object?
    Thanks.
    ~jon

    I have some experience before, here is one solutions:Well, nice to know, but its not a solution to the problem discussed in this topic though.
    >
    >
    using toByteArray to get a byte[] and a length of the
    array
    then using the following format to send through
    sockets,
    [bytearray.length][byte array content]
    It really works in a project of a MMS system I have
    worked on.

Maybe you are looking for