webbrowser功能 [英] webbrowser functionality

查看:96
本文介绍了webbrowser功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好


我的问题是我想在表单上使用Web浏览器功能。


用户输入网址一个文本字段和提交时,使用webbrowser.navigate(url),url会在表单上打开。


我想知道是否可以打开网址我的默认网络浏览器?


 


谢谢

解决方案

Hi Novic123


Process.Start(" www.microsoft.com " )


将使用您的默认webbrowser打开微软网页


进一步研究请查看以下链接


流程类

http://msdn.microsoft。 COM / EN-US /库/ system.diagnostics.process.aspx


hello

my problem is that I want to use the Webbrowser functionality on a form.

The user enters the url in a text field and on submission, with the webbrowser.navigate(url), the url opens on a form itself.

i would like to know if it is possible to make the url open on my default web browser?

 

thanks

解决方案

Hi Novic123

Process.Start("www.microsoft.com")

will open the microsoft webpage with your default webbrowser

for further study please kindly check the following link

Process Class
http://msdn.microsoft.com/en-us/library/system.diagnostics.process.aspx


这篇关于webbrowser功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