使用发布方法从VB.Net打开网页 [英] Opening webpage from VB.Net using post method

查看:266
本文介绍了使用发布方法从VB.Net打开网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想使用process.start("www.url.com")从vb.net在浏览器中打开一个url,我需要使用post方法传递一些值.如果get方法意味着我将传递诸如process.start("www.url.com?value=xxxx")之类的值,这是怎么可能的.如何在post方法中做到这一点,
请帮助我

Hi,
i m trying to open a url in browser from vb.net using process.start("www.url.com"), i need to pass some value using post method. how it is possible, if get method means i will pass the value like process.start("www.url.com?value=xxxx"). How to do this in post method,
Please help me

推荐答案

您不能.您没有发布信息,甚至没有与浏览器进行交互.您正在告诉Windows启动URL.您不能在其中嵌入帖子数据,您所能做的就是像往常一样将内容放入查询字符串中.
You can''t. You''re not doing a post, you''re not even interacting with the browser. You''re telling windows to launch a URL. You can''t embed post data in that, all you can do is put stuff in the query string, as you have.


这篇关于使用发布方法从VB.Net打开网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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