Desktop class problem

The code below does nothing. No file opened, no exception thrown, no output.
What can I do to discover the problem?
It does indeed execute the desktop.open(file) line.
Using JDK 1.16.0_81
File file = new File(pathAndFileString); // an existing text file
if (Desktop.isDesktopSupported()) {
     Desktop desktop = Desktop.getDesktop();
     if (desktop.isSupported(Desktop.Action.OPEN )) {
          try {
               desktop.open(file);
          } catch (IOException e1) {
               e1.printStackTrace();
     else {
          System.out.println("Desktop.Action.OPEN not supported");
else {
     System.out.println("Desktop not supported");
}

package desktopdemo;
import java.awt.Desktop;
import java.io.File;
import java.io.IOException;
public class MyDesktopDemo {
     public MyDesktopDemo() {
          // have tried .txt, .rtf, .pptx all with no effect
          String pathAndFileString = "C:\\my.pptx";
          File file = new File(pathAndFileString);
          if (Desktop.isDesktopSupported()) {
               Desktop desktop = Desktop.getDesktop();
               if (desktop.isSupported(Desktop.Action.OPEN )) {
                    try {
                         System.out.println("desktop.open(" + pathAndFileString + ")"); // gets here
                         desktop.open(file); // but nothing happens
                    } catch (IOException e1) {
                         e1.printStackTrace();
               else {
                    System.out.println("Desktop.Action.OPEN not supported");
          else {
               System.out.println("Desktop not supported");
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new MyDesktopDemo();
}

Similar Messages

  • Desktop.open() Problem

    I recently put together an application that relied heavily on the Desktop.open( ) method and several other methods from the Desktop class. However, all of a sudden the Desktop.open() does not work. I believe I read some where that this was due to the ShellExecute function or dll or something like that.
    However, since my app is targetted at the Windows platform I resorted to using windows Explorer to launch the system default applications for files using a the code below
    public static void openFile(File file) {
      try {
        Runtime runtime = Runtime.getRuntime();
        runtime.exec( "explorer.exe \"" + file.getAbsolutePath() + "\"" );
      } catch(IOException) {
        ioe.printStackTrace();
        JOptionPane.showMessageDialog(null, "Could Not Open File Location: " + file.getAbsolutePath());
    }The code works as expected, but my problem is that I am loosing cross-platform functionality.
    Can any point my to solution to this Desktop.open( ) problem, or probably add the my list platform dependent launch procedures so at least the code works on Windows,Linux and Mac.
    ICE

    Thanks Andrew,
    I've do a more simple example of the problem. I create two files on "\\fiuu\proyectosShared", one called "test.txt" and the other one called "te st.txt". I execute your exact source for the who paths whith these results:
    File f = new File("//fiuu/proyectosShared/test.txt");
    System.out.println(f + "  exists: " + f.exists());
    dt.open(f);
    RESULT:
    \\fiuu\proyectosShared\test.txt  exists: true
    (notepads opens the file)The second test does'nt work:
    File f = new File("//fiuu/proyectosShared/te st.txt");
    System.out.println(f + "  exists: " + f.exists());
    dt.open(f);
    RESULT:
    \\fiuu\proyectosShared\te st.txt  exists: true
    Exception in thread "main" java.io.IOException: Failed to open file:////fiuu/proyectosShared/te%20st.txt. Error message: El sistema no puede hallar la ruta especificada.
         at sun.awt.windows.WDesktopPeer.ShellExecute(WDesktopPeer.java:59)
         at sun.awt.windows.WDesktopPeer.open(WDesktopPeer.java:36)
         at java.awt.Desktop.open(Desktop.java:254)
         at DesktopTest.main(DesktopTest.java:14)
    (translation of error message: System can't find specified path)I've also done some tests with Desktop.browse(file.toURI), and some others with no success.
    Something curious: try to execute Runtime.getRuntime().exec("explorer " + f.getAbsolutePath) for a file that has thow white spaces on his name....
    File f = new File("//fiuu/proyectosShared/te  st.txt");//with two white spaces
    System.out.println(f + "  exists: " + f.exists());
    Runtime.getRuntime().exec("explorer " + f.getAbsolutePath());
    \\fiuu\proyectosShared\te  st.txt  exists: trueSystem says:
    Explorador de Windows
    La ruta '\\fiuu\proyectosShared\te st.txt' no existe o no es un directorio.
    Aceptar  
    (spanish version of File not found alert message)Note that in alert message one white space of filename is lost!
    Thanks again
    Edited by: pakomail on Nov 24, 2008 6:12 AM

  • Post Moved BT Broadband Desktop help problem

    Post Moved to Other BB Queries http://community.bt.com/t5/Other-BB-Queries/BT-Broadband-Desktop-Help-problem/td-p/46973
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

    Hi FrankC
    I am sorry this still a problem.
    If you could drop me an email please with your BT account and telephone number along with a link back to this thread I'll get this sorted out for you.
    Just send to the address in my profile. 
    With regards to the thread being marked as solved as the original poster you can unmark the thread as solved.  Just select 'Options' at the top right of the post.  KerryG has posted up a pretty useful guide on this here. 
    Cheers
    Craig
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)”
    td-p/30">Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Installer hanging on selecting Desktop Class

    Morning,
    I downloaded the 32 bit Windows 11.2.0.3 patchset from My Oracle Support early on in the week. When I try to install it on a Windows 7 machine, the installer hangs on the 'Installing Database' page after I select 'Desktop Class' and press the Next button.
    I had earlier chosen to skip software updates and the create and install a starter database option.
    Has anyone else experienced this, are there any log files created by the installer at this point that I can look at or can anyone help with a solution?

    Thanks Srini,
    I can confirm I have met all the pre-requirements and don't have spaces in the folders.
    The machine being installed on is Windows 7 SP1
    Here are the lines from the log file:
    INFO: Localizing view <AutoUpdatesOptionsUI> at state <AutoUpdatesOptionsUI>
    INFO: Completed localizing view <AutoUpdatesOptionsUI> at state <AutoUpdatesOptionsUI>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state AutoUpdatesOptionsUI
    INFO: Completed executing action at state <AutoUpdatesOptionsUI>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <AutoUpdatesOptionsUI>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating view at state <AutoUpdatesOptionsUI>
    INFO: Completed validating view at state <AutoUpdatesOptionsUI>
    INFO: Validating state <AutoUpdatesOptionsUI>
    INFO: Completed validating state <AutoUpdatesOptionsUI>
    INFO: No updates will be downloaded or applied
    INFO: Verifying route NO_AUTO_UPDATES
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state supportedOSCheck
    INFO: Completed executing action at state <supportedOSCheck>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <supportedOSCheck>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating view at state <supportedOSCheck>
    INFO: Completed validating view at state <supportedOSCheck>
    INFO: Validating state <supportedOSCheck>
    INFO: Verifying target environment...
    INFO: Checking whether the IP address of the localhost could be determined...
    INFO: Completed verification of target environment.
    INFO: Completed validating state <supportedOSCheck>
    INFO: Verifying route success
    INFO: Get view named [InstallOptionsUI]
    INFO: InstallOptionsUI Entering Constructor
    INFO: InstallOptionsUI Exiting Constructor
    INFO: View for [InstallOptionsUI] is oracle.install.ivw.db.view.InstallOptionsUI@19713ea
    INFO: Initializing view <InstallOptionsUI> at state <installOptions>
    INFO: Completed initializing view <InstallOptionsUI> at state <installOptions>
    INFO: Displaying view <InstallOptionsUI> at state <installOptions>
    INFO: Completed displaying view <InstallOptionsUI> at state <installOptions>
    INFO: Loading view <InstallOptionsUI> at state <installOptions>
    INFO: Completed loading view <InstallOptionsUI> at state <installOptions>
    INFO: Localizing view <InstallOptionsUI> at state <installOptions>
    INFO: Completed localizing view <InstallOptionsUI> at state <installOptions>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state installOptions
    INFO: Completed executing action at state <installOptions>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <installOptions>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: InstallOptions UI Entering & Exiting processInput
    INFO: Validating view at state <installOptions>
    INFO: Completed validating view at state <installOptions>
    INFO: Validating state <installOptions>
    INFO: inventory location isC:\Program Files\Oracle\Inventory
    INFO: Is CRS Installed false
    INFO: Completed validating state <installOptions>
    INFO: InstallOptionsAction Actions.transition called
    INFO: selectedInstallOption is :INSTALL_DB_AND_CONFIG
    INFO: inventory location isC:\Program Files\Oracle\Inventory
    INFO: Is CRS Installed false
    INFO: launchNETCA = true
    INFO: Verifying route system_class
    INFO: Get view named [SystemClassUI]
    INFO: SystemClassUI Entering Constructor
    INFO: SystemClassUI Exiting Constructor
    INFO: View for [SystemClassUI] is oracle.install.ivw.db.view.SystemClassUI@6c9220
    INFO: Initializing view <SystemClassUI> at state <getSystemClass>
    INFO: inventory location isC:\Program Files\Oracle\Inventory
    INFO: Is CRS Installed false
    INFO: Completed initializing view <SystemClassUI> at state <getSystemClass>
    INFO: Displaying view <SystemClassUI> at state <getSystemClass>
    INFO: Completed displaying view <SystemClassUI> at state <getSystemClass>
    INFO: Loading view <SystemClassUI> at state <getSystemClass>
    INFO: Completed loading view <SystemClassUI> at state <getSystemClass>
    INFO: Localizing view <SystemClassUI> at state <getSystemClass>
    INFO: Completed localizing view <SystemClassUI> at state <getSystemClass>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state getSystemClass
    INFO: Completed executing action at state <getSystemClass>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <getSystemClass>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: SystemClassUI Entering & Exiting processInput
    INFO: Validating view at state <getSystemClass>
    INFO: Completed validating view at state <getSystemClass>
    INFO: Validating state <getSystemClass>
    INFO: inventory location isC:\Program Files\Oracle\Inventory
    INFO: Is CRS Installed false
    INFO: Completed validating state <getSystemClass>
    INFO: selectedSystemClass is :DESKTOP_CLASS
    INFO: inventory location isC:\Program Files\Oracle\Inventory
    INFO: Verifying route desktop_class_yes
    INFO: Get view named [QuickInstallUI]

  • Desktop class

    Hey
    I am trying to print a document using the new java class Desktop class.
    Desktop desktop = null;
    if (Desktop.isDesktopSupported())
    desktop= Desktop.getDesktop();
    try {
    desktop.print(new File(aFileFullPath));
    catch (IOException e)
    // TODO Auto-generated catch block
    e.printStackTrace();
    if(desktop.isSupported(Desktop.Action.PRINT))
    System.out.println("print supported");
    I get no exception running the code and also the "print supported" message is been displayed, but nothing happens, the file is not printed! I was trying also the command for open a file and the same result, no exceptions and no operation are been taken.
    I was trying to run the Desktop example: http://download.oracle.com/javase/tutorial/uiswing/misc/desktop.html
    But same result, the project is running but no operations are taken.
    The only thing I found regarding this issue is Changing File Associations, but for example If I am trying to print or open a .DOC file under windows the system already associate the file with Microsoft Word application...
    Thanks,Natalie
    Edited by: 799847 on Feb 27, 2011 2:49 AM

    799847 wrote:
    ..I am trying to print a document using the new java class Desktop class.
    Desktop desktop = null;When posting code, code snippets, HTML/XML or input/output, please use the code tags as described on the 'sticky post' at the top of the forum thread listing. E.G.
    Desktop desktop = null;
      if (Desktop.isDesktopSupported())
       desktop= Desktop.getDesktop();
       try {
              desktop.print(new File(aFileFullPath));
       catch (IOException e)
         // TODO Auto-generated catch block
        e.printStackTrace();
       if(desktop.isSupported(Desktop.Action.PRINT))
         System.out.println("print supported");
    I get no exception running the code and also the "print supported" message is been displayed, but nothing happens, the file is not printed! I was trying also the command for open a file and the same result, no exceptions and no operation are been taken.
    I was trying to run the Desktop example: http://download.oracle.com/javase/tutorial/uiswing/misc/desktop.html
    Smells like a bug to me. Check the bug database for similar bugs and if you do not find one, raise a new report. Use the DesktopDemo.java as the source for the report. There is nothing quite more definitive than Oracle's own demo. code!
    BTW - I am guessing you edited your post? If so, you went about it the wrong way. If the 'back button' is used to edit a post, it results in 2 posts. Instead use the 'edit' link on the top right of the last message. Note that I would have replied sooner, but first I wanted to ensure the other post was deleted so people do not waste time replying to 2 threads. 0_o
    Added to that, the reply was further delayed by me having to type that. ;)

  • Remote Desktop Connection Problem in Windows 7 Home Premium

    First off i have changed most of my computers in the house to static IP addresses. I only configured one static IP address to the router which is my laptop out of the two computers i am working with. Desktop and Laptop. Second I have enabled the Remote Desktop
    on both computers and changed the firewall setting for the computer or the anti virus software. I tried the  netstat -a but dont understand how to read it and when I did i never saw a host or port number for 3389 at all.
    Then finally I went into the registry/regedit to try to see if I had the port number available and port 3389 was not there is just had #"2" in hexadecimal and the file says ehshell.exe which I have no clue what that means. When i click on that it
    does not have the Port Number as the Title nor the port number itself as decimal which should be 3389 as decimal data but instead it has 2 as the data for hexadecimal. I can change the data for the port numbe and change to 3389 but I can't change the title
    from ehshell.exe in the decimal value to PortNumber? The letters on my keyboard just will not coroperate or respond but it will highlight the word and thats it but not make a change to the data value ehshell.exe to something else.
    Is it supposed to do that or what I wonder does anybody have any solutions to this so I can get my Remote Desktop running as soon as possible and no I do not have an Nvidia graphics card. I dont know what the problem is so can somebody please help
    me? I need it for my Windows Server 2008 R2 class next semester and I need to be able to remote to other computers and devices. 

    Hi,
     You can search and download remote desktop client for Win7.
    http://blogs.msdn.com/b/scstr/archive/2012/03/16/download_2d00_remote_2d00_desktop_2d00_client_2d00_rdc_2d00_7_2d00_0_2d00_or_2d00_7_2d00_1_2d00_download_2d00_remote_2d00_desktop_2d00_protocol_2d00_rdp_2d00_7_2d00_0_2d00_or_2d00_7_2d00_1.aspx
    Hope this will help you. 

  • Document class problem

    I'm working out of Colin Moock's Essential ActionScript 3.0
    and I get this message when I try to save my file: "A definition
    for the document class could not be found in the classpath, so one
    will be automatically generated in the SWF file upon export." The
    document class is set to zoo.VirtualZoo
    My .fla file sits on the desktop. Also on the desktop, there
    is a folder named zoo. Within this folder named zoo there are
    several .as files, one of the is named VirtualZoo.as
    Even when I try to run the completed file that he provides I
    get this same message. I'm running MacOS10.4.11, using Flash CS3,
    and have already reset all of my ActionScript settings within my
    preferences.
    Here's the link to the files:
    http://moock.org/eas3/examples/moock_eas3_examples/virtualzoo_Flash_authoring/
    Any help would be much appreciated,
    Joe

    I tried it from you're link and it still gave me the same
    problem. Do you think that I've changed some setting? Is there a
    way to completely reset all the defaults in flash? This sucks.
    Joe

  • Desktop.open() problems

    I realise that this post might be quite similar to one posted yesterday, but I thought that the problem was sufficiently different to warrant a new thread.
    I'm trying to use the Desktop.open(file) method to open a file with the default application - so far I have gotten this to work successfully with Word files - however when I try to load a pdf file I get an error
    Failed to open file:/C:/Users/alex/Desktop/cup.pdf. Error message: No application is associated with the specified file for this operation.This seems strange since pdf file's are associated with Adobe Acrobat Reader on my computer. How does Java know which application to associate with the file type? I assume it's some native method, but if I call 'start c:/.../file.pdf' from the command line it opens the file with Acrobat Reader - So I'm stumped
    Any help would be greatly appreciated.
    Thanks

    I've just written a little test app to isolate the Desktop.open() call from our system :
    import java.awt.Desktop;
    import java.io.File;
    public class Test {
      public static void main(String[] arg) throws Exception {
        File file = new File(arg[0]);
        Desktop desktop = Desktop.getDesktop();
        desktop.open(file);
    }Running this as
    java Test C:\Users\alex\Desktop\cup.pdfGives me the error
    Exception in thread "main" java.io.IOException: Failed to open file:/C:/Users/alex/Desktop/cup.pdf.
    Error message: No application is associated with the specified file for this operation.
            at sun.awt.windows.WDesktopPeer.ShellExecute(Unknown Source)
            at sun.awt.windows.WDesktopPeer.open(Unknown Source)
            at java.awt.Desktop.open(Unknown Source)
            at Test.main(Test.java:10)

  • Palm Desktop Installation Problems

    When I tried to open my Palm Desktop to sync my Tungsten E, I found that the program had become corrupted and would not open.
    I decided that the best way of overcoming this problem was to download a fresh copy of Palm Desktop from PalmOne and re-install. This did not work, as the install kept stopping and a pop-up window would announce that a newer version of Desktop was already installed.
    I then tried to un-install whatever remained of Palm using the Windows Add/Remove Utility but it kept telling me that there was a Network problem and would not Un-install even though we are not connected to a network.
    Today I learned of the free RevoUninstaller utility which I downloaded, installed and ran. It identified a considerable number of leftover pieces of Palm files, keys, etc. which I allowed RevoUninstaller to delete.
    This appears to have eliminated the issue of the "newer version of Desktop is already installed". However, during this new install, while the Palm Desktop InstallShield Wizard is installing "Registering Class Servers", I now get another error message as follows:
    Error 1401. Could not create key.
    HKey_Users\S-1-5-21-299502267-1123561945-839522115-1006\software \Classes
    Verify that you have sufficient access to that key, or contact your support personnel.
    This is a single, home-based computer with two Users and not connected to a network. Can anyone help me sort out this problem.
    Thanks, Frank
    Post relates to: Tungsten E

    Thanks for your suggestions.This whole problem started when I was unable to open Desktop and sync my Tungsten E. It appeared that the program had been corrupted. So I tried to uninstall and then reinstall using the downloaded the Desktop software (Win414EN.exe, Version 8.2.160.0) from PalmOne. I kept getting error messages so I followed some of the instructions that I found on previous postings on this forum.
    I tried to uninstall the previous version listed on my computer (Version 4.1.0420) using the Windows Add/Remove Programs. This was unsuccessful as it would not uninstall.
    I then edited the registry and deleted all evidence of Palm as suggested in the instructions. This also did not fix the problem.
    I then downloaded the Windows Installer CleanUp Utility  and ran that to try to uninstall Version 4.1.0420. - This was again unsuccessful.
    Then I tried to Install (Run) the downloaded "PalmOne Desktop Win414EN.exe, Version 8.2.160.0" software again, the Palm Desktop Install Shield Wizard opened started the installation procedure and an error message opens that states "A newer version of  Palm Desktop is already installed". After clicking OK on the error message, Wizard terminates the installation and the page changes and instructs me as follows: "InstallShield Wizard completed. The Wizard was interrupted before Desktop could be completely installed. Your system has not been modified. To install this program at a later time, please run the installation again. "Click Finish to exit the Wizard".
    Of course, running the installation again resulted in the same installation problem.
    I then did some research on uninstallers and decided to download and install the free utility RevoUninstaller, and ran this utility.
    RevoUninstaller identified 153 files, folders, keys, etc. from Palm which I subsequently agreed to delete. The program inserted a Restore Point before deleting all.
    I then tried to Install Desktop again from the downloaded software PalmOne Desktop Win414EN.exe, Version 8.2.160.0 as I don't have a PalmOne Desktop CD. I did not get a CD when I purchased my Tungsten E new about 5 or 6 years ago.
    During the installation of files, the Palm Desktop InstallShield Wizard gets to Registering Class Servers, stops and puts a new error message: Error 1401. Could not create key. Hkey_Users\S-1-5-21-299502267-1123561945-83952 2115-1006\Software\Classes. Verify that you have sufficient access to that key, or contact your support personnel.
    I have several questions,
    Did I delete too much?
    What is this Hkey and how can I have access to it?
    Is there a way to fix this issue?
    Thanks for your anticipated help. Merry Christmas.
    Frank

  • Creating a triangle using polygon class problem, URGENT??

    Hi i am creating a triangle using polygon class which will eventually be used in a game where by a user clicks on the screen and triangles appear.
    class MainWindow extends Frame
         private Polygon[] m_polyTriangleArr;
                       MainWindow()
                              m_nTrianglesToDraw = 0;
             m_nTrianglesDrawn = 0;
                             m_polyTriangleArr = new Polygon[15];
                             addMouseListener(new MouseCatcher() );
            setVisible(true);
                         class MouseCatcher extends MouseAdapter
                             public void mousePressed(MouseEvent evt)
                  Point ptMouse = new Point();
                  ptMouse = evt.getPoint();
                if(m_nTrianglesDrawn < m_nTrianglesToDraw)
                                int npoints = 3;
                        m_polyTriangleArr[m_nTrianglesDrawn]
                      = new Polygon( ptMouse[].x, ptMouse[].y, npoints);
    }When i compile my code i get the following error message:
    Class Expected
    ')' expectedThe two error messages are refering to the section new Polygon(....)
    line. Please help

    Cannot find symbol constructor Polygon(int, int, int)
    Can some one tell me where this needs to go and what i should generally
    look like pleaseI don't think it is a good idea to try and add the constructor that the compiler
    can't find. Instead you should use the constructor that already exists
    in the Polygon class: ie the one that looks like Polygon(int[], int[], int).
    But this requires you to pass two int arrays and not two ints as you
    are doing at the moment. As you have seen, evt.getPoint() only supplies
    you with a single pair of ints: the x- and y-coordinates of where the mouse
    button was pressed.
    And this is the root of the problem. To draw a triangle you need three
    points. From these three points you can build up two arrays: one containing
    the x-coordinates and one containing the y-coordinates. It is these two
    arrays that will be used as the first two arguments to the Polygon constructor.
    So your task is to figure out how you can respond to mouse presses
    correctly, and only try and add a new triangle when you have all three of its
    vertices.
    [Edit] This assumes that you expect the user to specify all three vertices of the
    triangle. If this isn't the case, say what you do expect.

  • Load image using the loader class problem

    Hi, I'm trying to load an image in a movieclip using using the following:
    Load_image_btn.addEventListener(MouseEvent.CLICK,Load_image);
    function Load_image(event:MouseEvent):void
        var my_loader:Loader = new Loader();
        my_loader.load(new URLRequest("C:\Users\Amanda\Desktop\picture1"));
        addChild(my_loader);
    When I enter just "picture1" for the location it works, but like this it is giving me the following error: Error #2000: No active security context.  How can I go about this, as I want to have a picture which in a separate location from that of the flash file?
    I would also like to have the image located in a particular location (x,y) of the movieclip, is this possible? thanks in advance.

    I am using the following code:
    function AddViewDetails(event:ListEvent):void
    var mc:MovieClip=new Additional_Req_Info();  // where Additional_Req_Info is the class name
    addChild(mc);
    var clickedName:String = event.currentTarget.name;
    trace (clickedName);      /////prints Current_Req_List
    var instanceName:String = clickedName + (Current_Req_List.selectedIndex + 1);
    trace (instanceName);  /////prints Current_Req_List1,  Current_Req_List2, etc depending on list item selected
    if(!getChildByName(instanceName)){
    var classRef:Class=Class(getDefinitionByName(instanceName));
    trace (classRef);   ////not printed
    var mc:MovieClip=new classRef();
    mc.name=instanceName;
    trace (mc.name);   ////not printed
    And its giving me the following error:
    ReferenceError: Error #1065: Variable Current_Req_List1 is not defined.
    at global/flash.utils::getDefinitionByName()
    at Websiteversion4_Scene1_fla::MainTimeline/AddViewDetails()[Websiteversion4_Scene1_fla.Main Timeline::frame1:185]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at fl.controls::SelectableList/handleCellRendererDoubleClick()
    How can I define the list items if they are dynamically generated i.e. at runtime? thanks!!!

  • Multiple Desktops & Outlook Problems

    Hi,
    I recently purchased a Curve (8310), and I've been having a problem with my Outlook sync.  Yesterday our IT people set me up on the Enterprise Server and everything worked fine.  I could send/receive emails, check my calendar and use the Desktop software on my work computer.  Then, last night I installed the desktop software on my home computer to edit applications, and since then my Outlook profile has been acting strangely.  I cannot send or receive emails unless the blackberry is connected (via USB) to my work computer.  As soon as I disconnect it Outlook simply will not work.  I have verified this effect many times, through sending/receiving emails, editing calendar events, looking up Outlook contacts and watching the Desktop Redirector.  My gmail account is working fine, as is everything else.  I have tried playing with a number of settings on the Desktop manager, restoring the blackberry to before I installed the software at home, and having out IT people reset my connection to the server.  Obviously, none of these things have worked.   
    I think the problem has to do with the way I installed the Desktop software on my home computer.  I used the same installation parameters as I did here, namely setting it up for an Enterprise server.  I do not use Outlook on my home computer, and I'm wondering if that version of the Desktop is interfering with my work version.  Has anyone else had this problem, or could someone suggest some solutions?  Ideally, I would like to have the Desktop on both computers, but maybe it is a matter of installing different versions on the two.  Does anyone do this, or know if it will work?  I'm hoping that when I go home and uninistall the Desktop software from my computer it will fix things, but I doubt it for some reason.  Any help would be greatly appreciated.
    Thanks,
    Matt 

    Why aren't you using Outlook on your home computer? What program are you using on your home computer to read your e-mail? If you don't have a program on your home computer for e-mail, contacts, calendar, etc. then there is no need to have the BB Desktop software, unless you are uploading other programs from your home computer.
    Gary

  • Desktop H430 problems after update to Windows 8.1

    Desktop LENOVO IdeaCentre H430 VDH3UGE Intel Core i3-3220 3,30 GHz, 8GB RAM, 1TB HDD, AMD HD7570, Win8
    After updating Windows 8 to 8.1. I have problems with software on my computer including Mozilla Browser.
    Although the software installed in Windows 8, still run in update 8.1, many give problems: Sluggish, long (to very long) response time, hanging and such like. Even Mozilla Firefox worked in 8, but gave problems in 8.1, so I switched to Nightly.
    Programs like Magix MusicMaker 2013 run really bad.
    So too Arcsoft MediaImpression for Kodak
    And in general there is a sluggish/long/hanging response.
    I looked at Lenovo driver website to see if I needed updates and tried the first couple:
    Realtek Audio Driver for Windows 8.1 (64-bit) – Desktop = Realtek Audio Driver 
    h1100913.exe  !!!!
    But I must have screwed up with this download because I lost sound!!!!
    Or I screwed up with BIOS download???
    Flash BIOS update - Flash from Operating System version for H430 - Version ECJY24AUS
    But when I got to the Core-Chipsatz Drivers I really got confused!!!
    There were two options and I had no idea if I needed one, and which one, or both:
    Intel Me Driver h1100732.exe Windows 8.1 64-bit
    Intel chipset Driver h1100731.exe  Windows 8.1 64-bit
    Too complicated for me, I should have stayed away from this, have no idea which is right - or even if I needed them really. It was just because the computer worked so bad!
    Can anybody help, advise

    I no longer believe it is avast antivirus causing the problem. I think Microsoft have screwed up again. Both Spybot and Avast were no longer compatible, and had to be updated to a new version - luckily for both of these there was a new version available. For some of my other software there is not - although they all functioned on W8 !! additionally I get other strange "happenings" like a window saying there is no CD inserted when there is no CD for the program (I read somewhere of someone also mentioning this) and other strange/weird little happenings which are not supposed to happen - and for no apparent reason!
    This lenovo H430 is a really bad computer - now with 8.1 it is even worse !

  • Remote desktop connection problem windows 8

    Hi everybody,
    I hope you can help us. We run a software package that uses a remote desktop connection. When the program is minimised for more than a couple of minutes, the connection disconnects and takes a while to reconnect. We've been in touch with the guys that run
    the program and they've said that there's no problem on their end and that it must be on our end. It's happening with all three computers at one location and it's not happening with our two computers in our other location. 
    I've been in touch with the online support guys in microsoft and they couldn't help. So I'm wondering if any of you can help us (in laymans terms please!).
    All our computers run Windows 8.
    Thanks in advance.

    Hi,
    Thank you for your posting in Windows Server Forum.
    Yes, you can check with 2 different settings. 1) By Collection properties (Server 2012\R2) and RDP-Tcp connection under Remote Desktop Service Manager (Server 2008 R2). 2) The other setting is related to GPO (Set time
    limit for active but idle Remote Desktop Services sessions) as following path.
    Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits 
    User Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits 
    You can check below link (Configuration 1) for more information.
    [Forum FAQ] Restrict number of Active Sessions in RDS 2012 and 2012 R2
    http://social.technet.microsoft.com/Forums/en-US/00c2252b-8ec0-489f-8da2-07a434a9b5a2/forum-faq-restrict-number-of-active-sessions-in-rds-2012-and-2012-r2?forum=winserverTS
    Hope it helps! 
    Thanks.
    Dharmesh Solanki

  • Installed the RDS 2012 Server License per user CAL (5pcs) after not allow over two users remote desktop connection problem

    I have successfully to installed the RDS 2012 Server R2 per user CAL (5pcs) Open License after is found not allow over two users to remote desktop connection on this Server problem, I try to uninstall the license and then (internet on-line & telephone
    call Microsoft Activate Center get the activate key) to reinstall is still same of the result on below problem.
    Select a user disconnect so that you can sign in.
    There are too many users signed in
    User1 Active
    User2 Active
    () Force disconnect of the user

    Hi,
    In addition you can also refer following article for RDL configuration.
    RD Licensing Configuration on Windows Server 2012
    http://blogs.technet.com/b/askperf/archive/2013/09/20/rd-licensing-configuration-on-windows-server-2012.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Maybe you are looking for

  • Random error when using cfpdfform to create pdf

    I have a series of pdf forms that have been created with extended rights in reader using both Acrobat Pro 9 and Acrobat Pro X. I use cfpdfform to pre-populate the form and name it with a unique guid.  Some people randomly are getting the error in rea

  • Can't backup to my Time Capsule -- always hangs

    So, tonight I bought a Time Capsule to back up my MacBook Air to. I've been using AirPort Base Stations for years, so I'm pretty familiar with troubleshooting them at this point. Long story short, I've not been able to get a single successful backup

  • Inapp purchases implementation

    Hi Team, I need transaction more then $1000/- from in-app purchase on my application for just upgrading some account level of user's. But unfortunately i am not able to create products for price more than $999.99/-  according to Price Tier. What will

  • Response message from RFC?

    Hi can a response from RFC have multiple messages. how will a BPM detect it? or is there any way to capture them? thanx

  • Quicktime won't open idvd burned movie in XP

    I work between eMac and XP. I have purchased the new Quicktime 7.1 for windows to do some editing. It will not recognise my iDVD movie, even though nero and all other players do so. I wish to edit this movie for email. I am using iLife 06. My eMac is