Customising File Save As Dialog

Hai,
I want to have more than one options in "Save As Type" field of the "File Save As Dialog". Can this be done using WinAPI?( I am trying to use GetOpenFileName() of the comdlg32.dll but am not able to make it work)? I am using labview 7.1.
Thanks,
Manoj.C

If you are trying to configure what type of file to save as default with the File I/O VIs, then you can always use the File Dialog express VI to configure this property.  It is the pattern label input, and you can have multiple file types, separated by a semicolon.Message Edited by Coal Man on 08-08-2007 04:46 PM
Brian Coalson
Software Engineer
National Instruments

Similar Messages

  • Problem printing with Adobe Acrobat X pro. No File Save As dialog

    We have a C++ program to print a formatted report, by selecting the configured  printers. "Adobe PDF" printer is available on install of Adobe Acrobat Pro.
    During report print  when "Adobe PDF" printer is selected, the report use to get printed in a PDF document & saves at the path provided by the User.
    Internally it uses printer APIs like  OnBeginPrinting, StartDoc, OnPrepareDC, StartPage, OnPrepareDC etc.
    Report printing was working fine with Adobe Acrobat Pro 9.1. But since I installed Adobe Acrobat X pro (with update as 10.1.3) I am unable to print PDF document using "Adobe PDF" pinter.
    StartDoc API does not pops up the "File Save As" dialog at all.
    Any help in this regard, would be very useful.
    Note: My code is working fine, if I use freeware like CutePrinter.
    Thanks,
    Amit Agrawal

    Interesting. My approach would
    1. Try on a different system if available. If still bad...
    2. Try to create a simple test application with CreateDC and StartDoc, and really nothing else not absolutely needed.
    Test that.  If it is good, look for other problems in your application (e.g. memory overwrite).
    If your little example is still bad, post it here and other people can try and compare your results.

  • Media Encoder, No File Save Dialog with New XDCam Project

    I've started a new project last night and I got it edited toda
    y. It's XDCam 24P timelines, very simple linear
    string of short 45 second clips of interviews with executives.
    The timeline behaves normally in every respect. Except, when I attempt to render it to any format in Media Encoder, I never get the File Save As dialog. I press OK and the Media Encoder settings goes away, then, a second later, reappears. It took me a few moments to realize something was wrong.
    I rebooted the computer, thinking Premiere was just corrupt in memory, as sometimes happens, but after a fresh start, the same behavior with the Media Encoder. Now I'm really worried, because this is a corporate event video with a deadline.
    Just to check, I tried opening a prior project and tried to render anything in that project. This time I get the Save As dialog, which is expected. So I return to the corporate event project and try again to render anything within that project. The encoder settings keeps redrawing when I press OK and I cannot save anything.
    Thinking my project was corrupted, I copied the assets and made a new project and pasted them into the new, blank project. Once again, I cannot render anything. All I get is a redraw out of the Media Encoder settings screen.
    This is a very simple project. There is nothing unusual about it that could cause this freakish behavior, except the lighting used at the event was mostly yellow. Apparently it doesn't like something about my footage, but I cannot re-shoot this one-time corporate event! If a reboot didn't fix it, and other projects still work normally, then it's a real head-scratcher. This is new behavior that I've not encountered in 3 years of using CS3.
    I'm out of ideas. If it's XDCam my footage, then I'm dead in the water here!

    FOUND THE PROBLEM!
    I have several timelines in the project, and most of them are titled things like "window dub w/timecode". I found one that was titled "interviews" and tried to render that. The Save dialog appeared, only when I rendered from THAT timeline. So I started to look for differences between the timelines.. then it dawned on me that all the timelines that don't render have the "/" character in the title. Adobe should warn that this character is not allowed, rather than allow it and then behave weirdly. Could have saved me hours of thrashing about!

  • "Save as" dialog -- filename input

    Hello,
    each time if I save an edge animate using the "save as" dialog , the save as dialog opens and I click on another file in order to reuse the file name. The file name is prompted in the save as dialog.
    Now, I like to modify the file name: I click into the file name and enter the first character. Instead of not changing the position, the program is selecting the complete file name and deletes the file name if you continue writing. This is in my opinion an error. The save as dialogs in Photoshop, Illustrator and Dreamweaver (I have not tested other Adobe applications) have the same issue.
    Does anyone has a solution for this? I don't have this issue in MS Office or Visual Studio. Seems to be a problem in Adobe applications only.I have updated to the latest available AI, DW, PS and Animate versions (CC 2014.1 and so on).
    Yours
    Stephan

    Hello,
    it is windows standard feature inside a save as dialog box if the box is opened and if you click on an existing file name, the cursor should be places at the end of the filename which is completeley selected.
    Then, you have the option to jump at the end of the input field and the filename will be automatically unselected. This is different inside Adobe file save as dialoges and does not correspond to Windows standard behaviour.
    I would change it in order to be compliant to the expected standard feature.

  • File-Save As Behaves Badly

    There are really two conditions I can't solve, both related to the File:Save As... menu item in Acrobat Pro v9.1.2...
    I should note that I have Acrobat Pro 9.1.2 installed, and I'm running Safari 4.0.2 (5530.19) on an MBP 2.5GHz C2D with 4GB of RAM. OS X v10.5.7 totally current.
    Condition 1:  When I grab a PDF document from a web page, it opens in it own Safari Window just fine, as expected. I get the Adobe Plug-in Tool Bar as expected. So now I want to File:Save As the downloaded document that I am now looking at in my Safari window
    I select File:Save As... and the expected dialog opens and the document title always defaults to 'downloadDocument' instead of the actual name of the file that I have grabbed, even if the html has passed the true file name to the browser and plug in. This means I have to retype the name of the document before I click OK. What a pain......
    I cannot find a preference or other setting that would be controlling this. I've looked through the Safari Prefs and the Adobe Prefs
    How do I get the default file name in the File:Save As dialog to be the name of the file I have grabbed?
    Condition 2:  Assume I am grabbing a number of PDF documents in sequence this way, and I want to save them all into the same target folder on my local drive or a mounted network share point.  So I grab the first file I want, retype the name of the file because it is now called 'downloadDocument', and then navigate to the desired target location and save the file.
    Now I grab the second through 'n'th PDF document in series, invoke File:Save As... again each time, and have to retype the correct name of the file each time, and then save each one.  you might think that Acrobat Pro would remember the last used target directory and open the File:Save As... dialog at that location on the target drive each time after the first time.  But no, it seems to point where ever it wishes to point.  And I can't find a preference to set.  Can't find any place to tell Acrobat Pro to always default the save to the same place as the preceding file.
    So it is insult upon injury.  Not only do I have to retype the name of every file.  I also have to navigate again to the desired target storage location for each and every file I download.
    This is clearly a pain, not very user friendly or efficient, and very frustrating.
    Can anyone help????
    TIA

    File save as does not work that way for me, something is up. I'd suggest two things to try:
    1) What happens if you try a different user? If this works properly you most likely have some sort of preference file corruption.
    2) Use applejack or onyx to remove your system and/or user cache.

  • After purchasing the Export PDF Online software when I attempt to perform a "File/Save As" when viewing a document on the web it locks up windows explorer.  I receive "FIle Save As - Not Responding"

    After purchasing the Export PDF Online software when I attempt to perform a "File/Save As" when viewing a document on the web it locks up windows explorer.  I receive "FIle Save As - Not Responding"

    I think you may be correct.  It is coincidental with my upgrade to Adobe Reader 11.0.10.
    I have installed IE 11 (11.0.9600.17690)
    It may be an Adobe Reader problem in that the "tools/file save as" dialog is completely empty. No local directories are displayed for saving to.   When I try to Close(X) the "File Save As" box it pops up a message box on top that says "Adobe Reader is not Responding"  It locks up all of my IE windows, not just the one with the PDF doc.
    I need to go go Task Manager and stop the IE task.  All my browser windows are then closed.
    That is the only way to recover from the "Adobe Reader is Not Responding" message.

  • Wish: File::Save As instead of Export

    I wished Apple would improve the usability of the entire iWork'08 suite by elminating the File::Export menu item and instead put a combo box containing all available formats in the File::Save As dialog. File::Export doesn't even have a keyboard shortcut. What do you guys think?
    -tom

    I guess it's just something we'll have to agree to disagree on. I know you like Pages for what it is & don't want/insist that it be Word, but I've seen so many posts where it seems that is what the user wants.
    I've always said it is a good idea to save a document in the native format of the program you're working with & save as/export to the other file type so that if anything goes wrong in the exporting process you have the original to fall back on. There have been a lot of posts recently from those who have had Pages crash or get an error when exporting as Word. If they don't have a saved copy of the document in Pages format, they could be "up a creek without a paddle."

  • How do you customise the finder "save as" dialog box?

    Hi
    I get a lot of email with attachments that I need to work on - word documents and powerpoint slides mainly.
    I am still running Snow Leopard and I think Finder is very frustrating. Has it been improved in this aspect in Mountain Lion?
    Firstly, if I look at the email and click the "save" box next to the attachment, it immediately puts the attachment in the download folder. I dont want that. I want to be given a dialog box giving me options where to save the file in my heirachy of folders that I have set up by client and project. Sending it to the download folder is a naff default, but I cannot find a way to change this default?
    Secondly, if i scroll down to the bottom of the email to see the attached file, and then right click to "save as", I get a dialog that is devoid of all the customisation options I have chosen for the standard finder view. For examply, I cannot get the "path" to be displayed as part of the "save as" dialog box.
    This is all pretty fundamental stuff, and Windows have been able to offer much better customisation and default setting in Windows Explorer for years. WHy is OSX so far behind in this aspect?
    Is Lion better?
    Do I have to fork out an additional $35 for each of my 3 macs to buy "Default Folder" just to get something that should be basic workflow management within the OSX  
    Am I missing something?

    Thanks Jeffry
    Yes I am using the expanded save dialog.
    Thanks for pointing out how to change the default save location away from the downloads folder.
    What I really want, though, is for when I press the "save" button next to an attachment in the email, then I want to be given the choice of where to save it, and easy ways of navigating to my recent folders, favourite folders etc. Each file I save will need to go to a folder dependent upon which client it is, so just saving then all by default into "Documents" for example, means that after saving them, I then need to go and move them to the correct location.
    How to I get to have a choice if where to save whenever I press the SAVE button 

  • Filename in Save As dialog when saving PDF file

    I have a web site serving up PDF files. Without going into details, the URLs of the PDFs are not just your basic URL but look simething like this:
    http://www.domain.com/WorkFlowApp/Clients/demo1/secure/Promo%20Cover%20Cool-MedH i.pdf?userId=55b64ad5-28a2-490e-b3d6-4944099a390f#collab=CollabService@http://ww w.domain.com/ICCollab/IC_Service.asmx?WSDL
    In this case the actual filename is "Promo Cover Cool-MedHi.pdf"
    While viewing in Safari (OS X), if the user saves the PDF to their local machine, the Save As dialog comes up and the filename field is automatically populated. The problem is, instead of using just the filename, the field contains this:
    http---www.domain.com-WorkFlowApp-Clients-demo1-secure-Promo%20Cover%20Cool-MedH i.pdf?userId=55b64ad5-28a2-490e-b3d6-4944099a390f#collab=CollabService@http---ww w.domain.com-ICCollab-IC_Service.asmx?WSDL
    I know when performing the same action on Windows using Internet Explorer, the Save As dialog box filename field is populated correctly with just the filename (although it shows up URL encoded as Promo%20Cover%20Cool-MedHi.pdf, which is OK).
    I'd like to be able to force Safari to use just the filename in the Save As dialog box. Has anyone come accross this problem and figured out a solution?

    Hello Ebnul.nao
    I am having this same problemwith trying to work this out.
    Did you succeed in the end?
    I will really appreciate your help if you did
    Kind regards

  • In javascript how to invoke save as dialog box ,which saves .pdf files only

    Through javascript i generated a save as dialog box. the main problem is , it is only saving .html and .doc files by default. how to restrict it to save only .pdf files.
    the code i used is
    function SaveFile(fname)
    document.execCommand('SaveAs', null, fname)
    <input type="button" value ="save" onclick="SaveFile('');">
    /**********************************************************************/

    this is actually a Java forum its slightly different from javascript
    but try this not sure if it helps
    <input type="button" value ="save" onclick="SaveFile('.pdf');">

  • I get the Save As dialog when trying to Save, whether using Command-S or File menu

    When trying to Save a document, I am presented with the Save As dialog. The file name has a serial number added  to the old file name and the default destination is the Documents file. This happens whether I have tried to save using Command-S or using the Save option in the File menu. This started after I upgraded to Mavericks.

    I checked and the files are not stationery pads, Permissions show me as having read and write authority.
    But, when I  opened the files from the finder, the problem disappears and they saved normally. I then removed the files from the Dock and re-placed them in the Dock via drag and drop. The problem re-appears and changes will not save normally. Not being able to use the Dock is inconvenient but at least there is a workaround. Thanks for your help! Before declaring victory, I'd like to watch it for a while for other quirks.

  • Duplicate File Format options in Save As Dialog

    I am getting duplicate file format options in my save as dialog. I am running photoshop 12.0.1 on mac os x 10.6.4.

    Thanks for the answer, I have the same problem, happened after I uninstalled CS4, (using cs5 now) however I can't seem to find where the duplicates are located. Any tips as to where I should look?
    Thanks in advance!

  • How can I add form field value to the file name in save as dialog box

    I do not want the form to be saved automatically, just want the form to auto populate the "file name" only.
    A little background on the forms I want to use:  My company has 70 retail outlets, I'll use one of our pdf forms called an "Incident Report" as an example.  I would like for a store manager to be able to complete the form, then email the form to the main office (I already have javascript to add field values and form name to the email subject line), once the main office receives it, I want for them to be able to file the pdf electronically on our server.  We have mutliple forms that we use so I do not want any of the forms to automatically save anywhere, (at this time anyway) I just want the office personnel to be able to click "save as" (or whatever they will need to click) and the form automatically add certain field values from the pdf they have received, of which will be different each time the form is sent to the office (Date, store #, employee name etc.) in addition to the name of the form in the "File name" of the "Save As" dialog box.  The main office employees will decide into which server file the pdf should be saved.
    I'm using Acrobat 8 professional, the stores and office personnel use Adobe reader.
    One little note:  We currently print and file a lot of paper on a daily bases, as soon as I can get this to work, we are going green.
    Me and a lot of trees in this will really apprecitate any help you can give with this!  :-)

    You might want to take a look at the document "Developing Acrobat Applications Using JavaScript" (js_developer_guide.pdf) which is part of the Adobe Acrobat SDK, which can be downloaded here. Read the "Privileged versus non-privileged context" (p. 45ff.). You will find an example for "Executing privileged methods in a non-privileged context". Should be almost exactly what you are looking for.
    Small Outline: For security reasons ("the user always has to know what's going on") you are not allowed to use the "Doc.saveAs"-method without the user permission (--> in a non-privileged context). In order to reach the goal of a privileged context you can use a trusted function. You do this by creating a JavaScript file (*.js) in either the Application-JavaScript-Folder (default location on Windows systems: "%ProgramFiles%\Adobe\Acrobat 10.0\Acrobat\Javascripts") or the User-JavaScript-Folder (default location on Windows systems: "%AppData%\Adobe\Acrobat\10.0\JavaScripts"). Add the following content to the new file:
    myTrustedBrowseForDoc = app.trustedFunction( function ( oArgs ) {
         app.beginPriv();
              var myTrustedRetn = app.browseForDoc( oArgs );
         app.endPriv();
         return myTrustedRetn;
    myTrustedSaveAs = app.trustedFunction( function ( doc, oArgs ) {
         app.beginPriv();
              var myTrustedRetn = doc.saveAs( oArgs );
         app.endPriv();
         return myTrustedRetn;
    The developer guide actually wants you to add this content to the existing "config.js" file. I recommend creating a new file, since its easier to deploy in a network. Either way, every client/user who needs to be able to save documents this way, needs this JavaScript Code in his Application/User-JavaScript-Folder.
    Within the Acrobat Document, which you want to obtain a certain file name, you can now use the trusted functions "myTrustedBrowseForDoc" and "myTrustedSaveAs" to store the file. To call the trusted functions and deliver the file name you can either you use a form field (button) or you add a new menu item. Add the following JavaScript Action to the button/menu item and change "Roller Coaster" to the name of the field which contains the value which you want to become the new file name:
    var fileName = this.getField("Roller Coaster").valueAsString;
    try {
         var oRetn = myTrustedBrowseForDoc({bSave: true, cFilenameInit: fileName + ".pdf"});
         try {
              myTrustedSaveAs(this, { cPath: oRetn.cPath, cFS:oRetn.cFS });
         catch(e) {
              console.println("Save not allowed, perhaps readonly.");
    catch(e) {
    console.println("User cancelled Save As dialog box");
    Good Luck!

  • Nowhere to type file name in save as dialog, is this normal . . .

    Hello;
    here's the problem;
    I'm having some problems with my main worksation and I'm going to probably rebuild it from scratch
    (HDD problem & an AVG Baked registry & network stack)
    so I've started by installing AA 2.0 (Full) onto one of  my backup systems
    & will follow with AA3.0 (Upgrade) if I can verify that the system can do the job for me
    here's the problem;
    I installed AA2.0 which is needed to get AA3.0(upgrade) to install
    but I haven't activated or registered yet because I don't want to waste any activations
    if I can't use the system
    is it normal for the save as dialog to not have a place to type a file name when AA isn't activated?
    System:
    HP/Compaq DC7600
    P4HT enabled 3.2GHz
    2GB DDR2 533MHz RAM
    Lots of HDD Space on 5 HDDs
    sidebar:
    why is my insertion point moved all over the page while I type this in firefox?

    thanks for the reply:
    don't know if this some sort of a display redraw issue:
    but if I just hit enter I get the file saved as untitled.wav (which is floating in the middle of the screen not in the correct location)
    and the file ends up in "My Music Folder" (which I never use, but can't change folders either)
    -good grief I hate M$ for their My . . . crap folders
    the system is using similar Intel-GMA integrated graphics as my main workstation
    the only difference is processors and the chipset is one generation back
    my main workstation has 965ry and the backup has 945g

  • Selecting existing file in "Save as" dialog isn't adding the extension

    I just bought a new Mac with Snow Leopard to replace my Leopard Mac and have noticed an annoying difference with the "Save As" dialog boxes in every application. In Leopard, I used to be able to select an existing file to overwrite that file. In Snow Leopard, it's letting me select an existing file, but the extension is not being added to the file name, so it's creating a new file with the same name but without the extension. I also don't have the "Hide Extension" checkbox that used to be in Leopard. I have spent all evening looking for this but haven't been able to find anything, which implies to me that I must have some setting wrong or something (or I'm just not searching the right terms, it's hard to know what to search for); anyway, does anyone know what I need to do to change this to act the way I expect it to? Thanks -

    jscher:
    Thanks. The /tmp and home directories are on the same partition as the main operating system. The Downloads directory is actually set up as a sub-directory of the home one but is a symbolic link to a NAS drive. It works fine for other MIME types. It is just when web sites use the application/octet-stream MIME type that I get this problem.
    I checked the permissions and the /tmp and Downloads directories have full read write permissions for everyone. The home directory is the one with the restriction that only I can write to it.
    So, I don't expect that sheds any light on the problem.
    cor-el:
    Thanks. I meant to say in my first post (but pressed the button before it got in) that I actually created a completely new Firefox profile and the problem is still there. Sorry, I should have included that.
    The only difference with the fresh profile is that the "open in default application" isn't available, presumably because no default application has been assigned. The "save as" behaviour is still the same.
    So, if the problem exists in a pristine profile, it looks like there is something deeper wrong.

Maybe you are looking for

  • Error in net price calculation In PO

    Dear all, I created a new pricing procedure where i am getting an error message in PO i.e. "Error in net price calculation, item 000010". Message no. 06213 Please advise me how to overcome the error. Thanks Prasant

  • How to implement this Planning sequence ?

    Hello guys, I have a requirement something like this. A = B * C / D where A = a KF from InfoProvider IC1 B = a KF from Infoprovider IC2 C = a KFfrom  inforprovider IC3 D = a KF from infoprovider IC4         this is how i am planning to do it. 1. crea

  • I can't mount pendrive's

    Hi, i used to mount a pendrive with this line in /etc/fstab /dev/sda  /mnt/pendrive vfat rw,user,noauto,umask=000 0 0 and no problem, but since an upgrade of udev (I guess), /dev/sda it doesn't exists anymore! (meshuggin:~$) ls /dev adsp hda5 nvidia0

  • FP9 won't install after uninstall

    I'm using swfobject and expressinstall to load a Flash8 movie. I have expressinstall working in Firefox, but not in IE7. The Adobe autoupdater loads the update files but Flash Player can't be found. Here's my HTML: <div id="fcmain"> <div id="fctext">

  • TYPO in the required field error message???

    This is by far the weirdest thing I've ever seen.  I created a form for a client with required fields.  When I test it on my mac, I get the appropriate error message. When he tests it on Windows, there is a glaring TYPO in the message: "required fiel