how to get the asp or html page's textbox string in vb

hi i've a web page running on the web where a text box is given the problem is to get that i want to retrive it in vb
how can i parse the html source in the MSHTML.HTMLDocument to get the description text (not links)

plz help
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Place the textbox in a form and post it to an ASP. For example:

Create 2 files, 1.html and 2.asp

1.html looks like this:

    <form method='post' action='2.asp'?
      <input name='textbox' id='textbox'></input>
      <input type=submit value='submit'></input>

2.asp looks like this:


Dim strText

strText = Request.Form("textbox")
' add some VB here to manipulate strText

Response.Write "strText is " & strText


Hope it helps

araeesAuthor Commented:
sorry bukko!!!
what i mean is that if i had a web page running either asp or html and page got a textbox where user can input any text
what i want is that i want to retrive the text in my vb program

Ah - gotcha!

So, where will the VB be running? On the same machine as the browser?

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

araeesAuthor Commented:
vb is running on the web server and as far is browser is conserned its internet

Then the only way to get data from the browser to the server is to send it via http.
If you don't want to use an ASP, you can always write your own web-type service in VB, but I don't see the point.
Why not just post it as in my first suggestion?

Is the web page pre-defined or can you define it as you want?


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Hi araees,
This old question (QID 20555389) needs to be finalized -- accept an answer, split points, or get a refund.  Please see for information and options.
This question has been classified as abandoned.  I will make a recommendation to the moderators on its resolution in a week or two.  I would appreciate any comments by the experts that would help me in making a recommendation.
It is assumed that any participant not responding to this request is no longer interested in its final deposition.

If the asker does not know how to close the question, the options are here:

Cleanup Volunteer
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

 -->Accept bukko's comment as Answer

Please leave any comments here within the next seven days.


Cleanup Volunteer
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.