How to develop a file dialog box in a oracle forms

please help me its an urgent task,
how to develop a file dialog box in a oracle 6i forms
in html we will use <input type ="file"/> to open a dialog box,so that we can upload file to the server .similarly how to upload a file using oracle.

For Windows there is a library that comes with forms d2kwutil.pll that contains a package win_api_dialog. use the open_file procedure.
NOTE******** when you select a file from whatever windows directory you choose, it will change your working directory to that directory so right after that you will need to reassign your working directory back to what it originally was.
Also, you will need to have d2kwut60.dll in the same directory as your d2kwutil.pll. Both come with Developer.
Example code is
v_runpath := win_api_environment.get_working_directory(TRUE);
v_filename := win_api_dialog.open_file('Find File','C:\','*.*',TRUE, 0, TRUE);
win_api_environment.set_working_directory(v_runpath,true);
Hope this helps

Similar Messages

  • How to Shw Open File Dialog Box

    Hi all,
    Can anyone help me plz.
    I am designing an interface using forms 9i where data entry operator has to insert data for products in the database. Also we want to store the image of the product. so I want to show an open File Dialog box from where user can pick a file and click ok & if it returns the file name with complete path, then i can read the contents of image using read_image_file.
    So, is there any Oracle built-in for that???
    Thanks in advance

    Thanks Ronald webutil worked successfully.
    But i am facing following error when i try to go to the Canvas provided by the Webutil setup(olb).
    Error is given Below:
    1. FRM-13008; Can't find java bean with name 'oracle.forms.webutil.ole.OleFunction'.
    Previously it was giving errors on all JavaBean classes then i put the path of webutil.jar file in registry as given in the documention. It works ok for other java beans but why above error is coming.
    plz Help.

  • How can open File Dialoge Box in Oracle9i

    can any one tell me how can i open file dialoge box in oracle 9i i am using webutil but when i run this code.. there is an exception during runtime.. not compile time.. so plz tell me how can i open file dialoge box.. thx..
         declare
              file_name varchar2(100);
         begin
              file_name := client_get_file_name(FILE_FILTER=>'TEXT FILES (*.txt|*.txt|');
         end;

    Please do not post the same topic in multiple forums. The
    only thing I can suggest is when they click on the button to
    download, you take flash out of full screen while they download the
    video, you can use fileReference to control and monitor the
    download. Use a listener object to monitor when download is
    complete, then set flash back to full screen.
    How are you scripting the full screen?

  • 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

  • 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);
    }

  • How do I get back to the newest file dialog box style in LabVIEW?

    I have LabVIEW 7.1 and LabVIEW 6.0.2 installed on the same machine.  When I doubleclick a .vi file it tries to open in LV602.  Of course, if it is a LV71 VI I get an error and it doesn't open.  Then I run LV71 and load the desired VI--in this case by using the Open arrow to find it in the "recently opened" list.  Now, I've made this mistake before, especially when I don't remember whether I used LV602 or LV71 to create the VI, and nothing bad has happened.
    But this time something undesirable did happen:  all Open File dialog boxes are of the old funky style.  How do I get the file dialog boxes back that I've grown used to seeing when I use LV71?
    CLUES:
    1.  I get the old style dialog box even when I try to open a VI--not just when a running VI invokes it.
    2.  The built version of the VI brings up the correct, new style, file dialog box--unlike the development environment.
    I haven't found any settings in the options area that would appear to affect the file dialog box style.  Has anyone ever seen anything like this?

    RudyRed wrote:
    Thanks for the response,
    Warren.  I think all my problems with LV versions coexisting
    peacefully have been related to NIDAQ--and I think the workaround (for
    supporting the different levels of LV DAQ VIs--see my response to
    Benoit, above) shows that it is not NECESSARY for NI to orphan old LV
    versions' DAQ functionality on the development computer, though it is
    still painful to be able to have only one version of NIDAQ available on
    a given target computer.  It's probably a marketting decision
    meant to encourage users to stay on the straight-and-narrow upgrade
    path.
    NI-DAQ has usually been working fine in
    several different installed LabVIEW versions on my computer. What is
    important is the order of installation. Start first with the lowest
    LabVIEW version and install the latest NI-DAQ that supports that
    LabVIEW version. Then go to the next LabVIEW version and install again
    the latest NI-DAQ version that supported this LabVIEW version and so
    on. I'm regularly working with 6.1 up to 7.1 and starting with 8.0
    slowly and haven't had real show stoppers yet.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to create a custom file dialog box/vi (win)??

    Hello,
    I'd like to create a custom file dialog box to handle the reading of my tdms files. Basicly I want to extend the existing file select dialog box with a graphical preview of the data in the selected file. I know I can create all the logic for file selection by hand and use a list box to display the filelist, but I would rather prefer to somehow use the existing windows controls. So is it possible to get the windows file selector on the front panel of a vi and react to the user selection? If so, is there any example available on how to do this? Any other options? I'm using labview 8.2
    thanks for your input!
    klaus

    Klaus,
    I wouldn't know that Microsoft provides access to the controls that Explorer and file dialog consist of.
    There might be a different and more powerful solution though. The
    WINDOWS Explorer / file dialog have a plugin API that allows you to
    associate your own application for thumbnail creation with a particular
    file extension. That way, TDMS thumbnails will show in any instance of
    Explorer and
    File Dialog without you having to make your own dialog. Basically, you
    would need to compile the VI that creates the thumbnail into a
    LabVIEW-built DLL and then wrap this DLL with some C++ boilerplate code
    that Microsoft provides. You might want to have a look at the bottom of
    this article to get an idea of how the whole thing works:
    http://msdn.microsoft.com/msdnmag/issues/0600/w2kui2/default.aspx.
    Hope that helps,
    Herbert

  • How to open a save file dialog box in form

    hi
    all
    I have prob in form desing , i have open the save file dialog box , how to open a save dialog box
    and path of the select file to save in disk
    help
    thx

    hi
    user this query when-button-pressed trigger
    :txtfile := GET_FILE_NAME(directory_name =>'d:\ali_raza\backup\', file_filter=> 'DMP Files (*.dmp)|*.dmp|');
    Rizwan

  • File dialog box: how get full path and filename (firefox 3.0 problem)

    Hi,
    I have a smilar problem then discussed in this thread: file dialog box: how get  full path and filename
    Now this solution doesn't seem to work in firefox 3.0,I only get the filename but not the full path.
    I have tried to solve this problem by adding *"netscape.security.PrivilegeManager.enablePrivilege("UniversalFileRead");"* in a javacript function but that doesn't do the trick
    Although when i tested it local it does work.
    Any idees how to solve this?
    Best Regards
    Stijn

    Actually, that is strange and scarry. With 20% of the browser market share they decide to behave like Microsoft did in the past - they want to decide what users need and what they do not need. With 3.0 I have a real problem with some of my applications. They are all tested in IE6, IE7, FF2.0 and they all work the same way (they even work with Opera and Safari). Now, I will for sure not go there and make it work for 3.0, just because 2 out of 200 users use FF3.0. Up to now I have always recomended FF as the best browser. 3.0 causes my opinion to change completely. Competition is always good but it is a question if it is good if we have 20 different browsers out there with equal market shares.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • File dialog box: how get  full path and filename

    Hello All
    i have a problem to save the full path and filename with file dialog box.
    I want to save full path and filename in the database for creating a link to a file.
    I use a file-dialogbox to choose a file.
    I see in the textfiled something like this
    \FULLPATH\filename.ppt
    but when i save the textvalue in the database or look at the seesionvalue I see
    this:
    F2087258868/filename.ppt
    but I need the full path to create a link. How I can get?
    I use version 2.2.1..
    Thanks
    Putcho

    Hi Putcho,
    You can create some javascript that puts it into a hidden item.
    In HTML Form Element Attributes: onChange="$x('P15_X').value=$x('P15_FILE').value;" Then create another process that stores the value of the hidden item in your own table...
    I quickly made an example with a normal text item, so you see it copies itself to the other box: http://apex.shellprompt.net/pls/apex/f?p=286:15
    Hope that helps,
    Dimitri
    http://dgielis.blogspot.com

  • How to add list of multiple file types to file type of file dialog box in LabVIEW

    How to add list of multiple file types to file type of file dialog box in LabVIEW?
    In file dialog box there is option to add only one file type,in the list,not by seperating commas,
    regards,
    Naresh.N

    Write the file types in pattern Input string, separated by a semicolon ;
    For example:  *.vi;*.doc;*.jpeg;*.xls
    This should return the set of files with matching extensions
    Message Edited by devchander on 09-10-2008 08:02 AM
    Message Edited by devchander on 09-10-2008 08:03 AM

  • How to add array of file types to file dialog box

    Hi
    I just want to know how to add array of file types in file dialog box vi. I know that multiple file type can be added to filedialog vi in the pattern Input string separated by semicolon (eg *.vi;*.doc;*.jpeg;*.xls). But i want file dialog which is shown in the below picture.
    I think that file dialog vi call user32.dll but i don't have that header file to call that dll.
    Waiting for your esteemed response.
    Thanks & Regards
    Samuel J
    System Engineer
    Captronic Systems Pvt Ltd
    Bangalore, India.

    I'm not sure how (or even if) it can be achieved using the LabVIEW built-in open dialog, but a .NET call to openfiledialog (http://msdn.microsoft.com/en-us/library/system.windows.forms.openfiledialog.aspx) can do what you're looking for. The .NET functions are better documentented that simple user.dll calls, so it might be easier to implement.
    Shaun

  • How to displays the standard open file dialog box in Oracle Apps Server

    Hi,
    I am having a form, where i am opening a file and putting that file content in a text box.
    This is my code written in WHEN-BUTTON-PRESSED trigger:
    declare
    in_file Text_IO.File_Type;
    linebuf VARCHAR2(8000);
    filename VARCHAR2(30);
    BEGIN
    filename:=GET_FILE_NAME('d:\Rajesh\Practice', File_Filter=>'Text Files (*.txt)|*.txt|',select_file=>false);
    in_file := Text_IO.Fopen(filename, 'r');
    LOOP
    Text_IO.Get_Line(in_file, linebuf);
    :text_item5:=substr(:text_item5||linebuf||chr(10),1,5000);
    END LOOP;
    EXCEPTION
    WHEN no_data_found THEN
    Text_IO.Put_Line('Closing the file...');
    Text_IO.Fclose(in_file);
    END;
    I have posted this in ORacle Apps Server.Where i was not able to get the Open Dialoq Box.It is giving an error as
    "FRM-40735:WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-302000.".
    I think the GET_FILE_NAME function is not supported in the Apps Server.
    Is there any alternative solution for getting the OPEN DIALOG WINDOW in Oracle Apps Server?
    Pls let me know.

    Hi!
    waldemar.hersacher wrote:
    "It seems that the VIs called by the clients are running in the user interface thread.
    A call to the file dialog box will call a modal system dialog. So LV can't go on executing VIs in the user interface thread."
    Are you sure? I think, that File Dialog, called by LabVIEW File Dialog from Advanced File Functions Palette doesn't blocking any cycles in subVI, which running in UI Thread. Look in my old example (that was prepared for other topic, but may be good for this topic too).
    2 linus:
    I think, you must a little bit reorganize you application for to do this. You must put your File Dialog into separated cycle. This cycle, of course, will be blocked when File Dialog appear on the screen. But other cy
    cle, which responsible for visualization will run continuosly at the same time...
    Attachments:
    no_block_with_file_open_dialog.zip ‏42 KB

  • How to incorporate File name and timestamp automatically into select and save file dialog box?

    Hello,
    i am trying to incorporate the file name which is inputed by the user along with the timestamp into the selected and save file dialog box. Can you help?
    Thanks
    Solved!
    Go to Solution.

    You can pass a default file name to the 'File Dialog' Express VI.
    Use the 'selected path' output to open the file.
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness
    Attachments:
    FileDialog.vi ‏21 KB

  • How to trigger an "open file" dialog box

    I am using forms 10g. Does anyone know of codes to trigger "open file" dialog box in a button object?
    My goal is that the user may be able to select a file from his terminal by clicking a button.
    Thanks in advance.

    As aweiden suggests, there are additional setup steps that have to be completed on your workstation as well as the Forms server so you can use the WebUtil library. If you are using Forms 10g R2, then I recommend you conduct a search of the Forms Help system (Search tab) on "WebUtil" and select the "Configuring WebUitl" topic. If you are on Forms 10g R1 (9.0.4), then you had to download and install WebUtil on your workstation. I recommend you read the Web_Util.pdf in the "DOC" folder an follow all of the steps in Chapter 2 : Configuring WebUtil.
    Craig...

Maybe you are looking for

  • I need help for my fading out,in animation : how to add a link to your animation ?

    i really want to know how to add link to your animation . well when i passe the mouse over my animation it stops and when i leave it the animation continue... but what i want when the mouse over the animation i want to click on the animation and to b

  • Pop up window occurs when assigning package in Transport Connection

    Hi After collecting objects through transport connection, when i click on Assign package button, a pop up window occurs, which says "Change package for the following Objects" and gives a list of all the objects and check boxes with it.What is the sig

  • Micro DataPad Mini Keyboard for Palm m105 Series

    I have the Micro DataPad Mini Keyboard and I need to install drivers.  I can't seem to find anything on the palm website.  Can anyone help me please?  I know the palm is outdated but I can't afford a new one right now and I need it to help me keep my

  • Exchange rate from the previous date

    Hello, Is there a way to define the system to take the last available exchange, if todayu2019s rate doesnu2019t exists? Thanks Revital

  • OS X 10.4.6  Dock Disappeared - Can't Set Desktop

    I can't figure this out - My Dock has disappeared (it is not in auto "hide" mode) and I don't know how to bring it back! The Dock preferences has the dock at the "bottom". I've tried switching to right/left to no avail. When I try to minimize a windo