Can't recognize VB object with UFT 11.50

Hi,
I´m trying to automate some proceses in an VB aplication, but I am not able to recognize the objects in UFT 11.50. Recording the process, the lines recorded are the following:
VbWindow("appStdZap").VbWindow("docStdInputList_2"​).ActiveX("RBTree Control").Click 287,28 
VbWindow("appStdZap").VbWindow("docStdTree_2").Win​Object("AfxWnd40").Click 55,225 
VbWindow("appStdZap").VbWindow("docStdTree_4").Act​iveX("Outline Control").Click 42,9 
Is this OK, or I am not recording correctly?
Thanks

With Coldfusion I keep getting class officeproperties was not found in specified assembly list for the line
<cfobject ".net" name = "officedocinstance" class="OfficeProperties" assembly="C:\build\offproperties.dll">
Silly question, but have you tried including a namespace (if any)? That and making sure the class/functions/methods are "public" are common gotchas.
I am really not familiar with COM. But for what it is worth I was able to compile a simple dll and access it from CF9 with no problems. I did not do anything special in VS2005. Just created a new project and accepted all of the defaults:
             New Project > Visual Basic > Class Library > "TestVBLibrary"
If you compile the following can you access it from CF? (I would be happy to share the files/settings if needed)
Lame VB code:
Public Class MyTestClass
    Private sName As String
    Public Function multiply(ByVal a As Integer, ByVal b As Integer) As String
        Return a * b
    End Function
    Public Property Name() As String
        Get
            Return sName
        End Get
        Set(ByVal value As String)
            sName = value
        End Set
    End Property
End Class
CF :
<cfset obj = createObject(".net", "TestVBLibrary.MyTestClass", ExpandPath("./TestVBLibrary.dll"))>
<cfdump var="#obj#" label="Methods">
<!--- test method --->
<cfset result = obj.multiply( 5, 3 )>
result = <cfdump var="#result#">
<!--- test property --->
<cfset obj.set_name("bob")>
<cfset name = obj.get_name()>
name = <cfdump var="#name#">
Message was edited by: -==cfSearching==-

