Answered by:
Change Download Directory in code

Question
-
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
- Moved by Esther FanMicrosoft employee Wednesday, January 28, 2015 5:23 PM
- Moved by Jack Zhai-MSFTMicrosoft contingent staff Tuesday, February 3, 2015 2:39 AM Not the VS General issue.
Sunday, January 25, 2015 11:38 PM
Answers
-
Hi Charlie,
>>Is there a way to set the download directory in visual basic?
How about using the "DownloadFile" method?
Reference:
https://msdn.microsoft.com/en-us/library/1say4ws7.aspx
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:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral
Best Regards,
Jack
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.- Proposed as answer by Just Karl Tuesday, February 3, 2015 2:58 PM
- Marked as answer by Dave PatrickMVP Saturday, February 7, 2015 12:18 AM
Thursday, January 29, 2015 1:34 AM
All replies
-
Hi Charlie,
>>Is there a way to set the download directory in visual basic?
How about using the "DownloadFile" method?
Reference:
https://msdn.microsoft.com/en-us/library/1say4ws7.aspx
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:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral
Best Regards,
Jack
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.- Proposed as answer by Just Karl Tuesday, February 3, 2015 2:58 PM
- Marked as answer by Dave PatrickMVP Saturday, February 7, 2015 12:18 AM
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.
jdweng
Thursday, January 29, 2015 2:35 AM