New/Open File puts window BEHIND all my tool windows - UGH.

I'm running PS CS4/mac on a Apple 30" display and have all my tool windows set up on the left side of the screen in three columns.  When I open up a file, it is placed BEHIND my tools in the upper left hand corner so I have to keep moving it over to the right - is there a way when you open or create a new file that the window opens to the right of my tools?  Very frustrating!

Heh! I lied, unintentionally. It all depends on how you dock your palettes. It must be done just right. Here's how.
Notice the position of my palettes on the right in my image above (exluding the Tools bar, that's already on the left). Once I drag them left, they collapse like this:
No good. Images will fall underneath. You have to drag the palette group until you see this:
Let go and the palettes will snap properly docked back to the sizes I had them at on the right.
Notice the dark gray in the blank area below the Tools palette. That's another indication the palettes are docked correctly. Done like this, images do properly stay to the right of the palettes.

Similar Messages

  • WebUtil within Oracle Forms (Find File - Open File Dialog Window)

    I have successfully configured WebUtil and I can successfully execute the functions. I have been working with PKG_FIND_FILE.Selection function (which displays an Open File Dialog Window).
    I cannot figure out why the following is occurring:
    When I call the above function, the system typically displays an older dialog window (light blue / gray) window. For a brief time, we were able to bring up the "Windows looking" dialog window. I don't know what we changed in the configuration, but it is now back to the older looking light blue/gray dialog window.
    Any ideas on where in the configuration, this would cause the dialog window to switch its "look and feel"
    Thanks,
    Mike

    File dialog look has been changed because of the java version difference.
    In Java 1.4 the look is different and 1.5 shows another way.
    So check which java plugin and the version of the java
    ( go to control panel->settings -> click on java and check on version)
    Rajesh ALex

  • AHHHHHH! Multiple open file chooser windows

    Ok, I am going nuts here. I have figured out the problem of getting the data to appear on the same frame that I originally open. The menu at the top has File -> Open. When the user first comes into the form, that is the only thing enabled. I am using a different file opener for this initial opening. Here is why (although, it doesn't fix the problem):
    When the user opens the file, the data appears in the frame. If the user opens another file, the data appears in the frame and another file open chooser window appears even though the users did not select it again. If the user then opens another file, then that is it. If the user then goes to the menu and selects File->Open the file open chooser appears. The user selects a file and the data appears in the frame, but another file open chooser appears. I have had it happen up to 8 times. Now, I have no idea why this is getting called over and over again. It is this that is being called multiple times:
           jMenuFileOpen.addActionListener(new ActionListener()  {
            public void actionPerformed(ActionEvent e) {
              System.out.println("IS THIS THE OPEN THAT IS CALLED OVER AND OVER AND OVER AGAIN");
              jMenuFileOpen_actionPerformed(e);
          });That println is printing each time another file open chooser window appears. I am pulling out my hair trying to figure this one out. The way I am starting this up is this:
      public FDASFrame(File file) {
        enableEvents(AWTEvent.WINDOW_EVENT_MASK);
        inputfile = file;
        try {
          jbInit();
        catch(Exception e) {
          e.printStackTrace();
      public void setFile (File file) {
        enableEvents(AWTEvent.WINDOW_EVENT_MASK);
        inputfile = file;
        try {
          jbInit();
        catch(Exception e) {
          e.printStackTrace();
      }These methods are in the main frame - FDASFrame. I am wondering if that is the problem. Here is the part of the filechooser that calls the main frame when the file is gotten:
                parent.setFile(file);
                JFrame frame = (JFrame)parent;Has anyone got any ideas to this problem? It might solve the problem of the tables getting duplicate data in them, too, each time a new file is opened.
    Thanks to anyone who has any ideas on how to solve this. I am stumped.
    Allyson

    I have other tests, but this is the one that is messing me up. Here is the whole file chooser (it is really long):
    package sdh;
    import java.io.*;
    //import java.io.File;
    //import java.io.FileInputStream;
    //import java.io.BufferedReader;
    //import java.io.InputStreamReader;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    //import javax.swing.filechooser.*;
    import java.util.*;
    import org.w3c.dom.Document;
    import org.w3c.dom.*;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.DocumentBuilder;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    public class FileChooserFrame extends JFrame {
      static File file;
      String tempfile, wholeline;
      PrintWriter textfile;
      Hashtable QualityCodes = new Hashtable();
      Hashtable DistanceCodes = new Hashtable();
      Hashtable ScreeningCodes = new Hashtable();
      Hashtable ObjectCodes = new Hashtable();
      Hashtable WeatherCodes = new Hashtable();
      Hashtable StabilityCodes = new Hashtable();
        public FileChooserFrame(FDASFrame parent, String filetype) {
          //Create a file chooser
          if (filetype.equals("Open")) {
            final JFileChooser fc = new JFileChooser();
            fc.addChoosableFileFilter(new xmlExtensionFileFilterClass());
            fc.addChoosableFileFilter(new fsExtensionFileFilterClass());
            fc.addChoosableFileFilter(new sdmExtensionFileFilterClass());
            fc.addChoosableFileFilter(new rcvExtensionFileFilterClass());
            fc.addChoosableFileFilter(new txtExtensionFileFilterClass());
            fc.setAcceptAllFileFilterUsed(false);
            int returnVal = fc.showOpenDialog(FileChooserFrame.this);
            if (returnVal == JFileChooser.APPROVE_OPTION) {
              file = fc.getSelectedFile();
              String ext = fc.getSelectedFile().toString().substring(fc.getSelectedFile().toString().indexOf(".")+1);
              /** @todo FDASFrame comes up each time you open a file - does not put data in the one already up */
    //        FDASFrame fdas = FDASFrame.getInstance();
    //          JFrame frame = new FDASFrame(file);
              if (ext.equals("txt")) {
                parent.setFile(file);
                JFrame frame = parent;
    //            JFrame frame = new FDASFrame(file);
                try {
                  String v;
                  FileInputStream f = new FileInputStream(file);
                  BufferedReader b = new BufferedReader(new InputStreamReader(f));
                  if ((v = b.readLine()) != null) {
                    StringTokenizer t = new StringTokenizer(v,"|");
                    if (t.nextElement().equals("FH")) {
                      frame.setTitle(t.nextElement().toString() + " Version " + t.nextElement().toString());
                catch(Exception ee) {
                  ee.printStackTrace();
                frame.addWindowListener(new WindowAdapter() {
                  public void windowClosing(WindowEvent e) {
                    System.exit(0);
                frame.setVisible(true);
              else if (ext.equals("xml") || ext.equals("sdm") || ext.equals("sdm.xml")) {
                // Hashtable for WeatherCodes for setups
                WeatherCodes.put("Clear","4");
                WeatherCodes.put("Pt. Cloudy","3");
                WeatherCodes.put("Cloudy","2");
                WeatherCodes.put("Hazy/Foggy","1");
                WeatherCodes.put("","0");
                // Hashtable for StabilityCodes for setups
                StabilityCodes.put("Good","3");
                StabilityCodes.put("Fair","2");
                StabilityCodes.put("Poor","1");
                StabilityCodes.put("","0");
                // Hashtable for ObjectCodes for objects
                ObjectCodes.put("Land","9");
                ObjectCodes.put("Mountain","8");
                ObjectCodes.put("Water","7");
                ObjectCodes.put("Dense Trees","6");
                ObjectCodes.put("Thin Trees","5");
                ObjectCodes.put("Building","4");
                ObjectCodes.put("Tower","3");
                ObjectCodes.put("Pole","2");
                ObjectCodes.put("Antenna","1");
                ObjectCodes.put("","0");
                // Hashtable for ScreeningCodes for objects
                ScreeningCodes.put("High","4");
                ScreeningCodes.put("Doubtful","3");
                ScreeningCodes.put("Intermediate","2");
                ScreeningCodes.put("Photo","1");
                ScreeningCodes.put("","0");
                // Hashtable for DistanceCodes for objects
                DistanceCodes.put("Feet","3");
                DistanceCodes.put("Meters","2");
                DistanceCodes.put("NMI","1");
                DistanceCodes.put("","0");
                // Hashtable for QualityCodes for points
                QualityCodes.put("High","3");
                QualityCodes.put("Medium","2");
                QualityCodes.put("Low","1");
                QualityCodes.put("","0");
                try{
                  tempfile = fc.getCurrentDirectory().toString() + "\\Tempxml.txt";
                  textfile = new PrintWriter(new BufferedWriter(new FileWriter(tempfile)));
                catch(Exception ee) {
                  ee.printStackTrace();
                try {
                  DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
                  DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
                  Document doc = docBuilder.parse(file);
                  // normalize text representation
                  doc.getDocumentElement ().normalize ();
                  NodeList rootlist = doc.getElementsByTagName("root");
                  NodeList FHList = null;
                  Node rootnode = rootlist.item(0);
                  if(rootnode.getNodeType() == Node.ELEMENT_NODE){
                    Element FHElement = (Element)rootnode;
                    FHList = FHElement.getElementsByTagName("FileHeader");
                    Element FHeElement = (Element)FHList.item(0);
                    NodeList textFHList = FHeElement.getChildNodes();
                    wholeline = ((Node)textFHList.item(0)).getNodeValue().trim();
                  Node FHnode = FHList.item(0);
                  if(FHnode.getNodeType() == Node.ELEMENT_NODE){
                    Element FHelemElement = (Element)FHnode;
                    NodeList IDList = FHelemElement.getElementsByTagName("Identifier");
                    Element IDElement = (Element)IDList.item(0);
                    NodeList textIDList = IDElement.getChildNodes();
                    wholeline = wholeline + "|" + ((Node)textIDList.item(0)).getNodeValue().trim();
                    NodeList VerList = FHelemElement.getElementsByTagName("Version");
                    Element VerElement = (Element)VerList.item(0);
                    NodeList textVerList = VerElement.getChildNodes();
                    wholeline = wholeline + "|" + ((Node)textVerList.item(0)).getNodeValue().trim();
                    textfile.println(wholeline);
                  wholeline = "";
                  NodeList siteList = doc.getElementsByTagName("Site");
                  Element siteElement = (Element)siteList.item(0);
                  NodeList textsiteList = siteElement.getChildNodes();
                  wholeline = ((Node)textsiteList.item(0)).getNodeValue().trim();
                  Node sitenode = siteList.item(0);
                  if (sitenode.getNodeType() == Node.ELEMENT_NODE) {
                    Element siteelemElement = (Element) sitenode;
                    NodeList SiteNameList = siteelemElement.getElementsByTagName("Site_Name");
                    Element SiteNameElement = (Element)SiteNameList.item(0);
                    NodeList textSiteNameList = SiteNameElement.getChildNodes();
                    wholeline = wholeline + "|" + ((Node)textSiteNameList.item(0)).getNodeValue().trim();
                    NodeList EquipTypeList = siteelemElement.getElementsByTagName("Equipment_Type");
                    Element EquipTypeElement = (Element)EquipTypeList.item(0);
                    NodeList textEquipTypeList = EquipTypeElement.getChildNodes();
                    wholeline = wholeline + "|" + ((Node)textEquipTypeList.item(0)).getNodeValue().trim();
                    NodeList LatList = siteelemElement.getElementsByTagName("Site_Latitude");
                    Element LatElement = (Element)LatList.item(0);
                    NodeList textLatList = LatElement.getChildNodes();
                    wholeline = wholeline + "|" + ((Node)textLatList.item(0)).getNodeValue().trim();
                    NodeList LonList = siteelemElement.getElementsByTagName("Site_Longitude");
                    Element LonElement = (Element)LonList.item(0);
                    NodeList textLonList = LonElement.getChildNodes();
                    wholeline = wholeline + "|" + ((Node)textLonList.item(0)).getNodeValue().trim();
                    NodeList GtFPList = siteelemElement.getElementsByTagName("Ground_to_Focal_Point");
                    Element GtFPElement = (Element)GtFPList.item(0);
                    NodeList textGtFPList = GtFPElement.getChildNodes();
                    wholeline = wholeline + "|" + ((Node)textGtFPList.item(0)).getNodeValue().trim();
                    NodeList SiteElvList = siteelemElement.getElementsByTagName("Site_Elevation");
                    Element SiteElvElement = (Element)SiteElvList.item(0);
                    NodeList textSiteElvList = SiteElvElement.getChildNodes();
                    wholeline = wholeline + "|" + ((Node)textSiteElvList.item(0)).getNodeValue().trim();
                    NodeList UCAList = siteelemElement.getElementsByTagName("Upper_Coverage_Angle");
                    Element UCAElement = (Element)UCAList.item(0);
                    NodeList textUCAList = UCAElement.getChildNodes();
                    wholeline = wholeline + "|" + ((Node)textUCAList.item(0)).getNodeValue().trim();
                  textfile.println(wholeline);
                  NodeList listOfSetups = doc.getElementsByTagName("Setup");
                  int totalSetups = listOfSetups.getLength();
                  for (int s = 0; s < totalSetups; s++) {
                    wholeline = "";
                    Node Setupnode = listOfSetups.item(s);
                    Element setupElement = (Element)listOfSetups.item(s);
                    NodeList textsetupList = setupElement.getChildNodes();
                    wholeline = ((Node)textsetupList.item(0)).getNodeValue().trim();
                    if (Setupnode.getNodeType() == Node.ELEMENT_NODE) {
                      Element setuplistElement = (Element)Setupnode;
                      NodeList SurveyorList = setuplistElement.getElementsByTagName("Surveyor");
                      Element SurveyorElement = (Element)SurveyorList.item(0);
                      NodeList textSurveyorList = SurveyorElement.getChildNodes();
                      wholeline = wholeline + "|" + ((Node)textSurveyorList.item(0)).getNodeValue().trim();
                      NodeList Azi2FPList = setuplistElement.getElementsByTagName("Azimuth_to_Focal_Point");
                      Element Azi2FPElement = (Element)Azi2FPList.item(0);
                      NodeList textAzi2FPList = Azi2FPElement.getChildNodes();
                      wholeline = wholeline + "|" + ((Node)textAzi2FPList.item(0)).getNodeValue().trim();
                      NodeList Dist2FPList = setuplistElement.getElementsByTagName("Dist_to_Focal_Point");
                      Element Dist2FPElement = (Element)Dist2FPList.item(0);
                      NodeList textDist2FPList = Dist2FPElement.getChildNodes();
                      wholeline = wholeline + "|" + ((Node)textDist2FPList.item(0)).getNodeValue().trim();
                      NodeList Hi2FPList = setuplistElement.getElementsByTagName("Hi_to_Focal_Point");
                      Element Hi2FPElement = (Element)Hi2FPList.item(0);
                      NodeList textHi2FPList = Hi2FPElement.getChildNodes();
                      wholeline = wholeline + "|" + ((Node)textHi2FPList.item(0)).getNodeValue().trim();
                      NodeList WeatherList = setuplistElement.getElementsByTagName("Weather");
                      Element WeatherElement = (Element)WeatherList.item(0);
                      NodeList textWeatherList = WeatherElement.getChildNodes();
                      wholeline = wholeline + "|" + (String)WeatherCodes.get(((Node)textWeatherList.item(0)).getNodeValue().trim());
                      NodeList StabilityList = setuplistElement.getElementsByTagName("Stability");
                      Element StabilityElement = (Element)StabilityList.item(0);
                      NodeList textStabilityList = StabilityElement.getChildNodes();
                      wholeline = wholeline + "|" + (String)StabilityCodes.get(((Node)textStabilityList.item(0)).getNodeValue().trim());
                      Element objectElement = (Element)Setupnode;
                      NodeList textobjectList = objectElement.getElementsByTagName("Object");
                      int TotalObjs = textobjectList.getLength();
                      if (TotalObjs == 0) {
                        textfile.print(wholeline);
                      else {
                        textfile.println(wholeline);
                      for (int j = 0; j < TotalObjs; j++) {
                        wholeline = "";
                        Node Objectnode = textobjectList.item(j);
                        Element objectelement = (Element)textobjectList.item(j);
                        NodeList textObjList = objectelement.getChildNodes();
                        wholeline = ((Node)textObjList.item(0)).getNodeValue().trim();
                        if (Objectnode.getNodeType() == Node.ELEMENT_NODE) {
                          Element objElement1 = (Element)Objectnode;
                          NodeList textobjList1 = objElement1.getElementsByTagName("Object_Type");
                          Element objelement1 = (Element)textobjList1.item(0);
                          NodeList textOList1 = objelement1.getChildNodes();
                          wholeline = wholeline + "|" + (String)ObjectCodes.get(((Node)textOList1.item(0)).getNodeValue().trim());
                          Element objElement2 = (Element)Objectnode;
                          NodeList textobjList2 = objElement2.getElementsByTagName("Screening_Type");
                          Element objelement2 = (Element)textobjList2.item(0);
                          NodeList textOList2 = objelement2.getChildNodes();
                          wholeline = wholeline + "|" + (String)ScreeningCodes.get(((Node)textOList2.item(0)).getNodeValue().trim());
                          Element objElement3 = (Element)Objectnode;
                          NodeList textobjList3 = objElement3.getElementsByTagName("Distance_Units");
                          Element objelement3 = (Element)textobjList3.item(0);
                          NodeList textOList3 = objelement3.getChildNodes();
                          wholeline = wholeline + "|" + (String)DistanceCodes.get(((Node)textOList3.item(0)).getNodeValue().trim());
                          Element PointElement = (Element)Objectnode;
                          NodeList textPointList = PointElement.getElementsByTagName("Point");
                          int TotalPts = textPointList.getLength();
                          textfile.println(wholeline);
                          for (int k = 0; k < TotalPts; k++) {
                            wholeline = "";
                            Node Pointnode = textPointList.item(k);
                            Element pointelement = (Element)textPointList.item(k);
                            NodeList textPList = pointelement.getChildNodes();
                            wholeline = ((Node)textPList.item(0)).getNodeValue().trim();
                            if (Pointnode.getNodeType() == Node.ELEMENT_NODE) {
                              Element pointElement1 = (Element)Pointnode;
                              NodeList textpointList1 = pointElement1.getElementsByTagName("Azimuth");
                              Element pointelement1 = (Element)textpointList1.item(0);
                              NodeList textPList1 = pointelement1.getChildNodes();
                              wholeline = wholeline + "|" + ((Node)textPList1.item(0)).getNodeValue().trim();
                              Element pointElement2 = (Element)Pointnode;
                              NodeList textpointList2 = pointElement2.getElementsByTagName("Vertical_Angle");
                              Element pointelement2 = (Element)textpointList2.item(0);
                              NodeList textPList2 = pointelement2.getChildNodes();
                              wholeline = wholeline + "|" + ((Node)textPList2.item(0)).getNodeValue().trim();
                              Element pointElement3 = (Element)Pointnode;
                              NodeList textpointList3 = pointElement3.getElementsByTagName("Distance");
                              Element pointelement3 = (Element)textpointList3.item(0);
                              NodeList textPList3 = pointelement3.getChildNodes();
                              wholeline = wholeline + "|" + ((Node)textPList3.item(0)).getNodeValue().trim();
                              Element pointElement4 = (Element)Pointnode;
                              NodeList textpointList4 = pointElement4.getElementsByTagName("Quality");
                              Element pointelement4 = (Element)textpointList4.item(0);
                              NodeList textPList4 = pointelement4.getChildNodes();
                              wholeline = wholeline + "|" + (String)QualityCodes.get(((Node)textPList4.item(0)).getNodeValue().trim());
                            textfile.println(wholeline);
                  textfile.close();
                  File f = new File(tempfile);
    //              JFrame frame = new FDASFrame(f);
                  parent.setFile(f);
                  JFrame frame = parent;
                  if(FHnode.getNodeType() == Node.ELEMENT_NODE){
                    Element FHelemElement = (Element)FHnode;
                    NodeList IDList = FHelemElement.getElementsByTagName("Identifier");
                    Element IDElement = (Element)IDList.item(0);
                    NodeList textIDList = IDElement.getChildNodes();
                    NodeList VerList = FHelemElement.getElementsByTagName("Version");
                    Element VerElement = (Element)VerList.item(0);
                    NodeList textVerList = VerElement.getChildNodes();
                    frame.setTitle(((Node)textIDList.item(0)).getNodeValue().trim() + " Version " + ((Node)textVerList.item(0)).getNodeValue().trim());
                  frame.addWindowListener(new WindowAdapter() {
                   public void windowClosing(WindowEvent e) {
                     System.exit(0);
                  frame.setVisible(true);
                catch(Exception ee) {
                  ee.printStackTrace();
          else if (filetype.equals("Save")) {
            final JFileChooser fc = new JFileChooser();
            fc.setFileFilter(new saveExtensionFileFilterClass());
            fc.setAcceptAllFileFilterUsed(false);
            int returnVal = fc.showSaveDialog(FileChooserFrame.this);
            if (returnVal == JFileChooser.APPROVE_OPTION) {
              file = fc.getSelectedFile();
          else if (filetype.equals("Log")) {
            final JFileChooser fc = new JFileChooser();
            fc.setFileFilter(new logExtensionFileFilterClass());
            fc.setAcceptAllFileFilterUsed(false);
            int returnVal = fc.showSaveDialog(FileChooserFrame.this);
            if (returnVal == JFileChooser.APPROVE_OPTION) {
              file = fc.getSelectedFile();
        public static File getFile() {
          return file;
    }I know I should split this out and I will sometime, but for now, this is the way the code is.
    I think the reason that nothing is coming up is that all my work is done in jbInit(). I don't want to post that code, but I will if needed. So, if I can only call it once, then how do I get the rest of it to run? Maybe I am going about this all wrong. But if it is not in jbInit(), then how does it get called? I guess now, I am confused.
    Thanks for the help.
    Allyson

  • Open file-download window from servlet

    Hi all,
              This is the scenario I'm trying to achieve:
              - Display html page with a button or href "download csv file"
              - the user clicks
              - the file-download pop-up window should appear,so the user can save the
              file at any location
              This is how far I get:
              - when the user clicks a servlet gets activated
              - Servlet:
              - creates the csv file and write it to disk
              - now I want the servlet to do something so that the file-download window
              opens
              - I've tried with forward the request to the url (which only displays the
              content in the browser)
              - I write to HttpServletResponse it opens the file in excel which I don't
              want
              Any ideas ?
              Thanks in advance
              Per
              

    Thanks Mettu,
              that worked fine.
              This is what the code looked like:
              ...Per
              ==========================================================================
              if (nextPage.getType()== Page.TYPE_CSV)
              String filePath = (String) req.getAttribute(Attribute.CSV_FILE_PATH);
              String fileName = (String)
              req.getAttribute(Attribute.CSV_FILE_NAME);
              file://Writing text file like this enforces fileDownload popup
              window
              res.setContentType("application/RFC822");
              res.setHeader("Content-Disposition", "attachment; filename=\"" +
              fileName);
              writeFileToOutStream(res,filePath,fileName);
              private void writeFileToOutStream(HttpServletResponse res,String
              filePath,String fileName) throws IOException
              OutputStream out1 = res.getOutputStream();
              FileInputStream fin = new FileInputStream(filePath + fileName);
              byte [] b = new byte[1024];
              int size = 0;
              while((size = fin.read(b, 0, 1024)) > 0)
              out1.write(b, 0, size);
              fin.close();
              out1.flush();
              out1.close();
              ==========================================================================
              "Mettu Kumar" <[email protected]> wrote in message
              news:[email protected]...
              > Per,
              >
              > For this to work in both Netscape and IE, You need You need to set
              content
              > Type and Also a header information.
              >
              > Set Content Type As : Content-type: application/RFC822
              > set the Header "Content-Disposition" to "attachment; filename=\"" +
              > youfilename + "\""
              > Where youfilename is the name of the file you display to
              user.
              >
              > If you want the exact java code use the following two lines of code in
              your
              > servlet:
              > res.setContentType("Content-type: application/RFC822");
              > res.setHeader("Content-Disposition", "attachment; filename=\"" +
              youfilename
              > + "\"");
              >
              >
              > This should solve your problem.
              >
              >
              > Kumar.
              >
              > Per Lovdinger wrote:
              >
              > > Hi all,
              > >
              > > This is the scenario I'm trying to achieve:
              > >
              > > - Display html page with a button or href "download csv file"
              > > - the user clicks
              > > - the file-download pop-up window should appear,so the user can save
              the
              > > file at any location
              > >
              > > This is how far I get:
              > > - when the user clicks a servlet gets activated
              > > - Servlet:
              > > - creates the csv file and write it to disk
              > > - now I want the servlet to do something so that the file-download
              window
              > > opens
              > >
              > > - I've tried with forward the request to the url (which only displays
              the
              > > content in the browser)
              > > - I write to HttpServletResponse it opens the file in excel which I
              don't
              > > want
              > >
              > > Any ideas ?
              > > Thanks in advance
              > > Per
              >
              

  • Open File dialog window when setting the value of a path type input argument in a VI call

    Hi,
    I am new to TestStand (running 4.0) and I want to create a sequence of VIs to turn on, setup and measure a device. One of my VIs sends a configuration file to my device. An input argument to this VI is the path of the config file. I would like to make it simple to modify this path when setting up the sequence by popping up the File Open dialog window and choose my file. Is this possible? I do not want to manually change the file during execution, just to have multiple calls of one VI, each call opening a different file according to the path given to it during the setup. 
    So far I have only succeeded in manually entering the absolute path each time I add this step. What makes it even more annoying is the fact that LabVIEW interprets the path with the escape codes, rendering the path unusable. Manually adding a 2nd backslash at each '\' occurence adds another step to the process. I tried both String and Path type of inputs, and the SearchandReplace() or ToUpper() (trying to bypass the escape codes) functions in TestStand don't seem to help m.
    Your help is very much appreciated,
    Fred

    Eudaemonic,
    If you want to create a series of easy to configure step types so others can develop sequence files easily, you could use custom step types. When you create a custom step type you implement your own configuration dialog. Since you have control over what controls you expose in your configuration dialog, you can design it so the desired path is selected using a open file dialog. Refer to chapter 13 of the TestStand reference manual for more information about custom step types.
    If you do not want to create a custom step type but you still want to give access to your sequence developers to pre-configured steps, you can use templates. A step template is a snapshot of a step that you can reuse later. Let's assume that instead of asking your users to edit the step to enter the desired path, you create several step templates with different pre-configured paths and based on their applications requirements they could use the appropriate template. Refer to the NI TestStand Help for more information about the Templates list on the Insertion Palette.  
    Hope it helps.
    Antonio Lie. 

  • Bridge Opens files using Windows Photo viewer - not Photoshop CC.  How do I change default?

    Bridge opens image files using Windows Photo viwer - not Photoshop CC.  This is an utterly useless default setting.  How do I get Bridge to open a file in Photoshop?

    Edit/preferences/file type association.  Set extensions to prefered default.

  • New OpenAL Installer For Windows 1.

    http://developer.creative.com/articles/article.asp?cat=&sbcat=3&top=38&aid=46
    Updated Winter 2006 : Version .9.9
    The OpenAL Installer for Windows will install the OpenAL . library, enabling support for core OpenAL operations as well as extensions such as EAX and EFX. The installer supports both 32-bit and 64-bit versions of Windows.
    DLL Version numbers:
    * OpenAL32.dll version 6.4.357.9
    * wrap_oal.dll version 2..4.0
    Changes and Bugfixes
    * Fixed Windows 98 crash bug
    * Fixed floating-point related slow-down in "Generic Software" device
    * Fixed Source Gain problem on Stereo Buffers.
    * OpenAL Router search path now includes Router's directory.
    * Windows Vista Default Device and Device Enumeration fixes.
    * ALC Capture Extension can now be used independent of playback.

    Not an offical mirror, but I have uploaded it anyways.
    You can download it here from my webserver.
    Thanks.

  • Problems opening files from Windows server

    Since upgrading to Leopard, some files saved on an Windows server no longer open in the correct application. For example, documents created in Quark 6.1 or 6.5 show up as Unix Executable Files and attempt to open in the terminal. Copying the file to my desktop does not help. The files work correctly for pre-Leopard Macs. New files saved from Quark 6.5 on a machine running Leopard onto the server work fine for other Leopard Macs, but pre-Leopard Macs try to open the files with Script Editor. I can change the "Open With" preferences in a get info window for individual files, but if I select "Change All", i get an error that "not enough information is available".
    Also, Photoshop EPS files created with pre CS 1 versions of Photoshop appear as Illustrator EPS files.

    I'm not sure if anyone is working on it.
    I did copy everything to the Mac running 10.3.9 (above I mistakenly said the computer I was going to copy to was running 10.4).
    I then updated the Mac to 10.5 and all the files continued to open with the proper program even after I put them back on the server.
    I know that it's a hassle, but it worked. I guess if you don't have another Mac still running 10.3, you could put everything on your server, reformat you Mac to OS 10.3.9, then copy the server to your Mac, then upgrade to 10.5. That is, if you have a large enough hard drive. I don't claim to be a Mac expert so I can't guarantee anything in this paragraph. It just seems like that would be the only logical step given what worked for me with upgrading the computer running 10.3.9. Even after doing that, I'd then do a clean install on the computer. My Mac was having problems so that's what I did and plan on doing to the other Mac when I get the chance.
    I guess it all depends how many files you have and how annoyed you are at having to Control click all your files to open them.

  • "Save As" and "Open" file dialog windows very slow to appear...

    I have a home network with 4 PCs, three using XP/3 and 1 using Win7.  Until recently, I had the three XP boxes in one workgroup (not homegroup) and the Win7 box in a different workgroup.  Everything was running fine.  I got anal and decided
    to rename some of the boxes and put them all in one workgroup, the one that the Win7 box is in.
    Immediately after I did all that, I noticed that every time I did a "save as" file function on the Win7 box, no matter the application, the dialog window took much longer to appear - sometimes almost 10 seconds.  This is not the case on the XP
    boxes.
    Following a suggestion I got on the Microsoft Answers Forum, I removed all the shares on my network and even removed the 3 XP boxes from the network, and I turned off Network Discovery.  The problem persisted.  Only when I disabled my LAN
    connection did the dialog windows appear instantly, as they had done before.  I have now restored the original configuration, but the "save as" dialog window continues to come up very slowly on the Win7 box.
    Any thoughts, clues or suggestions as to how to fix this non-critical but very irritating problem would be greatly appreciated...
    H.
    Hawgman

    I've hit a similar problem since (or at least exaserbated since) changing to a new ISP service (BT Total Broadband) which included a wifi router upgrade.  LAN has a stable Win XP SP3 fully updated, a W7 also fully updated (I love Office) and a previously
    stable Zyxel router.  Then this occasional problem:  File -> Save As from any application stops dead for up to a few minutes, no CPU burn so waiting on interupt or external event.  Patience, then it works. 
    So I'm guessing a confused IP table somewhere.  I'm off to play with using fixed IP addresses and lease expiries in the LAN part of the new router's config to see if that makes it easier for XP to handle closed connections. 
    And isn't there a "not persistent" option somewhere ... 
    But I don't networked drives, I use shortcuts with network addresses. 
    More anon after some exploration. 

  • Photoshop CS3 Won't Open Files in Windows 7 64-bit

    Hi All,
    I'm running Windows 7 64-bit on my desktop. When I try to open an image file in Photoshop CS3, the program hangs and never opens it. I have attemped PSD's, JPG's, GIF's and PNG's.
    I have right-clicked on the program and selected to run it as an administrator. I have set up a compatibility profile as Windows XP SP3. I have tried both at the same time and there's been no change.
    Any thoughts how I can conquer this beast??
    Thanks!
    -Ansel

    Change the default printer to something local, and that you know is available (either a PDF print, or an attached printer).
    The most common cause of this is a remote printer that isn't available, and the driver takes it's sweet time returning.

  • Setting up a relative path in the "open file" dialog window

    Hello there,
    I want to open a PDF file through a clickbox out of
    Captivate. The path I have to put in there has to be absolute, I
    guess.
    Is there any possibility to put a relative path in there?
    To get you a clue, what I want to do with that, here is my
    intention:
    I want to build up a splash screen for a Auto-Run-CD, where I
    want to link some reference documents.
    Thanks in advance for your suggestions,
    Markus

    Hi Markus
    Normally all you have to do is just type the file name of the
    file. Then ensure the Captivate output and the file you are linking
    to are in the same folder. If you don't like that approach, I
    believe Captivate will accept another relative path that is set up
    perhaps like this:
    Root level of CD
    Documents folder
    So the link would look as follows: Documents/SomeFile.PDF
    Cheers... Rick

  • Why does Illustrator CC crash when opening files from Windows 7 64x file manager?

    This does not happen with any of my ogher CC applications; and the files open just fine when opening from directly within Illustrator. It doesn't matter if it is an AI, EPS, or PDF file. The program just crashes. What I thought was a glitch a few months ago, seems to keep happening, and despite at least one (1) update, it still isn't fixed.
    Am I the only one having this problem? Thankfully, Illustrator is about the least used of my programs so I'm not ready to pull out my hair just yet.

    UPDATE:
    I have since updated all of my CC applications to 2014, and this issue has ceased. I am marking this issue as answered, but it is not truly resolved.

  • 'No date' files in Open file dialog window

    It is annoying to open recent created/modified files/folders.  They are dated as 'no dated'.
    This does not happen browsing files/folders in Finder.
    This snapshot was taken on Nov 24 and "Today" contains Nov 17 files
    And here 'No Date' files at bottom of the popup window
    Thank you

    In the Finder Toolbar (top of the window), you'll see the Arrange icon:
    (If you don't see this icon, control-click in the Toolbar, choose Customize Toolbar, and add the Arrange icon to your Finder Toolbar.)
    When you click on that, you have a choice of how you'd like items in the open folder to be arranged. If you option-click on that, you have the choice of how you'd like the arranged icons to be sorted. Depending on the Arrange-Sort combination you've selected, No Date becomes a part of the mix. Play with the Arrange and Sort possibilities to list your files more to your liking.

  • Open File Dialog Window

    hi All,
    We r deploying forms on the web. The form has win_api_dialog.open_file to select files for various processes. This doesnt work on the web when tried from the client m/c in a browser. Get_file_name has also failed. This functions are executed on the server rather than client m/c. What can be the possible alternatives for that.
    thnx
    Prasad
    null

    Hi
    To open a file on the client side, you would have to use a Java Bean. You can find sample code in the OTN Forms Page.
    HTH
    Arvind Balaraman

  • Cannot open files in Windows XP with Illustrator CS4

    Hey
    I have installed the CS4 package on my PC with Windows XP sytem. Photoshop, Indesign and Acrobat works without problems. ´
    But Illustrator won't open any file. I have tried to change the parameters when saving the dokuments in Illutrator CS2, but it won't work.

    Poul,
    What happens if you DoubleClick the file(s), or use Open With, without getting Illy started first?

Maybe you are looking for

  • TV out for older iMac 800

    Hi all, I've got a 17" iMac 800 that I'm looking to hookup to a TV. I've got an array of inputs to play with on the TV, so I'm looking at s-video right now. I know there is an adapter that takes the mini-VGA port and outputs direct to s-video/composi

  • Issue regarding perform on commit statement

    Hi, I have a requirement like below. I have a test to see if SAP issues a COMMIT WORK at the end of the datapacket, and allows update tasks to be executed .and check whether the second datapacket succeed in getting the lock, or fail because it has no

  • How to make Model Dialogs for erroe messages

    Sir iwant to make a Dialog or JOption Pane like a round rectangle with yellow background show the error messages in my application like xp messages when we entered a wrong password and also want to underline some text in it. how can i do this job plz

  • How do I change from Bing to Google on my start up page?

    I can't figure out how to change from Bing to Google on my start up page

  • Calling screens in ALV

    hello all,        i need to call screens like that of basic data of a particular material number selected from the secondary list of an ALV report. is it the same way as in an ordinary report that i have to proceed or is there other method.    Do i h