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
araeesAsked:
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.

bukkoCommented:

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:

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

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

bukko
0
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
0
bukkoCommented:

Ah - gotcha!

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

bukko
0
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
0
bukkoCommented:

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?

bukko
0

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
CleanupPingCommented:
Hi araees,
This old question (QID 20555389) needs to be finalized -- accept an answer, split points, or get a refund.  Please see http://www.cityofangels.com/Experts/Closing.htm for information and options.
0
GPrentice00Commented:
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:
http://www.experts-exchange.com/help/closing.jsp

GPrentice00
Cleanup Volunteer
0
GPrentice00Commented:
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.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER

GPrentice00
Cleanup Volunteer
0
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.