|
-
May 30th, 2001, 01:55 PM
#1
Thread Starter
Frenzied Member
Getting data from a web page
I want to retrieve data from a TEXTAREA on a web page named "message". How can I do this?
I'm bringing geeky back...
-
May 30th, 2001, 01:59 PM
#2
Frenzied Member
So you want to get data from a TEXTAREA of a web-page as it's being typed?
-
May 30th, 2001, 02:04 PM
#3
Thread Starter
Frenzied Member
I think I'm just going to need it done when I click a button, but that would be nice too.
Do you have any idea how to do that?
I'm bringing geeky back...
-
May 30th, 2001, 02:07 PM
#4
Frenzied Member
put the textarea object within a <FORM></FORM>
then use the method =POST
and when you need to retrieve it
use myMessage = Request.Form("message")
you need to know asp to do this well
-
May 30th, 2001, 02:15 PM
#5
Thread Starter
Frenzied Member
Could I possibly have some actual code if it isn't too big? Because I'm confused.
I'm bringing geeky back...
-
May 30th, 2001, 02:17 PM
#6
Frenzied Member
When you say click a button....do you mean click a button on a web-page? If you do take a look at these links for trapping events of elements within a web-page (Demo-Code included).
http://msdn.microsoft.com/workshop/b...ls/forward.asp
http://support.microsoft.com/support.../Q246/2/47.asp
-
May 30th, 2001, 02:34 PM
#7
Thread Starter
Frenzied Member
I mean clicking a button in my VB application, not on the web page. For example, if this text were being typed right now in my WebBrowser control, I could click a button or something on the VB Application, and it would "capture" this text and display it inside the VB app, so I could save it or whatever.
I'm bringing geeky back...
-
May 30th, 2001, 02:49 PM
#8
Frenzied Member
Try something like this...
Code:
Private Sub Command1_Click()
If WebBrowser1.Busy = True Then Exit Sub
mesString = WebBrowser1.Document.All("message").Value
'Save message CODE here
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|