开发者

download a file to project resources

i use Visua开发者_开发百科l Basic 2008. hello is it possible to download a file directly to project resources, or to import file to resources on running vb 2008 application.

for example

i have : www.example.com/file.ext

and i want to download it, but not to C:\ or C:\ drives, but to My.Resources.file... is it possible?

thank you


This isn’t possible. Resources in your program are fixed: once your program is running, it cannot modify its resources.

Apart from that you can use the WebClient.DownloadData method to download data into a variable without saving it to disc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