Finding component under cursor - Container.findComponentAt() troubles

Hi,
I'm using Container.findComponentAt to ask the root application Window to find which component is under the cursor. The I build the context sensitive message depending on what is under the cursor.
I have found following problems, mainly with pop-ups and menus.
- findComponentAt refuses to find menu element if menu sticks outside the limits of Window I ask to find component.
- findComponentAt refuses to find any popup-menu element - it always returns the "first hit" which is usually the component below the popupmenu
I'm using 1.6 JRE.
My question is: does anybody knows the other way to find what is under cursor? Without adding mouse motion listeners to every component I mean. Just a single piece of code to find where mouse events would get next.
Regards,
Tomasz Sztejka

It is stupid to answer to myself, but possibly some of You may benefit from that.
The way to get a trace on what is under the cursor is:
Toolkit.getDefaultToolkit().addAWTEventListener(
               new java.awt.event.AWTEventListener()
                    public void eventDispatched(AWTEvent event)
                         if (event.getID()==MouseEvent.MOUSE_ENTERED)
                              Object o = event.getSource();
                              if (o instanceof Component)
                                   traced_mouse_item = (Component)o;
                         }else
                         if (event.getID()==MouseEvent.MOUSE_EXITED )
                              traced_mouse_item = null;
               AWTEvent.MOUSE_EVENT_MASK
                                        );and then follow changes in traced_mouse_item variable.
Silly me.

