开发者

how to connect form to web page (Sockets )

开发者 https://www.devze.com 2023-02-05 09:36 出处:网络
I am开发者_如何学Python new to vb.net (2010) and am working on a project that has to send information from a client application form to a php-based web page.How could I accomplish that?

I am开发者_如何学Python new to vb.net (2010) and am working on a project that has to send information from a client application form to a php-based web page. How could I accomplish that?

Would System.Net.Sockets work in my case? Could you show me an example?


Yes, you can use sockets. The easiest way is to use HttpWebRequest to send data to web page, and HttpWebResponse to get the answer.

Look here for example: http://www.vbdotnetheaven.com/Uploadfile/mahesh/DownloadWebPage04252005073432AM/DownloadWebPage.aspx

Or search on Google for HttpWebRequest HttpWebResponse VB.

0

精彩评论

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