下载管理器vb 2010 [英] download manager vb 2010
本文介绍了下载管理器vb 2010的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在构建自己的Web浏览器,并希望添加下载管理器.
如果我在文本框中键入文件位置,则能够构建一个可以下载文件的文件.
我要弄清楚的是,当我单击网页上的下载链接时如何打开下载管理器.
I''m building my own web browser and want to add a download manager.
I have been able to build one that will download a file if I type the file location into a text box.
What I''m trying to figure out is how to have the download manager open when I click on a download link on a web page.
How to make the download manager know it is a link to a downloadable file as opposed to something like a link to another webpage?
推荐答案
I''m构建自己的Web浏览器,并希望添加下载管理器.
那是一项艰巨的任务,您为什么要这样做? :cool:
我的猜测是,网络浏览器会显示您正在打开哪种文件. ->如果该文件是Webbrowser可以渲染的文件,(或如果它具有可以渲染它的插件.)它将尝试渲染它,否则默认为downloadmanager.
I''m building my own web browser and want to add a download manager.
That is quite a task, why whould you want to do that? :cool:
My guess is that the webbrowser looks att what kind of file you are opening. --> If it''s a file the webbrowser can render, (or if it has a plug in that can render it.) it tries to render it, otherwise it defaults to the downloadmanager.
I "将其构建为一个学习项目.我只是在学习为娱乐而编程,而不是工作或商务.为了学习并保持我的兴趣,我需要一个项目进行研究.而且由于我不喜欢当今浏览器的布局和功能,我认为自己会按自己的喜好构建一个.
I''m building it as a learning project. I''m just learning to program for fun, not work or business. And in order to learn and keep my interest, I need a project to work on. And since I don''t like the layout and functionality of today''s browsers, I thought I''d build one to my liking.
这篇关于下载管理器vb 2010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文