How can I open the windows file directory in "WHEN-BUTTON-PRESSED" trigger

Dear All,
How can I open the windows file directory in “WHEN-BUTTON-PRESSED” trigger?

Blessan Joseph,
The solution is dependent on your Forms version and if your applications is traditional Client/Server (CS) (Forms 6i and lower) or web deployed (Forms 6i and higher). For CS, you would use the Get_File_Name() built-in as Faa demonstrated. For Web, you will need to use the WebUtil library function Client_Get_File_Name() as Sarah (OGIR) demonstrated. Both of these functions will return the full path to a file. Note: WebUtil is an external library so it requires you to perform some configuration on your developer client as well as on the Application Server. WebUtil is included with Forms 9i and higher, but you must download it for Forms 6i.
My requirement is user should able to select windows directory for the output.Do you really need to allow the user to write to a file in the Windows directory? This is very dangerous and you should not allow users or programs to write to the Windows directory. Users should only be able to write files to "User" directories (\My Documents\<Directory name>).
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.

Similar Messages

  • How can I call my chart in Forms6i on When Button Press Trigger?

    Hi Friends,
    I have make a chart in Graphic Builder 6i and save on path C:\graph\test.ogd
    Now I want to run this Chart from Form6i on When Button Press trigger.
    I have call my report in forms using this command on When Button Press trigger.
    Run_Product(reports,'C:\Cheema\Qdir_store\reports\pmms\sec_backlog',asynchronous,runtime,filesystem,TO_CHAR(NULL));
    So tell me How can I call my chart in Forms6i?
    Please reply me on urgent.
    Thanks,
    Shahzad

    Just to recall after a long break of couple of years..... Pls check out if not wrong.
    First of all you need to embeed the chart object on your layout window and make it visible = FALSE. This is a design time work. In the button press event, show the chart object by setting the visible property = TRUE.
    Note, i could not paste u the sample code as i don't have forms installation on my PC. The above states is a logic you can apply.

  • How can I open the .ase file?

    Can someone help me with this please?
    I am wondering how can I open the .ase file?

    I know that you can open them in Photoshop. Go to the swatch menu and choose "load swatches." I assume that the rest of the Creative Suite has a similar function. Make sure that you choose *.ase in the open window.

  • How can I open the *.ps files?

    How can I open the *.ps files?

    Get GhostView or Adobe distiller... the first one is free to download, dunno about the distiller.

  • How can I save the window size so that when I restart Firefox the size of the window is appropriate for my portrait mode monitor?

    I have a 2 monitor setup with my second monitor in portrait mode. Whenever I start Firefox (on my 2nd screen where I always open it) I always have to resize the window so it goes down to show more info. I cannot figure out how to reset any type of default window size for the height and width parameters.

    Hi,
    From your post, I assume you are creating WebHelp output.
    You  need to create a window for the help in the Project Set-up pod. Then,  you need to make sure you call the output so that the window is used.  See http://www.grainge.org/pages/authoring/calling_webhelp/calling_webhelp.htm.  This article on Peter's site give you an overview over the  possibilities of calling context sensitivive webhelp and also tells you  how to specify the needed window. Also, the installation directory of  RoboHelp 8 contains a directory called CSH API. In there are example  API's your developer can use to call the help.
    Greet,
    Willam

  • Open an Application... using When-Button-Pressed Trigger

    Hi,
    when ever i pressed the button in forms 6i, i want to open an application
    like notepad, excel, word......
    Ex:- if we open the run program through start button ,
    type notepad and press ok..
    it will open the notepad window.
    Thanks.

    In C/S deployment of Forms 6i you can use the HOST. refer to the online help for more detail.
    HOST built-in executes Operating System commands, so use the command you want.
    Tony

  • How can I stop the Creative Cloud directory 'crashing' when I save/open files to/from any CC app

    I'm running a Mac 10.9, bags of space and memory, no other problems with it.
    I use Creative Cloud and sync to CC using the prescribed CC method. However if I try to open or save a file to the CC directory from within any CC app, the directory opens for a split seconds and then instantly closes preventing me from completing the action. The only way to get files in and out is by dragging and dropping them from the Finder.
    Can anyone tell me how to sort this problem out.
    Thanks

    Hi D2xS-Shooter,
    I am afraid Creative Cloud desktop app is not compatible with Windows Vista. If you run into problems there are very limited resources from Adobe to assist.
    Creative Cloud is a collection of apps with various different tech specs
    http://www.adobe.com/uk/products/creativecloud/tech-specs.html
    Thanks!
    Eshant

  • How can I open the .sif file generated by andor solis

    Hi guys, I am working with an imaging measurement using Andor's EMCCD. It is generating files in the format of .sif.
    I am making a labview based analysis software but labview doesnt open .sif file direcly. I am wondering how I can open this crazy .sif file using labview direcly?
    It is basically a stack of multiple images files with some head files.
    Thanks

    Hi Shuohuang,
    You normally open image files in LabVIEW in a way similar to this:
    http://digital.ni.com/public.nsf/allkb/02971A30F5D​8FC6986256A0A004F11A0
    Or you can import them if they are one of these file types
    http://digital.ni.com/public.nsf/websearch/DD7B273​4795BDAF386256BE40067B6A0?OpenDocument:
    I've never dealt with .sif files before and you say that it is a stack of multiple images so I'm not sure how the normal image functions will work with .sif files.
    If you can post one of the files on here then I can have a play and see if I can figure out how we open them in LabVIEW.
    James W
    Controls Systems Engineer
    STFC

  • Hi...i planned to install windows xp on my macbook pro OS 10.8.3..is it compatible with my mac?if so,how can i get the windows file?

    and i planned to use VMware...

    If you are using a Virtual Machine like Vmware you should check with Vmware to see what versions of Windows run in their virtual machine. It is not Windows that has to be compatible with your Apple computer when using a virtual machine, it is the virtual machine version that must be compatible.

  • How can i display the values in a table when i press enter

    hi,
    I have three text boxes and a table with three columns in a jsp page.When i keyin some values in the text boxes and press Enter these values should be dispalyed in the three columns of the table.When once again if i key in the text boxes with some other values these values should also be displayed in the table columns in another row.Can it be done.Pls help me.Hoping for a reply.
    Thanks
    Naveen

    hi
    just go through the Code below:
    this helps you but this works in IE only.
    <html>
    <head>
    <script language="javascript">
    <!--
         function show(frm) {
              Show.innerText = frm.desc.value;
         } // closing the function show()
    //-->
    </script>
    </head>
    <form name="testform">
    <textarea name="desc" rows="3" cols="20"></textarea>
    <input type="button" name="buttsub" value="Submit" onClick="javascript:show(this.form)">
    <br>
    <table width="500">
    <tr><td bgcolor="#e6e6e6">
    <div id="Show"> </div>
    </td>
    </tr>
    </table>
    </form>
    </html>
    Cheers
    rambee

  • I have a 2007 iMac with version 10.6.8.  When downloading "some" files to my computer, these files become "zip files."  When I open the zip file, it produces a document in some coding language. How can I open the file to produce a legible document?

    I have a 2007 iMac with version 10.6.8 and 4GB of expanded memory.  When downloading "some" emailed documents, the downloaded file becomes a "zip file," which when opened looks like a coded message.  How can I open the "zip file" so that it produces a legible document?  Please, help!!  thank you!!!

    A "zip file" is a compressed file. "Zipping" in principle does not and cannot change the contents. So that if the contents before zipping are garbage, or unreadable on a Mac, when you expand the file you will get garbage or an unreadable file.
    The first thing to verify therefore is whether the file, before it was zipped, was in a "Mac friendly" format. Can you do that?
    You do not need an App to zip or unzip. These functions are built in on our Macs.
    And yes, zipping and unzipping using the built in functionality, work fine in OS 10.6.8. And 10.7 and 10.8 and 10.9.

  • How can i open the directory/​folder and read all the files inside it in order and then close it?

    How can i open the directory/folder and read all the files inside it in order and then close it? any example would be nice.
    thanks

    In the File I/O>>Advanced File Functions Palette is a function named "List directory". This function will give you two arrays. One contains the names of all subdirectories the other the names of all files. If you want to sort them by name use the array sort function. If you want to sort them by another attribute use the File/Directory Info function to get more data. Use a cluster which contains the attribut to sort and the original index of the name. Then sort this array.
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • I have PC with Windows XP. I wish to buy a book but it says I need iOS with a specific version of iBooks to open the file. How can I open the product without have a Apple product?

    I have PC with Windows XP. I wish to buy a book but it says I need iOS with a specific version of iBooks to open the file. How can I open the product without using an Apple product?

    What is the GarageBand version that your friend is using?
    If it is GarageBand '11, version 6.0.5, you can buy GarageBand '11 as a boxed retail version with the iLIfe '11 bundle, e.g. from Amazon.
    Then you can upgrade GarageBand '11 to 6.0.5, using this upgrader from the Support page:
                     GarageBand 6.0.5
    GarageBand 6.0.5 will work well with your system.  But if your friend is using the newest GarageBand 10, this will not help. Then ask your friend to send you audio files for each track, so you can recreate the project from the audio.  Or your friend could also use GarageBand '11 for the projects you want to share, that will run well in all newer MacOS X versions, even with GarageBand 10.0 installed on the same system.
    -- Leonie

  • How can I open the EP login page in the same pop-up window?

    is it possible for me to using / only one window(Browser) pop-up to EP Page(Login or iView...).
    In the firs general html page I create a EP login page link action[eg. "window.open('url', 'target_name')"],
    but always launching new pop-up window(Browser).
    How can I open the EP login page in the only one window(pop-up)?
    Could anybody help me by giving suggestion and codding?
    Thanks,
    jin.

    Hi,
    if you want to redirect the root of portal system (http://portal/) to the login page, edit the
    file and change the body tag as follow:
    \usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\com.sap.engine.docs.examples\servlet_jsp\_default\root\index.html
    <body onload="location.replace('irj/portal' + document.location.search)"></body>

  • I have an old Kodak Photo CD and Photoshop Elements 11 on Windows 7. How can I open the .pcd images?

    I have an old Kodak Photo CD (1999) and Photoshop Elements 11 on Windows 7. How can I open the .pcd images?
    Please help me open these photos. They are very important to me and I need to access them.
    If I can't do it with any of the software installed on my computer, would someone be willing to open them, save them as jpgs and send them to me?
    Thank you so much, Nancy

    You can get the plugin here by downloading the Extra Content for Photoshop CS3  File 2
    Just be sure to follow Note:Very Important Instructions or the link won't work.
    http://prodesigntools.com/download-adobe-cs4-and-cs3-free-trials-here.html
    After downloading the PHSPCS3_Cont_WWE.exe, double click on it to extract the contents, probably to your desktop.
    Then in the Goodies folder, Optional Plugins folder, you'll see the Kodak PhotoCD folder
    Open that and copy the Photo CD.8BI to C:\Program Files (x86)\Adobe\Photoshop Elements 11\Plug-Ins
    Copy the profiles to C:\Program Files (x86)\Common Files\Adobe\Color\Profiles

Maybe you are looking for

  • Database Connection Problem in Oracle9i Lite Web-to-Go

    Hi I am having problem in the Database Connectivity. I am using the OracleDriver class for the connection and have defined the DataSource in the struts-config.xml as <data-sources> <data-source> <set-property property="driverClass" value="oracle.jdbc

  • Can't watch Netflix after upgrading to Yosemite

    I have a MacBook Air, with 4gb, and 2.3 gHz. After I upgraded to Yosemite Netflix stopped working. It gives me an error saying that the "external monitor" is not HD compliant. Have anyone encountered this problem? Have you found a solution? Thanks.

  • Error Message Translation, Please: Master Output Has Been Reset?

    Can anyone help me understand the following Audition 3 error message? I couldn't find anything in Adobe's help system and there's remarkably little about it out on The Google. Thanks. The output device Xonar Essence STX bit-perfect A specified in the

  • Master data in PRODUCTION Server

    Hi, Can someone please share the checklist/document having the details of the Master Data that needs to be maintained in PRODUCTION server at the time of GO-LIVE from FI perspective. Thanks in advance. Sanjay

  • How can you view/work on image in CC while still viewing thumbnails in Bridge?

    Just switched to CC from CS5. Cannot open an image from Bridge into Photoshop while still viewing thumbnails in Bridge. Killing my workflow by having to reopen Bridge after processing every image in Photoshop. Using two monitors. Another huge frustra