Results 1 to 2 of 2

Thread: How to display "File download" dialog box in VC++ ?

  1. #1
    Join Date
    Nov 2010
    Posts
    4

    question How to display "File download" dialog box in VC++ ?

    Hello Everyone,

    I want to download CSV file from Internet with prompt of "File download" dialogue box.
    I have to do it using VC++.

    Please let me know, Is there any API which supports the File download ?

    Thanks.

  2. #2
    Join Date
    Dec 2007
    Posts
    1,736

    Re: How to display "File download" dialog box in VC++ ?

    You can try using OpenFileDialog component to open a file as a stream. Display the Open File dialog box and call a method to open the file selected by the user. One approach is to use the ShowDialog method to display the Open File dialog box, and use an instance of the StreamReader class to open the file. Refer here for more information : http://msdn.microsoft.com/en-us/libr...92(VS.71).aspx

Similar Threads

  1. Replies: 5
    Last Post: 21-03-2012, 10:54 PM
  2. Replies: 5
    Last Post: 25-12-2010, 06:12 PM
  3. Replies: 4
    Last Post: 26-06-2010, 04:36 PM
  4. "Open", "Save" or "Save As" dialog box default settings
    By Damien25 in forum Windows XP Support
    Replies: 6
    Last Post: 04-09-2008, 02:41 PM
  5. Replies: 1
    Last Post: 06-11-2007, 02:18 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,294,011.92806 seconds with 17 queries