Open a file using the dialog windows

I would like a user to click a link and they get the windows dialog box that asks if they want to save the document or open it. How can I accomplish this?

Sometimes changing the type mime in the cfheader and cfcontent to
help application/octet-stream or application/x-force-download...
and try replacing 'attachment' instead of 'inline' content-disposition
--

Azadi Saryev
SABAI - Dee.com
http://www.SABAI-Dee.com

Tags: ColdFusion

Similar Questions

  • When I try to open a file in the same window instead it opens in another window

    original title: the behavior of the windows

    so my office is weird, as if you try to open a file in the same window instead it open in another window, etc. and the parameters are not to do, and I can not copy, paste, or drag-and - unless u open the file that you are trying to paste in... I mean that it shows that u copied or cut the file but it does not allow you to the paste it where you want it to... help?

    http://support.Microsoft.com/kb/813711

    I found the solution to a lot of the post regarding the behavior of the window as in not displaying thumbnails do not, or only display as icons. u could not drag-and - drop a file in a folder, the only way possible to copy and paste in the opened folder u he wanted.   When in an open folder u wanted to open another folder in the same window, that he would open the clicked folder u on in another window... Yes I think the setting may have changed with the installation of another program or uninstall. Ive search searched n not thanks to technicians to norton and Microsoft to answer the caz forums of course they know not what theyre doing... but in any case, I saw in another question, someone asked on thumbnails disappear n someone sent them the link to a microsoft support page click on the fix it , and it fixes everything that was to play place configurations... I'm really tired of people who say "oh come on in your folder options and check the personalization", how much this race was frustrating... Well hope it works... for future people and those that have not been answered... and im running vista...
  • Opening a file using the Webutil_Host.Host command

    Dear gurus
    I am opening a file using command behind a button on my next form:

    Webutil_Host.host('x:\03\03\39920000023.gif');

    I was waiting for this command to open the file given in default, gif image viewer, but it does nothing when I press the button. So should I try something else?

    Try this

    Order Webutil_host

  • How to open .tif files using the Windows fax and picture viewer

    I have the file open options set to use the viewer photo and fax Windows, however, it is always opens the .tif file in a window of IE. In reading the other posts regarding this problem, I think it may be a number of MIME, but nobody published how to fix this. Can someone send please how to change the MIME type so I can open the files in the right way. I REALLY appreciate it.

    Windows XP SP3 with all updates and IE8.
    Thanks in advance,
    Eric
     
    Original title: how IE8 to open a .tif file by using the Windows fax and picture viewer?

    Hello

    I suggest that allows you to remove any CLSIDS listed under location:

    HKEY_CLASSES_ROOT Type\image/tiff
     

    Note: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    322756 (http://support.microsoft.com/kb/322756/ )

    How to back up and restore the registry in Windows.

    I hope this helps.

  • Message box color settings disabled when you use the dialog "Windows color and appearance".

    When you use the configuration dialog box 'Window color and appearance', why are there color settings invalid?  I want to remove the default 'Pastel Pink' value that I find unacceptable.

    I can switch to "Classic Windows" that uses no pastel pink color, but "Classic Windows" does not support "Aero Peek", and the windows look pretty tired.  You can only take "Classic Windows" for many years.

    Color settings are disabled for: buttons, Message box, title of Palette, scroll bar.

    Help, please!

    Me too I'm frustrated by that.   Found the old windows with very honest XP environment.   I used the advanced settings, but has not found a way to save the changes with a label, so I knew that the changes you made.   It is just Frigging trial and error and very frustrating.

    Why are there no way to return either to the default value (not found a default label) or save the settings changed under a name?    It is a productivity KILLER.

    Hello

    Interface user of Windows 7 is theme based. The colors are defined by the theme.

    You still have many color options that can be used to change the colors.

    Right click on the desktop and select Personalize. Click on the color of the window at the bottom of the window box.

    You can select one of the colors in the boxes colored at the top.

    Adjust the intensity of the color with the cursor.

    Click on the color down mixer and you can a lot of variations on all the different color choices.

    I hope this helps.

    Thank you for using Windows 7

    Ronnie Vernon MVP
  • Opening files using the InCopy layout

    How configure you a default to open all files using the InCopy layout? (CS5)

    Without any document open, go to the 'View' menu and select the Mode of disposal. On all of the files will be open in the corresponding mode.

  • Open a url in the same window

    I have a flash banner that is on the top of each page of this site and I want the banner to go to the home page every time on it. but I do not know the script to the button open the url in the same window. I know how pop up windows, but do not open html files in the same window. If anyone can help, that would be great. Thank you.

    :

  • Failed to open all files with the extension .exe in Vista Business SP2. Dialog box appears and asks which program to use. Seems to have lost the info file assoc after virus removal.

    Failed to open all files with the extension .exe in Vista Business SP2.  Dialog box appears and asks which program to use.  Seems to have lost the info file assoc after virus removal.  Any suggestions?

    Hello

    Try the methods provided below and check if the problem persists.

    Method 1:

    Try the fix it or follow the manual for troubleshooting to solve the problem.

    When you run an .exe on a Windows XP, Windows Vista or Windows 7 computer file, the file can start another program

    http://support.Microsoft.com/kb/950505

    Note:

    The link above contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    How to back up and restore the registry in Windows

    http://support.Microsoft.com/kb/322756

    Method 2:

    Download and run Microsoft Safety Scanner and check if the problem is caused by a Virus/Malware.

    Microsoft safety scanner

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

  • Whenever I go to open a file PDL the windows media center opens.

    Whenever I go to open a file PDL the windows media center opens.  I downloaded 9 remains, but I can't always open the PDL files.  Windows Media Center keeps opening.  What is the way?  Can I disable the Media center?  Help!

    Whenever I go to open a file PDL the windows media center opens.  I downloaded 9 remains, but I can't always open the PDL files.  Windows Media Center keeps opening.  What is the way?  Can I disable the Media center?  Help!

    You mean PDF not PDL. (I presume).
    Save a PDF to your HARD drive, make a click right, choose 'Open with', choose "choose default program", choose Acrobat, and then at the bottom of the dialog box, click "always use the selected program to open...". "and then click OK.
    See if that helps... If you find my answer helpful, please click the button "Vote as helpful"! Thank you! My Blog

  • How to open the pdf file using the LabVIEW program

    I want to open the pdf file using the system exe, but this isn't the case. Can you help me?

    Thanks for your help.

  • How to open a file with the extension .odg using Vista?

    How to open a file with the extension .odg using Vista?

    Hi Defiant503,

    Thank you for visiting the forums of answers.microsoft.com.

    I did some research and a file ending with .odg is an OpenDocument Document OpenOffice/StarOffice (Ver 2) of graphics by Sun Microsystems, Inc.    This means that in order to open this file, you will need this program to open it.  You will not be able to open this file with Vista.

    I hope this information helps.

    Kavita M
    Microsoft Answers Support Engineer
    Visit the Microsoft Answers Feedback Forum site
    and let us know what you think.

  • Problem with the transfer of files from the computer Windows XP to Windows 7 using Windows Easy Transfer.

    Original title: Put WET on the old computer

    When I try to use WET to transfer from old Win XP Win 7 again, I need trasfer WET to the old computer.  So I choose this option and move on to the part where it says "Select the USB flash drive where you want to save WET".  Well, in the window is the word "computer" I can't click on it, nor is the OK button light up.  What's wrong?

    Hello

    Thanks for posting in Microsoft Community!

    It seems that you have a problem with the transfer of files from the computer Windows XP to Windows 7 using Windows Easy Transfer.

    I imagine the inconvenience that you are experiencing. We are here to help and guide you in the right direction.

    I suggest you try the procedure described in the link and check if it helps.

    Transferring files and settings: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows7/transferring-files-and-settings-frequently-asked-questions

    For more information, please see the links.

    Transfer files and settings from another computer
    http://Windows.Microsoft.com/en-in/Windows7/transfer-files-and-settings-from-another-computer

    Windows Easy transfer

    http://Windows.Microsoft.com/en-in/Windows7/transfer-files-and-settings-from-another-computer

    Get back to us and let us know the State of the question, I'll be happy to help you. We, at tender Microsoft to excellence.

  • programmatically launch a file with the default windows application

    I thought it would be a trivial task, but I can't seem to be able to find something about it.  I would like to be able to open any file in the native application - as if the user has double-clicked on it.  Any suggestions?

    Joined a VI I use that does what you want.  If the given path is a folder, then it opens a file Explorer window in this folder.  If the path is a file, then it opens the file, as if the user double clicked on it.  She uses the mentioned command-line function previously.

  • I can't get email responded and open a file of the adobe reader software because it says it's corrupt.

    Original title: I can't open a file of the adobe reader software because it says it's corrupt can help you April

    I can't get email answered because he has been blocked for some reason any

    and I can not open a file with adobe reader, because sometimes corrupt
    can you help me
    April

    Hello

    Question by E-mail:

    1. What is the full error message when you try to open the emails?

    2. using a webmail or an email client?

    3. when a webmail, what webmail?

    4. If an e-mail client which e-mail client?

    Response to help you further.

    Problem with Adobe Reader:

    1 does happen with a file in particular?

    2. If it works well before?

    3 did you changes to the computer before the show?

    Uninstall and reinstall Adobe Reader.

    Step 1: UN-install Adobe Reader.

    Reference:

    Uninstall or change a program: http://windows.microsoft.com/en-US/windows-vista/Uninstall-or-change-a-program

    Step 2: Re-install Adobe Reader.

    Download and install the latest player here Adobe: http://get.adobe.com/reader/

  • Windows Vista won't allow me to open my files in its own window

    I can't get Windows Vista change to allow me to open my files in their own windows. I was not able to do this since I bought this computer a few months ago. I thought I did something wrong, but I follow the directions to the T and it continues to open only the folders in the same window.  Y at - it something I'm doing wrong? I follow the directions for help and check open in its own window and yet it acts as if I do not change it... I apply and ok and press to apply to all the files and still nothing.

    I don't know what are the instructions you followed, so here is a series of instructions on opening the windows, including how open each instance in its separate window: http://www.vistax64.com/tutorials/91587-open-folder-same-separate-new-window.html.  Read full article and follow ALL these instructions (there are parts you include in your post that are important to make it work - but then again you probably do not understand everything).

    In the meantime, to open a specific folder in a new window, you can right click on the file and click on open rather than explore.  This will open the folder in a new window.  It's an extra step, but it is a workaround until you find the answer (if the above did not answer it).

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

Maybe you are looking for

  • Rejection of palm pro iPad does not

    I use the iota dashboard but does not work the rejection of palm and practically impossible to use the ipad for hand writing. Everything was good on the old ipad. With the Apple pencile everything is good Help, please

  • Low ratings appearing does not in iTunes

    I used iTunes for many years and even started posting comments from music, I bought or heard on iTunes.  But recently, I took a peek at the video for the song First Day of My Life.  He showed 46 sides with both sides of a star.  I always look at the

  • How to change the color of the text only Boolean button cluster

    Hi you I try to change the text color of the Boolean button programmatically to custer. not that paticular button click right property node method bcaz of I batch button in cluster.here I have attached my sample program it will change some text color

  • A99 magnifying glass

    Anyone has any suggestions on a good magnifying glass to the A99 motorway? Thank you Kirk

  • the UPS service is currently stopped

    Is my battery UPS?