Opening a file dialog box with a button while the data graph is running continuos aquisition

I am running a continuous aquisition that is hardware timed. I display the data on a graph. While running the VI that is displaying the graph I want to open a file to write the data for a period of time then be able to select a new file after the file is written by hitting the open file button again. I also want to just have the file open and after it is opened hit another button that begins the writing to the file.

To accomplish the first task use a control button, a case structure and a sub vi located inside the case structure. The control button determines the status of the case structure in response to user click. The sub vi writes your data into the file you specified in the file dialog. The entire process repeat itself each time the button is clicked. The set-up of the sub vi depends on organization and type of file you want. I think the second task is just a modification of the first.

Similar Messages

  • Opening a File Dialog Box

    Hi,
    could somebody help me with how to open a file dialog box.
    I have 1 class which has a window with the relevant widgets on it, I want to be able to click a button on the form and pop up a file chooser form then select a file or type in a new filename and then use the selected filename path in the original form to write data out to the chosen file.
    i understand that i need to use JFileChooser and it will need to be in a new class (like a dialog box would be).
    So basically what i have is 2 classes (the main app and a class called FileOpen.class) so how would i display the fileopen class with the JFileChooser component in it and return what ever is chosen into a string.
    e.g.
    String fileName = <what would go here?>
    kind regards

    thats the example filechooser i have working
    yet when i try and implement it in my program i just get countless exception errors, im not sure if its because my program extends Jframe and not JPanel
    here is my code:-
    package as4;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import java.util.*;
    import javax.swing.filechooser.*;
    import java.io.*;
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2003</p>
    * <p>Company: </p>
    * @author unascribed
    * @version 1.0
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2003</p>
    * <p>Company: </p>
    * @author unascribed
    * @version 1.0
    public class Readap extends JFrame {
    JPanel contentPane;
    GridLayout gridLayout1 = new GridLayout();
    JPanel jPanel3 = new JPanel();
    GridLayout gridLayout3 = new GridLayout();
    JPanel jPanel1 = new JPanel();
    JTextArea txtaStatus = new JTextArea();
    JLabel jLabel1 = new JLabel();
    JTextField txtCon = new JTextField();
    JButton btnConnect = new JButton();
    JTextField txtPort = new JTextField();
    JTextField txtUser = new JTextField();
    GridLayout gridLayout2 = new GridLayout();
    JLabel jLabel6 = new JLabel();
    JPasswordField ptxtPass = new JPasswordField();
    JLabel jLabel5 = new JLabel();
    JLabel jLabel4 = new JLabel();
    JLabel jLabel3 = new JLabel();
    JLabel jLabel2 = new JLabel();
    JTextField txtHost = new JTextField();
    JPanel jPanel2 = new JPanel();
    JPanel jPanel4 = new JPanel();
    GridLayout gridLayout4 = new GridLayout();
    GridLayout gridLayout5 = new GridLayout();
    JCheckBox chbOracle = new JCheckBox();
    JCheckBox chbOdbc = new JCheckBox();
    JScrollPane jScrollPane1 = new JScrollPane();
    JRadioButton rbtnComma = new JRadioButton();
    JRadioButton rbtnTab = new JRadioButton();
    JRadioButton rbtnSpace = new JRadioButton();
    ButtonGroup delChoice = new ButtonGroup();
    JPanel delPanel = new JPanel();
    JFileChooser fc;
    int dbChoice = 1;
    int conStatus = 0 ;
    String delimiter=",";
    String output="";
    JButton btnClear = new JButton();
    Dbfuncs mydb=new Dbfuncs();
    JPanel jPanel7 = new JPanel();
    JPanel jPanel6 = new JPanel();
    JPanel jPanel5 = new JPanel();
    FlowLayout flowLayout1 = new FlowLayout();
    JButton btnExecute = new JButton();
    JTextField txtQuery = new JTextField();
    JLabel jLabel7 = new JLabel();
    JButton btnOutput = new JButton();
    JLabel jLabel8 = new JLabel();
    GridLayout gridLayout7 = new GridLayout();
    BorderLayout borderLayout1 = new BorderLayout();
    JButton btnExit = new JButton();
    TitledBorder titledBorder1;
    TitledBorder titledBorder2;
    JCheckBox chbQuotes = new JCheckBox();
    JPanel jPanel8 = new JPanel();
    JCheckBox chbHeading = new JCheckBox();
    JPanel jPanel9 = new JPanel();
    ButtonGroup fileChoice = new ButtonGroup();
    JRadioButton rbtnOverwrite = new JRadioButton();
    JRadioButton rbtnAppend = new JRadioButton();
    //Construct the frame
    public Readap() {
    fc = new JFileChooser();
    fc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
    enableEvents(AWTEvent.WINDOW_EVENT_MASK);
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    //Component initialization
    private void jbInit() throws Exception {
    //setIconImage(Toolkit.getDefaultToolkit().createImage(Readap.class.getResource("[Your Icon]")));
    contentPane = (JPanel) this.getContentPane();
    titledBorder1 = new TitledBorder("");
    titledBorder2 = new TitledBorder("");
    contentPane.setLayout(gridLayout1);
    this.setSize(new Dimension(448, 434));
    this.setTitle("Read Database");
    gridLayout1.setColumns(1);
    gridLayout1.setHgap(2);
    gridLayout1.setRows(2);
    gridLayout1.setVgap(2);
    jPanel3.setLayout(gridLayout3);
    gridLayout3.setColumns(2);
    gridLayout3.setHgap(5);
    gridLayout3.setVgap(5);
    txtaStatus.setFont(new java.awt.Font("Dialog", 0, 10));
    txtaStatus.setBorder(BorderFactory.createLoweredBevelBorder());
    txtaStatus.setEditable(false);
    txtaStatus.setText(">>Program Loaded...");
    txtaStatus.setLineWrap(true);
    txtaStatus.setRows(5);
    txtaStatus.setWrapStyleWord(true);
    jLabel1.setFont(new java.awt.Font("Dialog", 1, 12));
    jLabel1.setToolTipText("");
    jLabel1.setHorizontalAlignment(SwingConstants.CENTER);
    jLabel1.setText("Please choose a database...");
    txtCon.setText("Access");
    btnConnect.setText("Connect");
    btnConnect.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    btnConnect_actionPerformed(e);
    txtPort.setEnabled(false);
    txtPort.setToolTipText("");
    txtPort.setText("1521");
    gridLayout2.setColumns(2);
    gridLayout2.setHgap(5);
    gridLayout2.setRows(6);
    gridLayout2.setVgap(2);
    jLabel6.setHorizontalAlignment(SwingConstants.RIGHT);
    jLabel6.setText("Password");
    jLabel5.setHorizontalAlignment(SwingConstants.RIGHT);
    jLabel5.setText("Username");
    jLabel4.setHorizontalAlignment(SwingConstants.RIGHT);
    jLabel4.setText("ODBC Bridge");
    jLabel3.setHorizontalAlignment(SwingConstants.RIGHT);
    jLabel3.setText("Port");
    jLabel2.setHorizontalAlignment(SwingConstants.RIGHT);
    jLabel2.setText("Host");
    txtHost.setEnabled(false);
    txtHost.setText("alfgar.coventry.ac.uk");
    jPanel2.setLayout(gridLayout2);
    contentPane.setMinimumSize(new Dimension(100, 110));
    jPanel4.setLayout(gridLayout4);
    gridLayout4.setColumns(1);
    gridLayout4.setHgap(2);
    gridLayout4.setRows(3);
    gridLayout4.setVgap(2);
    jPanel1.setLayout(gridLayout5);
    gridLayout5.setColumns(1);
    gridLayout5.setHgap(5);
    gridLayout5.setRows(2);
    gridLayout5.setVgap(5);
    rbtnComma.setText("Comma");
    rbtnComma.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    rbtnComma_actionPerformed(e);
    rbtnTab.setText("Tab");
    rbtnTab.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    rbtnTab_actionPerformed(e);
    rbtnSpace.setText("Space");
    rbtnSpace.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    rbtnSpace_actionPerformed(e);
    rbtnComma.setSelected(true);
    jLabel8.setFont(new java.awt.Font("Dialog", 1, 12));
    jLabel8.setHorizontalAlignment(SwingConstants.CENTER);
    jLabel8.setText("Choose Delimiter Type");
    jPanel7.setLayout(gridLayout7);
    gridLayout7.setColumns(1);
    gridLayout7.setRows(6);
    jPanel6.setMinimumSize(new Dimension(434, 45));
    jPanel6.setPreferredSize(new Dimension(434, 45));
    btnExit.setText("Exit");
    btnExit.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    btnExit_actionPerformed(e);
    jPanel5.setBorder(titledBorder2);
    jPanel5.setMinimumSize(new Dimension(434, 187));
    jPanel3.setBorder(titledBorder1);
    btnExecute.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    btnExecute_actionPerformed(e);
    chbQuotes.setText("Wrap Data In Quotes");
    chbHeading.setText("Export Column Headings");
    rbtnOverwrite.setSelected(true);
    rbtnOverwrite.setText("Overwrite File");
    rbtnAppend.setText("Append File");
    jPanel7.setBorder(BorderFactory.createLineBorder(Color.black));
    btnOutput.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    btnOutput_actionPerformed(e);
    delChoice.add(rbtnComma);
    delChoice.add(rbtnTab);
    delChoice.add(rbtnSpace);
    delPanel.add(rbtnComma);
    delPanel.add(rbtnTab);
    delPanel.add(rbtnSpace);
    chbOracle.setAlignmentX((float) 10.0);
    chbOracle.setHorizontalAlignment(SwingConstants.CENTER);
    chbOracle.setText("Oracle");
    chbOracle.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    chbOracle_actionPerformed(e);
    chbOdbc.setAlignmentX((float) 10.0);
    chbOdbc.setHorizontalAlignment(SwingConstants.CENTER);
    chbOdbc.setSelected(true);
    chbOdbc.setText("MS ODBC");
    chbOdbc.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    chbOdbc_actionPerformed(e);
    btnClear.setText("Clear Status");
    btnClear.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    btnClear_actionPerformed(e);
    jPanel6.setLayout(flowLayout1);
    jPanel5.setLayout(borderLayout1);
    btnExecute.setText("Execute");
    txtQuery.setMinimumSize(new Dimension(280, 21));
    txtQuery.setPreferredSize(new Dimension(285, 21));
    jLabel7.setFont(new java.awt.Font("Dialog", 1, 12));
    jLabel7.setText("Enter Query");
    btnOutput.setText("Output To File");
    jPanel3.add(jPanel1, null);
    jPanel1.add(jPanel4, null);
    jPanel4.add(jLabel1, null);
    jPanel4.add(chbOdbc, null);
    jPanel4.add(chbOracle, null);
    jPanel1.add(jScrollPane1, null);
    jScrollPane1.getViewport().add(txtaStatus, null);
    jPanel3.add(jPanel2, null);
    jPanel2.add(jLabel2, null);
    jPanel2.add(txtHost, null);
    jPanel2.add(jLabel3, null);
    jPanel2.add(txtPort, null);
    jPanel2.add(jLabel4, null);
    jPanel2.add(txtCon, null);
    jPanel2.add(jLabel5, null);
    jPanel2.add(txtUser, null);
    jPanel2.add(jLabel6, null);
    jPanel2.add(ptxtPass, null);
    jPanel2.add(btnClear, null);
    jPanel2.add(btnConnect, null);
    jPanel6.add(jLabel7, null);
    jPanel6.add(txtQuery, null);
    jPanel6.add(btnExecute, null);
    jPanel7.add(jLabel8, null);
    jPanel7.add(delPanel, null);
    jPanel7.add(jPanel8, null);
    jPanel8.add(chbQuotes, null);
    jPanel8.add(chbHeading, null);
    jPanel7.add(jPanel9, null);
    jPanel9.add(rbtnOverwrite, null);
    jPanel9.add(rbtnAppend, null);
    jPanel7.add(btnOutput, null);
    jPanel7.add(btnExit, null);
    jPanel5.add(jPanel6, BorderLayout.NORTH);
    jPanel5.add(jPanel7, BorderLayout.SOUTH);
    contentPane.add(jPanel3, null);
    contentPane.add(jPanel5, null);
    fileChoice.add(rbtnOverwrite);
    fileChoice.add(rbtnAppend);
    //Overridden so we can exit when window is closed
    protected void processWindowEvent(WindowEvent e) {
    super.processWindowEvent(e);
    if (e.getID() == WindowEvent.WINDOW_CLOSING) {
    System.exit(0);
    public static void main (String arguments[])
    JFrame frame = new Readap();
    WindowListener l = new WindowAdapter()
         public void windowClosing(WindowEvent e)
              System.exit(0);
    frame.addWindowListener(l);
    frame.pack();
    frame.setVisible(true);
    void chbOracle_actionPerformed(ActionEvent e) {
    dbChoice=0;
    chbOdbc.setSelected(false);
    jLabel4.setText("Conn String");
    txtCon.setText("acal");
    txtCon.setEnabled(true);
    txtPort.setEnabled(true);
    txtHost.setEnabled(true);
    txtaStatus.append("\n>>Oracle Database Selected");
    void chbOdbc_actionPerformed(ActionEvent e) {
    dbChoice=1;
    chbOracle.setSelected(false);
    jLabel4.setText("ODBC Bridge");
    txtCon.setText("Access");
    txtPort.setEnabled(false);
    txtHost.setEnabled(false);
    txtaStatus.append("\n>>MS ODBC Database Selected");
    void btnConnect_actionPerformed(ActionEvent e) {
    if (conStatus==0)
    String url = new String();
    String driver = new String();
    if (dbChoice==0)
    driver="oracle.jdbc.driver.OracleDriver";
    url = "jdbc:oracle:thin:@"+txtHost.getText()+":"+txtPort.getText()+":"+txtCon.getText();
    txtaStatus.append("\n>>Connecting to Oracle Database @ "+url+" via driver:"+driver);
    else
    driver = "sun.jdbc.odbc.JdbcOdbcDriver";
    url = "jdbc:odbc:"+txtCon.getText();
    txtaStatus.append("\n>>Connecting to MS ODBC Database @ "+url+" via driver:"+driver);
    String dbStatus=mydb.openDb(url, driver, txtUser.getText(), ptxtPass.getText());
    txtaStatus.append("\n>>"+dbStatus);
    if (dbStatus=="Connection Successful")
    btnConnect.setText("Disconnect");
    conStatus=1;
    else
    mydb.dbClose();
    txtaStatus.append("\n>>Database Connection Terminated");
    btnConnect.setText("Connect");
    conStatus=0;
    void btnClear_actionPerformed(ActionEvent e) {
    txtaStatus.setText(" ");
    void rbtnComma_actionPerformed(ActionEvent e) {
    delimiter=",";
    void rbtnSpace_actionPerformed(ActionEvent e) {
    delimiter=" ";
    void btnExecute_actionPerformed(ActionEvent e) {
    txtaStatus.append(mydb.runQuery(txtQuery.getText() ) );
    void btnOutput_actionPerformed(ActionEvent e) {
    if (chbHeading.isSelected()==true)
    output=mydb.getAllColName(mydb.getColumnName())+"\n";
    else
    output="";
    Vector mydata=mydb.getResultData();
         int cnt=0;
         for (int index = 0; index < mydata.size(); index++)
              cnt+=1;
              if (cnt>1) output=output+delimiter;
    if (chbQuotes.isSelected()==true)
              output=output+"\""+mydata.elementAt(index)+"\"";
    else
    output=output+mydata.elementAt(index);
              if (cnt>=mydb.getNumCols())
                   output=output+"\n"; cnt=0;
    txtaStatus.append("\n>>"+output);
    int returnVal = fc.showOpenDialog(Readap.this);
    if (returnVal == JFileChooser.APPROVE_OPTION) {
    File file = fc.getSelectedFile();}
    void rbtnTab_actionPerformed(ActionEvent e) {
    delimiter="\t";
    void btnExit_actionPerformed(ActionEvent e) {
    System.exit(0);
    }

  • 'Open a File' dialog box doesn't show 'Favorites'

    InDesign CS6, Windows 7:
    File/Open gives me this:
    Notice there are no 'Favorites' on the left.  I have to 'browse' for my file each time.  I have a ton of files on the network, and it takes several clicks to get to them.  Annoying when I'm opening several files a day.  The 'Recent Places' isn't too helpful here either.
    Now look at what happens in InDesign CC, Windows 7 with a File/Open:
    Look at all the 'Favorites' and easy browsing on the left side.  Why are the 'Open a File' dialog boxes so different in CS6 and CC?  I want the CS6 'Open' dialog to be just like the CC one.  (I prefer to use CS6, CC is buggy on my system.)

    Not helpful.
    What it is... is cumbersome and un-necessary.  Every other program in Windows  (even Word Pad) opens with the 'standard'  dialog with Favorites on the left.  Why did Adobe program it differently?  There has to be a fix in Preferences or something...

  • Open a File Dialog Box to browse through image files

    Hi all
    I need to develop a code to open a File Dialog Box to browse through Image Files in Oracle 10g.
    Once the Image File is selected i need to save the file in a Table Column in the Backend Table.
    Please help me.
    Thanks
    Nakul Venkatraman

    Hi
    Thanks for your prompt response on this.
    I came across a Sample Form File which would allow the User to browse through files from local PC.
    Following is the code :
    declare
    dirname varchar2(255);
    v_filename varchar2(255);
    begin
         message('1');
    tool_env.getvar('E:\', dirname);
    message('2');
    dirname := dirname || '\project';
    message('3');
    v_filename := get_file_name(dirname,NULL,
    'All Files (*.*)|*.*|' ||
    'JPEG Files (*.jpg)|*.jpg|' ||
    'Bitmap Files (*.bmp)|*.bmp|' ||
    'TIFF Files (*.tif)|*.tif|' ||
    'CompuServe Files (*.gif)|*.gif|' ||
    'PC Paintbrush Files (*.pcx)|*.pcx|' );
    message('4');
    if v_filename is not null then
    read_image_file(v_filename,'ANY','pp_foto.foto');
    end if;
    end;
    The code is written inside WHEN-BUTTON-PRESSED Trigger.
    When i run the form it is not opening the dialog box.
    Please help.
    Regards
    Nakul

  • Open a file dialog box using java

    Duncan & Frank or anyone
    Can you please tell, or give me a link, which explains how to open a file dialog box using java, and not webutil.
    I'm trying to read a file on the desktop and update a database table.
    Thanks

    See Open File Dialog on the WEB... If you can get me the full version numbers I can tell you your supported position.
    Regards
    Grant

  • I would like to replace the file dialog box with a programmab​le dialog box, that generates its selections from Database Informatio​n

    Where would be the best place to achieve this?
    I have been thinking about these options:
    - Modification of the Operator Interface.
    - Modification of the Sequence Model.
    - Use callbacks to modify the sequence model.
    - Use callbacks to modify the Engine (ie the Auto.seq example)
    Or combinations of the above.
    The biggest requirement I have in developing this project is in the reuse of code and I believe that callbacks in the seq would be the way to achieve this.
    But I am not familiar with the usage of callbacks in teststand (yet) and I don't know where to look for information/examples on what I can do with them.
    Has anybody done anythin
    g similar?
    Any suggestions would be great!
    Tim

    I am trying to replace the operators interface's sequence file dialog box. I am also trying to hide the standard operators interface.
    What I am after is to replicate a user experience!
    Teststand is being used to replace an ATE written in LV where each of the tests are hardcoded in. The user selected the product and test types from a button based dialog boxes.
    I am using TS to overcome all of the limitations of the original ATE, but one of the requirements is the system has to have the same look and feel of the original.
    I originally though that I would have to modify an operators interface, but I would prefer not too, and would rather change the process models and use engine and station callbacks.
    If I have to change an operatos interface, I would pre
    fer if the changes didn't affect the normal running of standard TS sequences.
    I have attached the process model, i am trying to achieve, (its in Visio).
    Tim
    Attachments:
    ATE_Process_Model.vsd ‏123 KB

  • How to create a Dialog Box with two buttons (Acept and Cancel)?

    Hi i am devoloping an application (an applet) that has to throw a Dialog box, if i click on the Acept button makes some thing and if i click on the Cancel button the it makes other things.
    how could i throw this dialog message...?
    Thanks.

    The following would be the code needed for your dialog box:
         JDialog dialog = new JDialog();
         dialog.setModal(true);
         //the following window listener to the dialog box is optional
         dialog.addWindowListener(new WindowAdapter(){
              public void windowClosing(WindowEvent e){
                  System.exit(0);
              }//method
         JButton acceptButton = new JButton("Accept");
         JButton cancelButton = new JButton("Cancel");
         acceptButton.addActionListener(new ActionListener(){
              public void actionPerformed(ActionEvent e){
                  //do what you need to do
              }//method
         cancelButton.addActionListener(new ActionListener(){
              public void actionPerformed(ActionEvent e){
                  //do what you need to do
              }//mehthod
         Container cont = dialog.getContentPane();
         cont.setLayout(new BorderLayout());
         cont.add("West",acceptButton);
         cont.add("East",cancelButton);
         dialog.pack();
         dialog.setVisible(true); I hope this would be useful
    Rizwan

  • InDesign CS6: The "find" function doesn't work in "Open a file" dialog box...

    I am using CS6 on OSX 10.7.5. When I try to search in the OPEN DIALOG box, it NEVER lists anything, not even a close match. If I however search the SEARCH feature on OSX it always finds what I'm looking for. Is there a setting that I have to change to get this to work or is it a glitch? thanks so much!

    Exact same issue here.
    CS6, OSX 10.8.3.
    Example below ("Call Log," third item in first screen shot showing all files on Desktop, does not show up in the "Open a File" search for "Call Log" as shown in second screen shot):

  • Dialog box with one button, when clicked will launch another script

    How do I create a button inside a dialog box, which, when clicked, will open up another script?

    ]I've typed
    set myDialog to display dialog "Finished?" buttons {"Shutdown", "Screensaver"}
    if button returned of myDialog is "Screensaver" then
    run script ("Macintosh HD:Users:Seb:Applescript:ScreenSaver.scpt" as alias)
    if button returned of myDialog is "Shutdown" then++
    run script ("Macintosh HD:Users:Seb:Applescript:Shutdown.scpt" as alias)
    end if
    but it gives me an error and says "Expected end of line, etc. but found end of script."

  • InDesign CS6: "find" function doesn't work in "Open a file" dialog box

    in InDesign CS6, "find" function in "Open" dialog box doesn't work. Help?

    Thanks so much!
    I'm using a Mac OS X version 10.7.5. I've been using inDesign for YEARS and depend on that find.
    Any other info you need????

  • An open-file dialog box with image preview

    Hi Francois,
    I am trying your GetImageFileName and it works great.
    When using the filechooser in webutil, I can input abc* and press the
    open button and it will help me to filter out the files.
    But there is no such a function in GetImageFileName. Can you tell me how
    can I modify the java so that the filter function exist.
    Many thanks.
    Ivan

    JFileChooser.showOpenDialog

  • Open/Save File Dialog Box comes up, then does not respond for a long time or not at all

    I will click a link for a download and the box will pop up saying
    "You have chosen to open "blahblah.blah.blah
    Which is a: blah file
    From: www.randomsite.com
    What should Firefox do with this file?
    Open with
    Save File"
    At this point other than being able to see the box, it is as though it doesn't exist. I can't click okay or cancel or choose what to do. Sometimes after a few minutes it will suddenly work, other times it will just remain until Firefox closes.

    You can also try to clean install the new version after deleting the [http://kb.mozillazine.org/Profile_folder Profile Folder] as well as the [http://kb.mozillazine.org/Installation_directory Installation Folder.] Please see [https://support.mozilla.org/en-US/kb/Backing%20up%20your%20information?s=backup&r=1&e=sph&as=s this] for backing up important info. The '''places.sqlite''' file stores the bookmarks and history, the '''key3.db''' + '''siqnons.sqlite''' files are needed to successfully restore the saved passwords etc.
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Files]
    [https://www.mozilla.org/en-US/firefox/new/ Firefox Latest]

  • Opening REPORT Configuration Dialog Boxes with the new object-oriented script interface?

    Hallo zusammen,
    in der DIAdem-Hilfe wird die folgende Vorgehensweise zum öffnen von REPORT-Einstellungsdialogen aus einem Script beschrieben:
    Call GraphObjOpen("New_2DAxis1") 'Opens the axis object
    Call SUDDlgShow("Main", ResourceDrv & "D2Axis")
    Call GraphObjClose("New_2DAxis1") 'Closes the axis object
    Call PicUpdate() 'Updates the report
    Wie macht man das mit der neuen objektorientierten Script-Schnittstelle, oder muss man hier immer noch das lästige "GraphObjOpen" und "GraphObjClose" benutzen?
    In der Hilfe habe ich leider nichts gefunden.
    Gruss
    Elmar

    Hallo Elmar,
    Ab der DIAdem Version 2012 wird, wie von Riepld beschrieben, nicht mehr über GraphObjOpen und GraphObjClose die Objekte bearbeitet, sondern über Report. ... .
    Diese beiden Vorgehensweisen werden ausschließlich über das Script Modul verwendet.
    Sie könne jeden Dialog von DIAdem auch selber aufrufen. Allerdigs würde ich Ihnen empfehlen, die entsprechenden Eigenschaften über das Script direkt zu setzen und nicht den vorgefertigten Dialog aufrufen.
    Dafür empfehlen sich besonders Anwenderdialoge, da Sie auch da zusätzliche Scripte hinterlegen können.
    Nachdem Sie Eigenschaften einen neune Wert zugeweisen haben müssen Sie noch den Befehl Report.Refresh() aufrufen um die Anzeige zu aktualisiern.
    Mit freundlichen Grüßen
    Philipp K.
    AE | NI Germany

  • What is the open File Dialog box

    I am using a "File Browse..." item. With firefox a user can click on the provided Browse button or the corresponding text area to choose a file. However with IE7 the file dialog box on appears if the user clicks on the browse button.
    Can someone tell me what javascript can be used to open a file dialog box? (what is called when the browse button is clicked)
    Thanks.

    Thanks Carl,
    I thought APEX was doing some crazy javascropt stuff because I forgot about a style I had set.
    Anyway, I was getting an error if an IE7 user types in a crazy string into the file dialog box and hit submit (since it is not a file). So instead of preventing it I just used a try/catch block in my custom doSubmit. If anyone else runs into this here is a little javascript to help:
    (I am used a uploading image, Carl has an example of that somewhere)
    <pre>
    function doSubmit(r) {
    if (ser_changed.length > 0) {
         if (r == "UPLOAD" || r == "SAVE_CHANGES" {
              flowSelectAll();     
              $x_Value('pRequest',r)
    if (r == "UPLOAD") {
    try {                              /// this is where my fix is.
              document.wwv_flow.submit();
    catch(err) {
    html_HideElement('AjaxLoading');
    alert('Invalid file');
    } else {
    document.wwv_flow.submit();
                   }//save changes and stuff as request.
    else {
              var ans = confirm("You are about to exit the page without saving your changes!" + '\n' + "Click cancel to return to the page.");
              if (ans) {
              flowSelectAll();     
              $x_Value('pRequest',r);     
              document.wwv_flow.submit();
              }//when yes!
    $x('CANCEL_BUTT').disabled=false;
                   }//not save changes and stuff
              }//when there were changes made.
              else {
                             flowSelectAll();     
              $x_Value('pRequest',r);     
              document.wwv_flow.submit();
              }//where there were not changes made
         }//doSubmit
    </pre>
    <pre>
    function html_Submit_Progress(pThis,topass){
              if(pThis.nodeName=='INPUT'){pThis.value='...Loading...'}
    else{pThis.innerHTML='...Loading...'};
              html_ShowElement('AjaxLoading');
    window.setTimeout('$x("wait").src = $x("wait").src', 100);
    doSubmit(topass);
    </pre>
    Edited by: cmorris260 on Sep 19, 2008 3:30 PM
    Edited by: cmorris260 on Sep 19, 2008 3:31 PM

  • Open File Dialog Box (JS)

    I know that in order to open a file dialog box and get a file I have to use this code:
    myFile = File(File.openDialog("Import XML","XML Files: *.xml"))
    This is what I use to open XML files. Now I want to be able to open a folder based on the label of the textFrame. I can get the label and build the file path. How can I open a dialog box that already points to a specific folder? Also, how can I check with the script if there are files within the folder?
    Thanks,
    Justin M.

    >How can I open a dialog box that already points to a specific folder?
    var myFolder=Folder("/C/XYZ");
    var myMask="INDD:*.indd";
    var myFile=myFolder.openDlg("Select Files To Open", myMask, true);
    >Also, how can I check with the script if there are files within the folder?
    var myFolder = Folder.selectDialog("Please select path to files");
    if (myFolder!=null) {
    var fileList = myFolder.getFiles();
    alert("The selected folder contains " + fileList.length + " files.");

Maybe you are looking for

  • Order to cash cycle

    can we have an indication of cash operating cycle taken into consideration the stock, debtors and creditors.. will we need to develop a special report for that? Rdgs krish Edited by: user11268969 krish on Jun 15, 2009 7:09 AM

  • Face time and iMessage not working

    i can log in to the both apps ....but wenever i try to call in facetime ..it shows call failed ..wen i message to anyone in imessage ...it shows i need to log in ...but i already logged in ...please help me ..:(

  • Goods recevied on internal order

    Can we recevied material thru movement type 101 on a internal order, If yes How?

  • Using iphone 3GS to transfer itunes library from old computer to new comp.

    I am following all instructions provided at http://support.apple.com/kb/HT1329 but when I attempt to drag the itunes library into my iphone (which is listed under my computer) I am not able to. I have double checked and my itunes is set to "manually

  • No indexed list and alphabet bar in "albums" and "artists"

    Please help!!! No indexed list and alphabet bar in "albums" and "artists" suddenly, but only in "songs", firmware 2.2.1. Any idea???