Similar Messages

  • Can I call an object with synchronized methods from an EJB

    I have a need for multiple threads (e.g. Message Driven Beans) to access a shared object, lets say a singleton, I'm aware of the "you can't have a singleton in the EJB world" issues) for read/write operations, so the operations will need to be synchronised.
    I've seen various statements such as you can't use read/write static fields in EJBs and you can't use synchronisation primitives in EJBs but I've also seen statements that say its okay to access utility classes such as Vector (which has synchronised methods) from an EJB.
    Does anyone know if there is a definitive answer on this? What are the implications of accessing a shared object with synchronised methods from multiple EJBs? Is it just that the EJB's thread may block which limits the ability of the container to manage the EJBs? In the Vector example above (from Professional Java Server Programming) did they mean its okay to use these utility classes provided they aren't shared across threads?
    If I can't use a plain old Java Object does anyone know if there are other potential solutions for sharing objects across EJBs?
    In my problem, I have an operation that I want to run in a multi-threaded way. Each thread will add information to the shared object, and this info may be used by the other threads. There's no lengthy blocking as such other than the fact that only one thread can be adding/reading information from the shared object at a time.
    I've trawled through this forum looking for similar questions of which there seem to be many, but there doesn't seem to be any definitive answers (sorry if there was and I missed it).
    Thanks
    Martin

    You can share objects among EJB's or among objects used by one or more EJB's. You can use synchronization primitives - nothing will prevent you from doing that.
    After all, the container classes, JVM-provides classes, JDBC, JCA, JNDI and other such classes do all of this with impunity. You can too. You can use file and socket I/O as well, presuming you configure the security profile to allow it. Should you? Well it depends on what you need to accomplish and if there is another practical alternative.
    Yes the specification warns you not to, but you cannot be responsible for the interior hidden implementation of classes provided to you by the JVM or third parties so you can never truly know if your are breaking these written rules.
    But when you do these things, you are taking over some part of the role of the container. For short running methods that only block while another thread is using the method or code block and no I/O or use of other potentially blocking operations are contained in the method/block, you will be fine. If you don't watch out and create deadlocks, you will harm the container and its managed thread pool.
    You should not define EJB methods as synchronized.
    Also, if you share objects between EJB's, you need to realize that the container is free to isolate pools of your EJB in separate classloaders or JVM's. It's behavior can be influenced by your packaging choices (use of .ear, multiple separate .jar's, etc.) and the configuration of the server esp. use of clustering. This will cause duplicate sets of shared classes - so singletons will not necessarily be singleton across the entire server/cluster, but no single EJB instance will see more than one of them. You design needs to be tolerant of that fact in order to work correctly.
    This isn't the definitive answer you asked for - I'll leave that to the language/spec lawyers out there. But in my experience I have run across a number of occasions where I had to go outside of the written rules and ave yet to be burned for it.
    Chuck

  • Can't move an object with arrow keys - CS3

    In Fash CS3, suddenly, in certain files, I can't move an object left using arrow keys - but I can move the same object right, or if I hold down Shift + left arrow, it works correctly
    Also - I can move the object down with arrow keys, but not up
    Workaround - move an object on a different layer, then return to the problem object and it moves correctly. But this doesn't last long, the problem resurfaces.
    Does anyone have a solution for this? (I've tried rebooting; tried copying all the layers into a new file - no help.)

    Now, working in the same file, I just clicked on a stroke and it changed the stroke from a smooth curve to angular lines.
    I suspect this file is corrupt. Any thoughts on how to salvage the weeks of work that have gone into it? Every version of this file has the same issues.
    Thanks for any help.

  • How, in Illustrator CS5, can I select all objects with three points (or nodes)?

    I am quite new to Illustrator, but it seems this should be simple.  (It is trivial in CorelDraw X4:  After selecting an object with three nodes, I go to Edit > Find and Replace > Find Objects > Find objects that match the currently selected object, and navigate through the remaining menus.)
    In Illustrator CS5, the options under Select > Same do not seem to include selecting all objects with the same number of nodes as the currently selected object.
    Double-clicking on the Magic Wand Tool also fails to provide such an option.
    Thank you for any help.
    P.S.  Also useful would be knowing how to add other criteria to this search, e.g. how to select all objects with three points *and* the current fill color.

    There is a script that can select "less than x points"
    Kelso Cartography

  • Crystal Reports 2008 - can't see Salesforce objects with 2 parent objects

    I am running CR 2008 SP 1 and accessing Salesforce to create reports.  I just discovered that 2008 does not make available any Salesforce objects that have more than one parent.  This is only an issue if you define multiple relationships in Salesforce as Parent/Child.  Lookup relationships are not an issue.
    I am using CR XI for another client and it can see these objects without problem.  Is this a design issue or is it a bug with CR 2008?
    Hs anyone else encountered this issue?  Thoughts on ways to access these object short of redesigning my Salesforce data?
    BTW, I and using 2008 SP1 because SP2 does not work when accessing Salesforce.
    Thanks, John

    It turns out that the ability to access Salesforce objects with multiple parents was included in release 11 of the Salesforce API.  CR 2008 SP1 used release 9 of the API.  CR SP2 uses release 13 of the API.  Once they get SP2 fixed for the Salesforce interface, this issue will go away.
    John

  • Can't create Zen objects with Zen 4.01B

    I removed my Zen 4.01B install from my server, deleted all the objects and
    directories on my Netware 5.1 sp7 server running Edir 8.7.3.7.
    I have reinstalled Zen from my 4.01B patch download, as a new install.
    I can create all my objects except for 3, at least so far.
    can't create the following, ZenInvService ZendmwolService
    ZenimagingService.
    It gives me "There is not a snap-in to create this type of object." error.
    I have downloaded the IR7 C1 snapin download and applied it to my local
    copy of Console1 running 1.3.6.e.
    Do I have to install from my original CD of 4.0.1 then apply the B patch,
    or is it something else?

    > You are not running E-Dir 8.8 on this box are you?
    > This does not support ZEN before ZFD7SP1.
    >
    > While I dont think they are supported on NW6.x, I believe folks have
    > gotten them working.
    >
    > Sorry nobody has a good answer yet.
    >
    > [email protected] wrote:
    > >> I removed my Zen 4.01B install from my server, deleted all the
    objects
    > > and
    > >> directories on my Netware 5.1 sp7 server running Edir 8.7.3.7.
    > >> I have reinstalled Zen from my 4.01B patch download, as a new install.
    > >> I can create all my objects except for 3, at least so far.
    > >> can't create the following, ZenInvService ZendmwolService
    > >> ZenimagingService.
    > >> It gives me "There is not a snap-in to create this type of object."
    > > error.
    > >> I have downloaded the IR7 C1 snapin download and applied it to my
    local
    > >> copy of Console1 running 1.3.6.e.
    > >>
    > >> Do I have to install from my original CD of 4.0.1 then apply the B
    > > patch,
    > >> or is it something else?
    > >>
    > > May have answered my own question. I am actually installing Zen 4.01B
    on a
    > > different server this time, it is running Netware 6.5 Sp5. As I recall
    > > Inventory and the Import service do not work on Zen 4.01B when you
    install
    > > it on Netware 6.5.
    > > Would you agree?
    > >
    > >
    >
    >
    > --
    > Craig Wilson
    > Novell Product Support Forum Sysop
    > Master CNE, MCSE 2003, CCN
    Well, for whatever reason we reinstalled our Novell licensed download and
    reinstalled Zen and our licenses and everything works.

  • Pages '09: Can't select multiple objects with mouse?

    Hello! I want to select some shapes. I know that I can hold down shift and click on them individually one by one, but they're very many and grouped together, so I just want to draw a 'selection-rectangle' with the mouse, just as it works in all other programs I've ever used. But this doesn't seem to work. What am I doing wrong?

    Hello Stef,
    You can simply click and drag over an area to select multiple objects if you are in a Page Layout document, but since this is your fourth post you may be new to Pages and you may not yet even be aware of the Page Layout mode. At the top of your Pages window is the document title and next to the title in parentheses are the words "Word Processing" or "Page Layout".
    So, in a Word Processing document, it's just a little bit more involved. In the upper left corner of the window, click on the View icon and select "Show Layout". You will see gray around the edges - your desktop, a white sheet - your paper, and three rectangular outlines - the header field, the text frame and the footer field. This assumes that you have the Header and Footer turned on.
    As you move your mouse, the text insertion bar, a vertical line with curved features top and bottom, will move about the document. Move the insertion bar to the margin, outside of the boxes, and press and hold the COMMAND key. Your cursor will change to an arrowhead. Now you can select multiple objects by click-dragging, just as you are accustomed to doing in other applications.
    Regards,
    Jerry

  • InDesign CC 2014 can no longer drag objects with mouse

    I have been using InDesign for months with no problems but suddenly I am having mouse issues. I can use my mouse to resize objects and make selections but dragging objects in the document or in panels (for example, reordering spreads) no longer works. I am using a mac on the latest 2014 CC release of InDesign, and have tried all the usual tricks (Ctrl + Alt + Shift + Cmd on startup to remove preferences, manually deleting preferences (both files), reloading software, rebooting machine, reinstalling InDesign) but the only thing that works is rebooting the machine.
    However, within 20-30 minutes after a reboot, the problem returns out of nowhere. I don't use plugins with InDesign and haven't changed hardware or software recently so I have no idea what's causing this.
    Does anyone have any info that might help me out? From googling around, it seems most people have solved their problems after a preferences dump, but mine keeps on coming back!

    I've actually been discussing this problem in another thread but this one is dedicated to it.
    This cropped up for me prior to the New Year and I've found no solution. I actually did what Steve Werner suggested this week and created a new OS X account. But the problem cropped up in the new account today.
    I don't know if this is a common or not. I'm part of a large creative team and as far as I know, I'm the only user experiencing this. I've trashed preferences, uninstalled and reinstalled InDesign, restarted the computer, etc. Nothing works.

  • Please help- How can I publish an object with irregular getter/setter metho

    I'm encountering a problem with weblogic 9.2 web service. Here it is the description:
    I have a java class which doesn't expose getter/setter method, Like this:
    public class MyEntityList
    implements Cloneable, Serializable
    private Map subEntityMap;
    public final Object[] toArray()
    return subEntityMap.values().toArray();
    public final Iterator subEntities()
    return subEntityMap.values().iterator();
    public final GFIBaseSubEntity getSubEntityByKey(String key)
    if(key == null)
    return null;
    else
    return (GFIBaseSubEntity)subEntityMap.get(key);
    public final void setSubEntity(GFIBaseSubEntity entity)
    subEntityMap.put(entity.getKey(), entity);
    When I publish this object out, the web service engine will not parse the value in this object for it hasn't getter methods. But I do need the value in it, and I can't change the class for it's from external system. Can I define my own serializer class to process the MyEntityListin weblogic 9 or 10? Or is there any way to process this case?
    Thanks in advance

    In 1.4 you have ImageIO available ... javax.imageio.ImageIO.write is the method to call.
    - David

  • I can't drag any object with trackpad or mouse. Please Help

    Since yesterday, like a bolt out of the blue, mouse and trackpad stop working properly, in the sense that I cannot drag any object in my desktop or in any application neither with the mouse, neither with the tackpad. Moreover, when I lunch Mercury I get a massage stating that some Java routine cannot be opened and Azureus refuse to start. My computer use last version of leopard and all the updates available, last java upgrade included. Everything else seems to work properly. Any idea of what colud be wrong and what can I do ti solve this irritating issue? Thanks.

    I can't think where else to look for this gremlin...
    How well backed up are you and do you have a clone of your system prior to the drag & drop problem? If you do, I'd erase your internal and copy over the good clone. Or, restore from a previous date from Time Machine.
    If not, you ought to run off a SuperDuper clone now. (SD is free for cloning) Then, do an archive & install. After you have everything you need back, delete the volume with clone since it is corrupt and run a good clone from your trouble free system
    -mj

  • Overlap Buttons? Can you select 2 objects with one click?

    Hi I am trying to create a menu of a map for a client. They would like a text list of cities down one side and also dots over each city on the map.
    I have set the highlite groups to change the colour of the text but I would like to also set the menu so that when selecting the city in the the text area the coresponding dot over the city changes as well?
    As the cities are all ove the place and some quite close together i keep getting the buttons overlapping. Ive tried merging the layers so text and dot are together but it keeps overlapping and im not sure how, if i can, get it working?
    Product Version: 3.0.0.268
    DVD Devices Installed:
    HL-DT-ST DVD+-RW GSA-H53N (Firmware B104)
    Dell Precision PWS490 Intel Xeon Dual 5120 @1.86ghz 3.00gb RAM windows XP SP3 3TB raid storage
    Thanks in advance

    Hi Dave,
    The only way to do this with Encore that I know is to use a series of duplicate menus and the auto-activate feature.
    So when the audience navigates to a particular city's text, the auto-activate feature automatically executes a link to an exact duplicate of the menu they were just navigating, and displays the highlighted city text and a highlighted city dot. The dot won't actually be part of the button on the new menu, but it will look like it is.
    This technique involves careful pre-planning and a lot of linking work. It is easy to get lost in the links if you don't have a proper flowchart drawn on paper and if you don't use good menu-naming conventions.

  • Can't display null object with a Converter

    I'm using JSF RI 1.1_1.
    I try to convert (using a Converter of my own) objects that are sometimes null.
    In such a case, I want to put a special text in my inputText but it seems that when the object is null, the converter is not called.
    I explicitly put the converterId in my inputText.
    Any idea ?

    I see a lot of answers speaking about having the most up to date version of the Camera RAW Plug-in. I have a similar issue with my .CR2 files... I cannot open them in Camera RAW because it tells me that my camera model or make is not supported by the Plug-in, and so I was directed by other forums to just try converting the .CR2 files to .DNG. I already had the Adobe DNG Converter (version 6.5 I believe), so I tried this. It too told me that my files or camera make were not supported. However, I have always been able to successfully both open my .CR2 files AND convert them to .DNG. I had not updated anything on my camera nor on my Adobe programs and for some reason this last attempt to open RAW files failed me... I have no idea what change would have led to it. Luckily I shopt in both RAW and Large JPG but I certainly don't want to rely on my JPGs of course... Any idea why this problem might have arisen now if it had always worked easily in the past?
    Thanks!

  • Can no longer re-size with selection tool

    For some reason, I can no longer resize objects with the selection tool.  When I click on an element, the handles appear, but remain solid.  When I select to scale the item, the whole item moves.  Any suggestions?

    Cmd(Ctrl)-Shift-B which is the toggle for Show/Hide Bounding Box or maybe Cmd(Ctrl)-H the toggle for Show/Hide Edges.

  • [CS6] How can I move shapes (created with paths)?

    [CS6]
    I created shapes with the pen tool.
    Then I selected the path selection tool and selected a path.
    Clicked right mouse key, choosed "Fill Path..." or "Fill Subpath"
    (don't know what it means). After filling with a color I get an object in
    the form of the path and I can move the path to another place.
    But I can't move the object in the shape of the path.
    I can't move it with "Path selection tool" because it's no path.
    Then I tried the "Move Tool" but I also can't select the object with it
    instead the whole canvas is moving.
    How can I select and move shapes which were
    created with the pen tool?

    You've drawn a Path then filled a region of a pixel layer.
    To make Shape layers, use the Pen Tool in "Shape" mode set in the Options bar.
    If you really do want to draw a Path and use it to create moveable pixel shape then do the fill with an empty layer targeted.

  • System object with same credentials for all users?

    Hi everyone
    I would like to create a system object in Portal, which can be used by users in a specific group. However, I want all users to use the same credentials for this system. Is this possible?
    I've tried creating systems, but they all seem to require user mapping to work correctly. Is there some way I can create a system object with the credentials as part of the object, and then just assign permissions to it as required?
    Please let me know if this raises any questions.
    Thanks
    Stuart

    i dont think it is possible to create a system object for all the users with same credentials.anyways you are trying to create system object for some users who belong to a particular group.so you need to do only one time user mapping for that group
    go to user administration-search for the group-go to user mapping tab-give username and password..
    reward points if helpful

Maybe you are looking for

  • PR funds check report

    Dears, I need to develop 1 report to find out before raising new Purchase requisition whether funds check limitation available or not. GL natural account :: Budget value :: PO requisition made on account :: PO req status e.g Expense account :: alloca

  • Set up bank email - automatic payment F110

    When we process the automatic payment  Tcode F110, SAP system will send file of all vendors/customers to the bank. How can we set up the bank's email and our email (which will appear as sender)? The system will send individually to each bank, or send

  • Black screen on ipod 5 touch

    2 week old ipod 5 touch won't work - black screen appears - tried charging, holding down "on/off" button. holding down "home" button, charging on computer (itunes won't appear), but nothing seems to help.  Any suggestions?

  • QuickLook missing in Lion's Mail?

    Since upgrading to Lion, my (new) Mail seems to be missing the QuickLook function for viewing attachments. Is it really missing, is there a pref setting to enable it which I couldn't find, or did something go wrong with my installation? If it's missi

  • Monitor/trace per transaction performance stats

    Is it possible to trace stats like cpu time and num of IOs for each committed transaction and log them one row per transaction? Thanks, Stan