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

Similar Messages

  • How to open a 'Save As' Dialog box in JSP?

    Hi all, i need to export a CSV file. A button is provided to the user to choose the directory to save the file. My problem is how to open a 'Save As' dialog box in JSP?
    Thanks in advance

    Hi,
    Below is my full code to download fiel but still the Save Dialog box still not show..
    <%@ taglib prefix="cs" uri="futuretense_cs/ftcs1_0.tld"
    %><%@ taglib prefix="asset" uri="futuretense_cs/asset.tld"
    %><%@ taglib prefix="assetset" uri="futuretense_cs/assetset.tld"
    %><%@ taglib prefix="commercecontext" uri="futuretense_cs/commercecontext.tld"
    %><%@ taglib prefix="ics" uri="futuretense_cs/ics.tld"
    %><%@ taglib prefix="listobject" uri="futuretense_cs/listobject.tld"
    %><%@ taglib prefix="render" uri="futuretense_cs/render.tld"
    %><%@ taglib prefix="siteplan" uri="futuretense_cs/siteplan.tld"
    %><%@ taglib prefix="searchstate" uri="futuretense_cs/searchstate.tld"
    %><%@ taglib prefix="locale" uri="futuretense_cs/locale1.tld"
    %><%@ taglib prefix="dateformat" uri="futuretense_cs/dateformat.tld"
    %><%@ taglib prefix="blobservice" uri="futuretense_cs/blobservice.tld"
    %><%@ taglib prefix="satellite" uri="futuretense_cs/satellite.tld"     
    %><%@ taglib prefix="date" uri="futuretense_cs/date.tld"
    %><%@ page import="COM.FutureTense.Interfaces.*,
    COM.FutureTense.Util.ftMessage,
    COM.FutureTense.Util.ftErrors"
    %><%@ page import="COM.FutureTense.Interfaces.*,
    COM.FutureTense.Util.ftMessage,
    COM.FutureTense.Util.ftErrors"
    %>
    <%@ page language="java" contentType="text/html;charset=UTF-8" %>
    <%@ page import="java.io.File" %>
    <%@ page import="java.io.OutputStream" %>
    <%@ page import="java.io.FileInputStream" %>
    <cs:ftcs><%-- france/test_template
    INPUT
    OUTPUT
    --%>
    <%-- Record dependencies for the Template --%>
    <ics:if condition='<%=ics.GetVar("tid")!=null%>'><ics:then><render:logdep cid='<%=ics.GetVar("tid")%>' c="Template"/></ics:then></ics:if>
    <%
    String fileToFind = request.getParameter("file");
    if(fileToFind == null) return;
    File fname = new File(fileToFind);
    System.out.println("Save As: "+fname.getName() );
    if(!fname.exists()) return;
    FileInputStream istr = null;
    response.setContentType("application/octet-stream;charset=ISO-8859-1");
    response.setHeader("Content-Disposition", "attachment; filename=\"" + fname.getName() + "\";");
    try {
    istr = new FileInputStream(fname);
    int curByte=-1;
    while( (curByte=istr.read()) !=-1){
    out.write(curByte);
    out.flush();
    } catch(Exception ex){
    ex.printStackTrace(System.out);
    } finally{
    try {
    if(istr!=null) istr.close();
    } catch(Exception ex){
    System.out.println("Major Error Releasing Streams: "+ex.toString());
    try {
    response.flushBuffer();
    } catch(Exception ex){
    System.out.println("Error flushing the Response: "+ex.toString());
    %>
    </cs:ftcs>
    Can anybody help me with this???
    Thank you in advance.

  • How can I get the "Open" and "Save As" dialog boxes to open at larger than their default size?

    How can I get the "Open" and "Save As" dialog boxes to open at larger than their default size?  I would like them to open at the size they were previously resized like they used to in previous operating systems.  They currently open at a very small size and the first colum is only a few letters wide necessitating a resize practically every time one wants to use it.  Any help would be appreciated.

    hi Prasanth,
    select werks matnr from ZVSCHDRUN into table it_plant.
    sort it_plant by matnr werks.
    select
            vbeln
            posnr
            matnr
            werks
            erdat
            kbmeng
            vrkme
            from vbap
            into table it_vbap
            for all entries in it_plant
            where matnr = it_plant-matnr and
                  werks = it_plant-werks.
    and again i have to write one more select query for vbup.
    am i right?

  • Move, delete, or rename files in Open or Save As Dialog box

    I want to be able to rename, delete or move a file when I am in an Open or Save As dialog box. Sometimes when I am opening a file or saving a new file I spot an existing file that needs to be renamed, moved to a folder or even deleted. In Windows I would just take care of that file and then keep going with what I was doing in the first place. This doesn't seem to work in Mac OSX. I have to stop, go to a Finder window, go to the location, do what I want to do to the file and then go back to the Open or Save As dialog box. There's go to be a better way in the "world's most advanced operating system." Ideas?

    SDA_MAC wrote:
    There's go to be a better way in the "world's most advanced operating system."
    no, there isn't.
    Ideas?
    you can ask apple to implement this feature
    http://www.apple.com/feedback/macosx.html

  • 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

  • All Office 2010 Applications Slow To Produce "OPEN" or "SAVE AS" Dialog Box ONLY When PC Connected To Network

    Hello all,
    Frustrating problem: ALL Office 2010 apps require a 45 second delay to produce an "open" or "save as" dialog box when the computer is connected to a LAN (wireless or wired, domain or workgroup). When the computer is NOT connected to a LAN (wireless or wired,
    domain or workgroup), then Office 2010 "open" or "save as" dialog boxes open normally (and quickly).
    I suspect a network search/survey function internal to MS Office is at fault.
    This is NOT the infamous mapped network drive problem associated with Office 2007/2010. There are no mapped drives (nor have there ever been) on the PC, although there might exist a related solution. Additionally, there is no 45 second delay when opening
    a file by double-clicking on the file itself which will launch the application.
    Other information:
    1. PC runs Windows 7 Pro 32 bit - PC is a relatively new Lenovo T400 laptop, all updates from Lenovo and MS installed, running clean and nicely otherwise, no spyware, no viruses, no previous software or hardware issues requiring assistance. Event log is
    clean.
    2. Absolutely fresh installation of Office 2010 Pro Plus (MS Action Pack)
    3. Running Office apps in safe mode does not alter problem behavior (ie, "windword.exe /a" or use CTRL key and double-click to launch app)
    4. Running Windows 7 in safe mode with networking and then subsequently testing Office apps is not possible: "license not able to validate" issue. This is a known problem and is not related to the slow dialog box response behavior.
    5. A desktop PC with the same MS Office 2010 installation, same volume license key, on the same network does NOT produce this problem.
    6. Full uninstall, reboot, and re-install of Office 2010 does not alleviate problem
    7. Disabling ALL startup items and services (including, of course, ALL Lenovo management software) does not alleviate problem
    8. SMB v2 bug is not the problem: ie, disabling mrxsmb20 service does not alleviate symptoms.
    9. I have isolated "Client for Microsoft Networks", "QOS Packet Scheduler", "Link-Layer Topology Discovery Mapper I/O Driver" (and Responder), and "Printer and File Sharing for MS Networks" in the network adapter properties are NOT causing the issue.
    10. Using Sysinternals Registry Monitor, I was able to determine that Office apps evaluate certain properties of your Internet Explorer settings before attempting to launch the "open" or "save as" dialog box. Altering the way intranets are detected, for
    example, does not alleviate the symptoms.
    11. Turning off Antivirus software (Avira Personal) does not alleviate the issue.
    This issue is causing a huge loss of work efficiency. Any help would be greatly appreciated.
    Thank you for your time.
    Sincerely,
    Rick

    Hello Rick,
    Through all the research I have done so far and talking with a few other coworkers what the common issues that cause this are is:
    1. Antivirus: disabling the antivirus is not good enough it needs to be totaly uninstalled and retested.
    2. startup programs: these need to be disabled through either Safe mode with networking or the start menu or MSconfig.
    3. Office addins: Disable all of them see if that helps. Then turn them back on one by one to see which addin is causing the issue.
    To disable addins: 1. open up regedit and navigate to this key. HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Word\Addins and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Word\Addins
    Then change the LoadBehavior to 0 this will disable the addin. 3 lets it run. Since this affected only one user HKEY_LOCAL_USER might be your best bet but don't rule out the other location.
    To verify there are no addins running go to the File tab>options>Add-Ins make sure nothing is listed under Active Application Add-ins.
    I hope this helps
    Thanks,
    Paul Slaathaug Sr. Support Engineer - Microsoft Word

  • 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]

  • How to open and save file like the Notepad Demo do?

    I am a newer to Java Web Start. I found that in the Notepad Demo, when user try to open or save file, a message box appear and give the user some security suggestions.
    In my application, I used a JFileChooser and set the <security> element to <j2ee-application-client-permissions/> in the jnlp file. But the application will thow an exception:
    access denied (java.io.FilePermission C:\Documents and Settings\Administrator\desktop\Java Web Start.lnk read)
    Can someone tell me how to solve this problem. By the way, where can I find the source of the Notepad Demo. I want my application to open and save file just like the Notepad Demo do.

    The Notpad demo uses the JNLP api to read and write files. The api doc can be found at:
    http://java.sun.com/products/javawebstart/docs/javadoc/index.html
    Although the Notpad demo source is not available, there is other sample code available at:
    http://developer.java.sun.com/developer/releases/javawebstart/
    Included here is the webpad demo, which uses the FileOpenService and
    FileSaveService API's.

  • How to Open and Save files

    I have a problem to open and save the files.here is my code. can anyone help me to open the files.
    public void actionPerformed(ActionEvent e) {
    if ("open".equals(e.getActionCommand())) {
    FileDialog fdopen=new FileDialog(this, "Load File", FileDialog.LOAD);
    fdopen.show();
    Thanks for ur time

    Hi fbnmir or who ever can answer my question,
    My problem is similar to the code you wrote. I'm trying to make (or rather complete a half done) editor for text files. For opening and saving files I have so far:
    public void actionPerformed(ActionEvent ae){
    FileDialog filedialog;
    final SearchDialog searchDialog;
    String arg = (String)ae.getActionCommand();
    // the Open ... case
    if(arg.equals(Editor.fileLabels[0])){ 
    if(Editor.VERBOSE)
    System.err.println(Editor.fileLabels[0] +
                        " has been selected");
    filedialog = new FileDialog(editor, "Open File Dialog", FileDialog.LOAD);
    filedialog.show();
    if(Editor.VERBOSE){  
    System.err.println("Exited filedialog.setVisible(true);");
    System.err.println("Open file = " + filedialog.getFile());
    System.err.println("Open directory = " + filedialog.getDirectory());
    //the Save ... case
    if(arg.equals(Editor.fileLabels[1])){ 
    if(Editor.VERBOSE)
    System.err.println(Editor.fileLabels[1] + " has been selected");
    filedialog = new FileDialog(editor, "Save File Dialog", FileDialog.SAVE);
    filedialog.show();
    if(Editor.VERBOSE){ 
    System.err.println("Exited filedialog.setVisible(true);");
    System.err.println("Save file = " + filedialog.getFile());
    System.err.println("Save directory = " + filedialog.getDirectory());
    These are two components of a MenuHandler class. The problem with this code is that in the text editor window, even if the Open button is pressed the file I want to open isn't displayed. Although the System.err (I think that's what it is called) says:
    Open ... has been selected
    Exited filedialog.setVisible(true);
    Open file = tutorial_01.rtf
    Open directory = C:\dhruba\epgy_2006\tutorial\
    Save ... has been selected
    Exited filedialog.setVisible(true);
    Save file = test.txt
    Save directory = C:\dhruba\epgy_2006\tutorial\
    How can I actually display the file I want to open, or save some text I've written?
    I would appreciate any help, thanks.

  • How to customize the Save as dialog Box for saving Web Query???

    Hello,
       we are usnging SAP NW Portal and BI 7.0 (SP14).
       We have published BI web queries in the Portal and it works just fine, now when the User select the Button "Save As" in the Context Menu of any web query, this will open a new Dialog Box name "Save As Dialog Box", so from this dialog box the user can select where to save the query, he/she have 3 options* to save qureies: My Favorites, Bex Portfolio and MyPortfolio, this also works fine.
      My Quetsion is: How can i customize the View of this "Save As" dialog box, so at the end the User can only select 2 Options:  My Favorites + MyPortfolio. So how to hide the Tab:  Bex Portfolio in the Dialog Box.
    Points for any good answer.
    Many Thanks and Regards,
    Nazih
    Edited by: Nazih Kayyali on Feb 3, 2009 4:04 AM

    In what you have posted, there is no reason it shouldn't work the same way in Acrobat 9. I would recommend that you submit your complete application to developer support.

  • 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 I change the save image dialog box view from oldest to newest first as the default?

    My save image dialog box has the oldest file in the folder in the upper left position (using list). I want to change it to the newest file shown first. It used to be that way, but now it showing oldest first. I haven't found any guidance on defaults for this box. Thanks.

    Leave it to Apple.  When I first got the phone, that's the way they were configured.  Now that they've flipped around, there's now way to change it!

  • Windows 7 Open and Save As dialog box gives an "Access Denied" when using common Windows Explorer features.

    On many computers in our environment we have issues in Windows 7 when using the Common Dialog Box.  Within the dialog box we get the error Access Denied whenever we try to create a folder.  If we try to rename a file it doesn't give an error but
    it doesn't work either.  We cannot delete a file, still no error, but we can create shortcut.
    Within Windows Explorer of the same user it has no issues.
    Even if we run an application as administrator it has the same results.
    Example: Open Paint (right click "Run As Administrator"); then File, "Save As", right-click in empty space; then New, Folder.  This caused the error to popup "Unable to create the folder 'New folder'  Access is denied."
    Thanks for your help,
    Daniel

    Hi Daniel,
    How are things going? As the article provided above said, for such kind of issues generally it is caused by permission settings.
    The article provided several possible solution and please let us know if there is anything unclear about the steps. 
    If you have any feedback on our support, please send to [email protected]

  • Save File dialog box

    Hello, I would like to popup a dialog box when the user clicks Save so that they may navigate to a location on their hard drive to save the file. Then, they click OK or something similar and the file is saved to the location they choose.
    Can anyone point me in the direction of examples on how to do this?

    If I knew where to find the 'FM', I wouldn't have posted my question. But thanks for being so angry on a forum intended to 'help' people.

  • Click a Link and open the save-as dialog box instead of browser opening it

    Basically, i have a link to an image and when i click it the browser opens the image. I would prefer that when i click the link to the image that i get some sort of save functionality to occur.
    I created a link to the Google logo so it looks like Google image when clicked the browser opens the image. What i would like to do is click the link and then have the save-as dialog pop up (or something similar). Currently I would either have to right click the opened image and save image as or right click the link and then save-as that way. In this instance the file doesn't reside on the database but an external source so is there a way to save-as dialog once the link is clicked?

    Sorry, I have no idea what you are doing; can you give us some details?

Maybe you are looking for

  • Flex 4.6 IOS Compiler ADT Failed at  EXCEPTION_UNCAUGHT_CXX_EXCEPTION

    Hi All, I tried to create IPA file through both Windows XP and MAC by using ADT command Line, two ENV are with same JRE version and FB version, however, I met totally different results. On MAC, the IPA was created successfully, while on Windows XP, I

  • Migrate Oracle Apps Instance from one server to another

    Hi All, We are planning on migrating our Production Oracle Apps Instance(11.5.10.2 and 9.2.0.8) on HP Tru64 UNIX OS on one server to a different server(Node name change) with the same OS. This is a single node, single OS user instance(Apps and DB on

  • Emailing Pages Exported from a PDF

    Many of our users have large PDFs and would like to extract specific pages and email the extracted pages. They select File, Attach to Email.  Unfortunately, the Attach button is dimmed on the task pane. However, if they save the extracted pages as a

  • G/L account does not exists.

    Hi , While creating the internal activity in CJ20N system system gives error that G/L account doesnt exist. But for internal activity system shuld not give such error here system automatically selects a cost element from Chart of account CABE which i

  • Switching to Icloud with Iphoto 6

    My MacBook (from 2007) has Iphoto 6 on it - can I switch to Icloud? (the photos on my MobileMe are not already in Iphoto due to a system crash)