Similar Messages

  • How do I enable "Data under cursor"?

    Hi all,
    I just started playing around with the new Au CS6, like it a lot so far! I've had good luck getting all the little tweaks I liked from Au 3 working except this one small thing which to many may seem unnecessary, but I have found to be very useful in specific instances.
    Using Au 3, in the status bar at the bottom of the screen there are various data displayed such as 'Sample Format', 'File Size', 'Free Space', and the one I am struggling to find in CS6, 'Data Under Cursor'. With this, anywhere I placed the cursor on a spectrogram I might be looking at in Au it will give me the readout of exact Hz value at that spot in the status bar (for example: -21.6 dB @ 1:22:021, 1362Hz). I cannot find how to turn on or view this datum in CS6. If there's someone out there who knows if I can still do this in the new version, or a workaround I could use to get something similar in Au CS6, I'd love to hear about it.
    Thank you!
    -Melissa

    I got it working since, I had to go into the rte player app and enable cellular streaming there. It wasn't anywhere in general settings where I was initially looking. Thanks anyway.

  • Macbook froze while online. hard shutdown. when it restarted, an error message appeared saying finder shut down unexpectedly containing a message box with a long list of technical jibberish.  after clicking OK that it would send an error report to Apple,

    macbook froze while online. hard shutdown. when it restarted, an error message appeared saying finder shut down unexpectedly containing a message box with a long list of technical jibberish.  after clicking OK that it would send an error report to Apple, the same error message box appeared again and again every time OK was clicked.  Now the macbook will not turn on at all

    If you're able to boot, launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
    Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post "shutdownStall" or "hang" reports.
    If you can't boot in the usual way, try a safe boot. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    During startup, you’ll see a progress bar, and then the login screen, which appears even if you normally log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Safe mode is slower than normal, and some things won’t work at all.
    Note: If FileVault is enabled under Mac OS X 10.7 or later, you can’t boot in safe mode.

  • Where or how do I find the installation package containing "iTunes.msi"?

    I have iTunes 10.5.3.3 installed on my computer with a Windows XP operating system.  I have tried to download the new itunes 10.6 but continually get a pop up which states "The feature you are trying to use is on a network resource that is currently unavailable.  Enter an alternate path to a folder containing the installation package "iTunes.msi".  I have tried  and failed to find this package. 
    I have also tried the support page suggestion by uninstalling the old itunes and then install the new one.  This did not work.  Another pop up also tells me that I cannot remove the old (10.5.3.3) itunes...because..." the feature I am trying to use is on a network resource that is currently unavailable". I am caught in a loop.  It appears that I need to locate the "iTunes.msi" installation package in order to be able to uninstall the old and replace with the new iTunes upgrade.
    Where or how do I find the installation package containing "iTunes.msi"?  Secondly, when I find it is there anything special I need to do or be aware of?

    Download the Windows Installer CleanUp utility from the following page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • [Help] Unable to find component with absolute reference

    I've deployed my project files to server and registered in Application.
    Class Files under myclasses goes to -> /disk2/app/applmgr/comntop/java/ldc/oracle/apps/sla/calnet/xref/phone
    Page XML under myprojects goes to -> /disk2/app/applmgr/appltop/xx_custom/11.5.0/mds
    The page is rendered successfully.
    (In EBS, HTML Call registered in FUNCTION is OA.jsp?page=/ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG)
    However, if I click any "action" such as <apply>, <delete>.. etc, I get "Unable to find component with absolute reference" error.
    I've verified -> exec JDR_UTILS.printDocument('/ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG', 150), and it did fetch the XML code.
    I've verified I restart Apache as well as deleting out pages -> rm -rf $COMMONTOP/_pages
    What am I missing here? Please help.
    xmlimport.bat
    REM   Setting Up JDeveloper Path
         set JDEV_BIN_HOME=C:\JDev9i_OAExtend_RUP7\jdevbin
         set JDEV_USER_HOME=C:\JDev9i_OAExtend_RUP7\jdevhome\jdev
         set JDEV_PROJECT_HOME=%JDEV_USER_HOME%\myprojects
    REM   Location of the import file
         set PATH=%JDEV_BIN_HOME%\jdk\bin;%JDEV_BIN_HOME%\jdev\bin;%PATH%
    REM   Setting up DB Connection Path
             set DB_CONNECTION="(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = arebdt.xxx.com)(PORT = 1521))(CONNECT_DATA = (SID = ARTEST)))"     
    REM   Setting up Page(s) to upload
         set PAGE2UPLOAD=ldc\oracle\apps\sla\calnet\xref\phone\webui\PhonePG.xml
         set APPS_PASSWD=<pass>
    REM   Execute import.bat
         call import.bat %JDEV_PROJECT_HOME%\%PAGE2UPLOAD% -rootdir %JDEV_PROJECT_HOME% -username apps -password %APPS_PASSWD% -dbconnection %DB_CONNECTION%
         pause
    REM   End of process     Error page
    Exception Details. 
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_NO_REGION_DATA. Tokens: REGIONCODE = ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG;
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:529)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3719)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3452)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1011)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
         at _oa__html._OA._jspService(_OA.java:84)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at _oa__html._OA._jspService(_OA.java:94)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    Exception:
    oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
         at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1352)
         at oracle.adf.mds.MElement.findElement(MElement.java:97)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:503)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3719)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3452)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1011)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
         at _oa__html._OA._jspService(_OA.java:84)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at _oa__html._OA._jspService(_OA.java:94)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:595)
    Exception:
    oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
         at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1352)
         at oracle.adf.mds.MElement.findElement(MElement.java:97)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:503)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3719)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3452)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1011)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
         at _oa__html._OA._jspService(_OA.java:84)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at _oa__html._OA._jspService(_OA.java:94)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:595)

    Ok, I admit it's my mistake.
    I found a url coded in my CO miss a / at the beginning of the url address.
    So, the Application deployment was OK.
    Incorrect -> "OA.jsp?page=ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG"
    Correct   -> "OA.jsp?page=/ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG"Note that, in JDeveloper, page will function successfully without the /, but in EBS it will throw the error.
    Code with correct url address embedded.
           pageContext.forwardImmediately("OA.jsp?page=/ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG",
                                          null,
                                          OAWebBeanConstants.REMOVE_MENU_CONTEXT,
                                          null,
                                          null,
                                          false, // retain AM
                                          OAWebBeanConstants.ADD_BREAD_CRUMB_NO); Edited by: user595907 on 2010/9/17 下午 4:28

  • Howto get componet thats under cursor...

    How can i get ahold of the component under my cursor? It could be any type of component. Lets say for this example, I would like to focus the component under my cursor if is a JText field...without clicking on it obviously...
    ideas?
    pointers?

    this event will not fire if a mouse button is pressed when i enter the JTextarea. I am trying to drag from a jtree to a jtexfield. If i click and start dragging from the JTree, and then drag over the jtextfield, no events are fired from teh Jtextfield. I do not want to use the drag-n-drop package because i have heard it is not all what it is cracked up to be. I hear it can slow performance because entire app is aware of the event...

  • How to Maintaining Cost component under cost component structure?

    Hi Gurus,
    How to Maintaining Cost component under cost component structure?
    I am using OKTZ trx for cost element and cost component maintaiance but when i am trying to maintain the cost element and corresponding cost comp , i am not able to find a cost comp on F4 help.
    Plz let me know , ur guidance will be rewarded ..

    Using command:
    ASSIGN COMPONENT idx OF STRUCTURE struc TO <fs>.
    For example:
    DESCRIBE FIELD pi_output TYPE pi_output COMPONENTS lv_columns. "For number of columns
    DO lv_columns TIMES.
    ASSIGN COMPONENT SY-INDEX OF
    STRUCTURE (name of structure) TO <l_fs_output>. "<l_fs_output> - field of structure
    DESCRIBE FIELD <l_fs_output>... "with other options.
    ENDDO.

  • Unable to find OPMN under the services tab after an essbase re-install

    Hi all,
    We are getting a new Hyperion(epm 11.1.2.0) system ready for use.I got all foundation services installed and configured successfully.
    after installing essbase, I had trouble configuring-so I had to re-install essbase- but after re-installing, I am unable to find OPMN under the services tab. Is there a way to invoke OPMN as a service?
    If I try running OPMN.exe, it gives me the error:
    ORACLE_HOME is not set
    This is what I found in opmn.log:
    [2012-03-22T15:38:01][opmn][NOTIFICATION:1][90][OPMN]ONS server initiated
    [2012-03-22T15:38:01][opmn][NOTIFICATION:1][522][OPMN][code:pm-internal]PM state directory exists: D:\Oracle\Middleware\user_projects\epmsystem1\config\OPMN\opmn\states
    [2012-03-22T15:38:01][opmn][NOTIFICATION:1][675][OPMN][code:pm-internal]OPMN server ready.  Request handling enabled.
    [2012-03-22T15:38:01][opmn][ERROR:1][17][OPMN][code:ons-listener]10.84.20.207,6712: BIND (Unknown error)
    It seems OPMN is trying to bind to an incorrect IP address.I am not sure where the IP Address references can be changed.
    Any suggestions?
    Edited by: 784749 on Mar 22, 2012 12:40 PM
    Edited by: 784749 on Mar 22, 2012 1:30 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    John,
    I finally found a reference to an old server under opmn.xml(of all places). Once I resolved this, I was able to start OPMN.
    But OPMN still doesn't show up as a service. I found some Oracle notes on how to setup the same. Hopefully, it will help.
    If OPMN is not setup as service(started manually), will it still bring Essbase up? Currently it is not bringing up Essbase.
    opmnctl status shows that essbase is down.

  • Reading a ref cursor containing a cursor throws AccessViolationException

    Apologies if this is a known bug. Documenting the simplest case I could find to reproduce it.
    Oracle 10g Release 2 (10.2.0.1.0)
    ODP.NET 2.102.2.10
    Windows XP SP2 32-bit, .Net 2.0.50727
    First, create a simple function that returns a very simple ref cursor:
    =======================
    create or replace function test_get_child_cursor
    return sys_refcursor
    is
         ret_results sys_refcursor;
    begin
         open ret_results for
         select 1 as child_id from dual;
         return ret_results;
    end;
    =======================
    Then try to execute a select that calls this function in ODP.NET:
    =======================
    OracleCommand cmd = conn.CreateCommand();
    cmd.CommandText = "begin open :1 for select 1 as id, test_get_child_cursor() from dual; end;";
    cmd.Parameters.Add("cur", OracleDbType.RefCursor, ParameterDirection.Output);
    cmd.ExecuteNonQuery();
    OracleDataReader reader = ((OracleRefCursor) cmd.Parameters["cur"].Value).GetDataReader();
    while (reader.Read())
    =======================
    Getting the following error when calling reader.Read():
    =======================
    System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    at Oracle.DataAccess.Client.OpsDac.Read(IntPtr opsConCtx, IntPtr opsErrCtx, IntPtr opsSqlCtx, IntPtr& opsDacCtx, OpoSqlValCtx* pOpoSqlValCtx, OpoMetValCtx* pOpoMetValCtx, OpoDacValCtx* pOpoDacValCtx)
    at Oracle.DataAccess.Client.OracleDataReader.Read()
    =======================
    Is this a supported feature at all in this version of ODP.NET (i.e., reading from a ref cursor that contains other ref cursors)?
    We have several places in our application where we'd like to get cursors containing cursors, so we just want to plan ahead if this is going to be supported.
    Thanks,
    Jeremy

    Hello,
    A bit old, but still relevant:
    Cursor expression & .NET
    Nested cursors are not supported by ODP.NET.
    - Mark

  • How to find component details for the equipment BOM

    Dear All ,
    I have a requirement ..I need to find all the component numbers for the equipment BOM. Can anybody pls help me in finding a table containing this information. I check in tcode IB02,IB03 but I am not able to find the database table containing this information.
    Regards,
    sap_code.

    Hi, Main table for equipment BOM is EQST. You can get the details from STPO (Item) and STKO (Header). You can use the FM CSAI_BOM_READ. Here u need to pass the header details and CSIN-STLTY = E " Equipment BOM.
    Thanks
    Subhankar

  • In my Macbook Pro finder folder under All Images, there are duplicate files, but one is small and the other is full size. I wanted to clean up the files, but don't know why I have two of everything. Any Ideas?

    In my Macbook Pro, the Finder folder has duplicate images in the 'all images' file. One image is small and the other is full size. First question is why do I have two of every image? Why is one small and the other large. Do I need two of everything? If not, which do I delete?
    thanks, Jean

    Hello fane,
    Re: duplicate images in finder.
    Nearly all images are JPG with a few GIF and PNG sprinkled in.
    I opened the inspector so I do get info when opening each image, but it a slow process.
    It seems that one image is around 70k while its twin can be up to 4Mb which is what comes unedited from my camera. Sometimes there will be 3 or 4 identical images in finder, but when I open iPhoto to see what ‘s really in the file, I find only one image, and it’s full sized.
    Are all these extra images, even if they are aliases, taking up space on my drive? And should I delete them? The info bar says I have over 10,000 images, which is rather a lot  for what I do.
    I am unable to add the file size on the view menu as it is grayed out. Don’t know why it’s gray, but having that info on the screen would save a lot of time and fiddling with each image.
    I am trying to resize selected pix so I can upload them to e-bay, which requires less than 70k. I have looked at resizing programs but most are for PC platform and not Mac, so I am trying to resize in the finder window under tools. Tedious at best. Any suggestions will be appreciated
    Thanks for your help,
    jeanfromwilsonville

  • My computer space is full and i want to remove some of my itunes movies from my computer but i dont want to loose them completely how do i make it so i can find them under my purchased on icloud?

    My computer space is full and i want to remove some of my itunes movies/ t.v shows from my computer but i dont want to loose them completely how do i make it so i can find them under my purchased on icloud?

    You can't do that. iCloud does function that way.
    Allan

  • Error when opening Find Examples under the Help menu

    Today when I tried opening the Find Examples under the Help menu in LabVIEW 6.1, it would not open correctly. The Find Examples window appears and then an error window appears on top of it with the following description -
    "Error 1 occurred at open or create file (function 1)."
    Then ther is a list of possible reasons.
    I have had this version of LabVIEW installed for over 6 months and had no problems until today. I tried running the installation program for LabVIEW and repairing LabVIEW but had no success.
    What should I do next? Is there a file/s I can delete and then install manually?
    Thanks,
    Rodney

    I've never actually heard of this error ocurring with the Examples Finder before. If it continues, I would probably just reinstall LabVIEW. That should clear up the problem.
    J.R. Allen

  • How to find out which page contains a specific ITextFrame

    Hi all,<br /><br />I would like to ask if it is possible to find out which page contains a specific text frame?<br /><br />I used the following code to find the ITextFrame that contains the caret<br />ISelectionManager* mgr = activeContext->GetContextSelection();<br />InterfacePtr<ITextEditSuite> esuite(mgr, UseDefaultIID());<br />InterfacePtr<ITextTrackerAccess> tracker(esuite, UseDefaultIID());<br />ITextFocus* focus = tracker->QueryTextFocus();<br />ITextModel* model = focus->QueryTextModel();<br />IFrameList* flist = model->QueryFrameList();<br />RangeData range = textFocus->GetCurrentRange();<br />TextIndex cposition = range.Start(0);<br />int32 fidx;<br />ITextFrame* frm = flist->QueryFrameContaining(cposition, &fidx);<br />UIDRef frmUIDRef = ::GetUIDRef(frm);<br /><br />However, when I use the following code to iterate through the pages, I cannot find any UID that matches the ITextFrame<br />for (int32 sIdx = 0; sIdx < spreadList->GetSpreadCount(); sIdx++) {<br />  UIDRef spreadUIDRef(database, spreadList->GetNthSpreadUID(sIdx));<br />  InterfacePtr<ISpread> spread(spreadUIDRef, UseDefaultIID());<br />  for (int32 pIdx = 0; pIdx < spread->GetNumPages(); pIdx++) {<br />    spread->GetItemsOnPage(pageIndex, &uidList);<br />    if (uidList.Contains(frmUIDRef.GetUID()) == kTrue) {<br />      ...<br />    }<br />  }<br />}<br /><br />Any help is appreciate. Thank you.<br /><br />Ikki

    I think your frmUIDRef is too far down the hierarchy to show up in GetItemsOnPage(). Try getting the IHierarchy interface from frmUIDRef and calling QueryParent(). That should get you from the kFrameItemBoss to the kMultiColumnItemBoss. Do the same again and you'll get to the kSplineItemBoss, which should appear in GetItemsOnPage().
    If you're running the debug version of InDesign, you can use the Test menu to run the Diagnostics > Document Structure > Trace Content Hierarchy command, which will print out the UIDs of all the items on a page and let you see what's happening.
    Charles

  • How to find out the textframe contains "stroke color" (or) "fillcolor"?

    How to find out the textframe contains "stroke color" (or) "fillcolor" via javascript. Kindly advise me with sample.

    I know, this post is quite a while ago, but: This simply does not work for me. Neither for simple PathItems, nor for the characters of a TextFrame.
    Working on: Illustrator CS5.5, Mac OS, Javascript
    Simple example:
    var numSelectedObjects = app.activeDocument.selection.length;
    // If any objects selected: Get fill and stroke color of the first one
    if(numSelectedObjects > 0){
    alert("Fill Color: " + app.activeDocument.selection[0].fillColor + " / Stroke Color: " + app.activeDocument.selection[0].fillColor);
    This returns always CMYKColor, RGBColor or GrayColor, even if there is no Color assigned to the objects stroke or fill!!
    For PathItems there is the attribute ".filled" or ".stroked", which returns "true" or "false" and is reliable.
    if(app.activeDocument.selection[i].filled){ // works fine with PathItems!
    Is there anything similar for Characters? I tried this one, but it does not work (because I think it does not exist):
    if(app.activeDocument.selection[i].textRange.filled){ // does not work!
    I just need to find out, if the characters in a textfield have got a fill or stroke color. Reliable.
    It would be very nice to get help from anybody!
    Thanks a lot in advance!

Maybe you are looking for

  • WebLogic 10.3 refuses to install silently without JDK

    Hi, I'm trying to figure out whether the WLS 10.3 package installer needs a JRE, or a JDK, in order to install silently. When trying to install silently on Solaris SPARC (bin installation, not generic jar installation) with a silent.xml file that con

  • The font size in web page composer 7.3

    Hello,My corporate is using SAP NetWeaver Portal 7.3 now. I want to use Web Page  Composer 7.3  to build a firstpage for my company,but I find a strange problem. When I create a web form,for example Link List or Paragraph,after I preview ,the disalpy

  • Problem printing documents four up in lanscape?

    I have a problem printing documetnts 4 up in landscape. The first page will print 4 cells to the first page in portrait mode, even though I have selected landscape, the rest of the document will print 4 up in landscape. When I have to produce more th

  • [SOLVED]Ugly menu in Libreoffice-fresh on archlinux kde

    How disable kde4 menu integration in Libreoffice-fresh? Last edited by Viterzgir (2014-11-15 12:36:05)

  • E72 Hanged and keys r not working

    Hi, My NOKIA E72 is hanged and keys r not working.... I m using latest fram ware..... when I switch on the phone it ask me for password (phone lock) but when I tried to enter the password the keys r not responding except 2,5,8, sys keys.... I hv trie