如何在vb.net中为您的浏览器应用程序创建错误页面? [英] How to make a error page for your browser app in vb.net?
问题描述
有人知道如何制作错误加载页面吗?如果您不完全理解我的意思,请打开firefox或您拥有的任何网络浏览器并编写诸如askasdmasdmq.com之类的内容,这可能会在您打开错误页面Firefox:
找不到服务器
Firefox在www.asopmdaskld.com上找不到服务器.
*检查地址是否有键入错误,例如
ww.example.com,而不是
www.example.com
*如果无法加载任何页面,请检查计算机的网络
连接.
*如果您的计算机或网络受到防火墙或代理的保护,请确保
允许Firefox访问Web.
我在adobe dw中制作了一个错误页面,如果站点写错,站点不存在或存在错误,我真的需要知道使我的错误页面出现的代码.
如果可以在vb.net中实现,请帮助我.
Does anyone know how to make a error loading page, If you do not perfectly understand what I mean, open up firefox or any web browser that you have and write like askasdmasdmq.com and it will probable bring up a error page on firefox:
Server not found
Firefox can''t find the server at www.asopmdaskld.com.
* Check the address for typing errors such as
ww.example.com instead of
www.example.com
* If you are unable to load any pages, check your computer''s network
connection.
* If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.
I have made a error page in adobe dw and I really need to know the codes for making the my error page come up if the site is wrong written, site doesnt exists or w-e.
If this is possible in vb.net please, please I beg you help me out.
推荐答案
这是不可能的.您无法在浏览器外部编写更改浏览器行为的代码.浏览器插件可以做到这一点,但是人们为什么要安装它?
It''s not possible. You can''t write code outside the browser that changes how the browser acts. A browser add in may do this, but why would people want to install it ?
这篇关于如何在vb.net中为您的浏览器应用程序创建错误页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!