You are here: Re: PHP & VB - Send / Recieve Via Web « All PHP « IT news, forums, messages
Re: PHP & VB - Send / Recieve Via Web

Posted by  on 08/17/05 20:36

| 3. Do something like this in VB (copied almost verbatim from
| "VB.NET Programmer's Cookbook" by Matthew MacDonald):
|
| Dim URL As Sting = "your_URL";
| Dim Req As HttpWebRequest = _
| CType(WebRequest.Create(URL), HttpWebRequest)
| Dim Resp As WebResponse = Req.GetResponse()
| Dim R As New StreamReader(Resp.GetResponseStream())
| Dim Page As String = R.ReadToEnd()
| R.Close()

what's worse than a beggar too lazy to do just a *little* work for his food?
the one who feeds him. nc, you just fed his laziness not is hunger; not even
mentioning your encouragement of his posting a vb question in a php ng!

anyway, i suppose it is safe to say that said noob programmer is using vb <=
6 since he assumes the use of ie to accomplish his task...and, unless you
spelled out this vb.net code *in its entirety*, i doubt he could wrap his
mind around the differences between the two versions...of course, if you did
give him the complete source he'd not have to wrap his mind around
anything...which seems to be his preference in the first place.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация