Change Download Directory in code


  • I have  a program that depend on a download file in c:\users\public\transplant directory, Is there a way to set the download directory in visual basic?

    I am using VS 2013 professional and use windows 7 and windows 8.1.

    Thank you

    Charlie Soroka

    Sunday, January 25, 2015 11:38 PM


All replies

  • Hi Charlie,

    >>Is there a way to set the download directory in visual basic?

    How about using the "DownloadFile" method?


    In addition, you know that this forum is to discuss the VS IDE, since it is related to the VB language development, maybe you could get more useful information from the VB forum:

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, January 29, 2015 1:34 AM
  • Are you using a form or a console project.  You can use a Folder Dialog to browse for the folder.  The process is a little different depending the type of project you are using. 


    Thursday, January 29, 2015 2:35 AM