Click here to Skip to main content
15,924,039 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: console application in VB dot net Pin
Mycroft Holmes19-Oct-09 14:52
professionalMycroft Holmes19-Oct-09 14:52 
GeneralRe: console application in VB dot net Pin
Luc Pattyn19-Oct-09 15:18
sitebuilderLuc Pattyn19-Oct-09 15:18 
QuestionGPRS MMS Pin
ericyeoh18-Oct-09 22:32
ericyeoh18-Oct-09 22:32 
AnswerRe: GPRS MMS Pin
Christian Graus18-Oct-09 22:35
protectorChristian Graus18-Oct-09 22:35 
Question[Message Deleted] Pin
quadrilateral18-Oct-09 21:34
quadrilateral18-Oct-09 21:34 
AnswerRe: Speech in VB Pin
Christian Graus18-Oct-09 21:50
protectorChristian Graus18-Oct-09 21:50 
GeneralRe: Speech in VB Pin
quadrilateral19-Oct-09 17:21
quadrilateral19-Oct-09 17:21 
QuestionHow to retrieve parameters by using HTTP headers in vb.net Pin
arabicwind18-Oct-09 20:09
arabicwind18-Oct-09 20:09 
hi guys

Does anyone know how to retrieve input parameters for a website by using HTTP headers request. I mean what is the code for shown them on a textbox. I have done most of the work for sending requests and getting responses and they work very well except finding the parameters in the content. I recently use Live HTTP headers of Firefox components to get parameters but i don't want to use it any more and code my program to find them. An example, by using Live HTTP headers on google's mail , it retrieves this:

<< HTTP Header>>
POST https://www.google.com/accounts/ServiceLoginAuth?service=mail
Host: www.google.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: https://www.google.com/accounts/ServiceLogin?service=mail&passive=true&rm=false&continue=http%3A%2F%2Fmail.google.com%2Fmail%2F%3Fhl%3Den%26tab%3Dwm%26ui%3Dhtml%26zy%3Dl&bsv=zpwhtygjntrz&scc=1&ltmpl=default&ltmplcache=2&hl=en
Cookie: __utma=173272373.733204749.1223816195.1241322770.1242545301.30; __utmz=173272373.1242545301.30.18.utmccn=(referral)|utmcsr=google.co.nz|utmcct=/|utmcmd=referral; __utma=173272373.733204749.1223816195.1242545301.1255931779.31; __utmz=173272373.1255931779.30.19.utmccn=(referral)|utmcsr=google.co.nz|utmcct=/|utmcmd=referral; __utmc=173272373; GoogleAccountsLocale_session=en; __utmb=173272373; __utma=173272373.733204749.1223816195.1226208114.1227589760.4; GALX=Vq-AnFUU0sE; NID=27=JkcszjpiZcgyP2eZyPvBC5FDlr5ajSyuLl0Xryh_BmZj7nOk3du9zPjp1TPd3jSstVuloQgnbjW7PFJNPtZcM6lrPCDkuGtG--XoVNkneoXnlrkO2loAVCUnOZuNiBv_; PREF=ID=ec0ae488fdcda892:U=77ac6790d8075e61:TM=1237745195:LM=1241223529:GM=1:S=QDdvadqlCz1Tnwy0; rememberme=true; PREF=ID=455fdbe7518f0fd9:TM=1243238393:LM=1243423899:GM=1:S=PY4bydI3x1zVTkG1; GMAIL_RTT=794; TZ=-780; GMAIL_LOGIN=T1255931777004/1255931777004/1255931797099
Content-Type: application/x-www-form-urlencoded
Content-Length: 241

And the content is :

ltmpl=default&ltmplcache=2&continue=http%3A%2F%2Fmail.google.com%2Fmail%2F%3Fhl%3Den%26tab%3Dwm&service=mail&rm=false&ltmpl=default&hl=en&ltmpl=default&scc=1&GALX=Vq-AnFUU0sE&Email=&Passwd=&PersistentCookie=yes&rmShown=1&signIn=Sign+in&asts=


how does it work to get the above content and how i can code my program to show them? OMG | :OMG:
QuestionListview display problem Pin
Gagan.2018-Oct-09 18:11
Gagan.2018-Oct-09 18:11 
AnswerRe: Listview display problem Pin
Christian Graus18-Oct-09 21:55
protectorChristian Graus18-Oct-09 21:55 
QuestionSerial Code - continued Pin
offroaderdan18-Oct-09 3:11
offroaderdan18-Oct-09 3:11 
AnswerRe: Serial Code - continued Pin
Christian Graus18-Oct-09 14:43
protectorChristian Graus18-Oct-09 14:43 
GeneralRe: Serial Code - continued Pin
Luc Pattyn18-Oct-09 14:51
sitebuilderLuc Pattyn18-Oct-09 14:51 
GeneralRe: Serial Code - continued Pin
Christian Graus18-Oct-09 14:56
protectorChristian Graus18-Oct-09 14:56 
GeneralRe: Serial Code - continued Pin
Enver Maroshi18-Oct-09 23:51
Enver Maroshi18-Oct-09 23:51 
GeneralRe: Serial Code - continued Pin
offroaderdan19-Oct-09 0:26
offroaderdan19-Oct-09 0:26 
Questionsend email from excel through outlook web access Pin
jetgrageda18-Oct-09 1:00
jetgrageda18-Oct-09 1:00 
AnswerRe: send email from excel through outlook web access Pin
Dave Kreskowiak18-Oct-09 2:24
mveDave Kreskowiak18-Oct-09 2:24 
QuestionCheckBox column in DataGridView Pin
ivo7518-Oct-09 0:57
ivo7518-Oct-09 0:57 
AnswerRe: CheckBox column in DataGridView Pin
dan!sh 18-Oct-09 1:00
professional dan!sh 18-Oct-09 1:00 
GeneralRe: CheckBox column in DataGridView Pin
ivo7518-Oct-09 1:53
ivo7518-Oct-09 1:53 
GeneralRe: CheckBox column in DataGridView Pin
dan!sh 18-Oct-09 11:29
professional dan!sh 18-Oct-09 11:29 
GeneralRe: CheckBox column in DataGridView Pin
Dambod18-Oct-09 19:53
Dambod18-Oct-09 19:53 
QuestionAdding events to line (shape) Pin
helelark12317-Oct-09 23:26
helelark12317-Oct-09 23:26 
AnswerRe: Adding events to line (shape) Pin
dan!sh 18-Oct-09 0:55
professional dan!sh 18-Oct-09 0:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.