#100951 - 2003-05-14 04:22 AM
Re: Looking for ideas...
|
Shawn
Administrator
   
Registered: 1999-08-13
Posts: 8611
|
Hey, theres a almost identical discussion going on here
|
|
Top
|
|
|
|
#100953 - 2003-05-14 04:40 AM
Re: Looking for ideas...
|
Shawn
Administrator
   
Registered: 1999-08-13
Posts: 8611
|
The way I did this was to view source on the Google page, and I noted the "ID" of the query textbox on Google, heres the line:
code:
<input maxLength=256 size=55 name=q ...
Its the "name=" thats important, thats the programmatic identifier for the input textbox on google. GetElementbyID basically gets any element by its identifier (everything in DHTML is an element), it returns it as an control object, and from past experience, most every control has a Value property. Heres a quick link to GetElementById
GetElementByID
Its important to use the Document object for all this stuff, that is where all the good stuff is, heres a link on that:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/obj_document.asp
-Shawn [ 14. May 2003, 04:45: Message edited by: Shawn ]
|
|
Top
|
|
|
|
#100955 - 2003-05-14 05:04 AM
Re: Looking for ideas...
|
Shawn
Administrator
   
Registered: 1999-08-13
Posts: 8611
|
Yeah, I would say the Access issues were the least of your concerns, think the big thing you have to find out is "how does the data in this web form of yours, get sent back to the webh server". Is just using the plain-old POST technique or is it using some fancy-smancy client-side Java scripting ... hopefully if its the former, you could just bundle all your data up and send it in a post, then screen scrap the results using GetElementByID ... heres a link to a script that issues a post and parses the resulting HTML to look for Stock Quotes of all things. Check out a few posts down ... this script still works believe it or not. It queries a my own broker up here in Canada.
Stock Quotes
|
|
Top
|
|
|
|
#100962 - 2003-05-14 02:48 PM
Re: Looking for ideas...
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Hate to barge in here...
However..
quote:
Unfortunately I do not have direct access to the web database...
What about ODBC? I know it is kinda clunky, but an idea.
Kent
|
|
Top
|
|
|
|
#100964 - 2003-05-14 02:58 PM
Re: Looking for ideas...
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Like I said it is an idea.. It maybe in a location unknown to him.. It maybe protected.. He may, however be able to find it..
Just an idea..
But, let's say for a second he knows where it is and it is a MDB file, he could connect to it via ODBC and do what he needs..
Kent [ 14. May 2003, 15:04: Message edited by: kdyer ]
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 685 anonymous users online.
|
|
|