 |
 |

07-29-2005, 01:36 AM
|
|
Newcomer
|
|
Join Date: Jul 2005
Posts: 3
|
|
|
Regarding this, quick question for anyone who can help. I've been searching for the past two hours or more looking for a layout of the DOM(as I believe it's called). I really need very specific information, and W3C just isn't cutting it. This topic is about as close as I've found....
Anyway, I need to extract the source out of a page I bring up using the internet controls ocx. This will work best as I need to modify it before its displayed. I guess I could use the internet transfer control, but for the overall layout of the program having some type of table listing all of the, for example, WebBrowser1.document.everything-else properties would be awesome. The MSDN didn't help much either as they don't really go into detail of the other properties below the Document level. I know its possible cause I've done it before, but for the life of me I can't remember the property. I thought it was document.body, but that doesn't give the right results. Any idea where I can at least find a good, very specific listing of every property/method for this control. I'm begining to hate DOM  LOL
BTW, Nice avitar Tarh. If you haven't yet, be sure to check out Bleach, fansubbed by Lunar. Thanks for any help you can provide!
|
Last edited by lebb; 07-29-2005 at 09:13 AM.
Reason: Split to separate thread; please start your own threads rather than hijacking other members'. Thanks.
|

07-29-2005, 12:38 PM
|
 |
Retread
Retired Moderator * Expert *
|
|
Join Date: Sep 2002
Location: Austin, Texas
Posts: 6,742
|
|
|

07-29-2005, 02:51 PM
|
|
Newcomer
|
|
Join Date: Jul 2005
Posts: 3
|
|
Well, thanks for your reply, but thats still not quite what im looking for. I need some type of expanded tree showing all the properties under the Microsoft Internet Control, SHDOCVW.DLL 6.0.2737.800(though version im sure doesn't matter). I understand how to use the properties, its just that I need some type of listing of them down to their last level. Something like:
document.body
document.body.all
document.body.all.stuffunderthis
document.items etc..
I did find this:
http://img.photobucket.com/albums/v4...d/vb5fig05.gif
but its not near complete enough. If anything else, does anyone know how to extract the source of the document after the page is loaded into the WebBrowser1 control? I guess thats all I need, but a full listing would be excellent. Thanks again!
|
|

07-29-2005, 02:56 PM
|
 |
Retread
Retired Moderator * Expert *
|
|
Join Date: Sep 2002
Location: Austin, Texas
Posts: 6,742
|
|
|

07-29-2005, 05:20 PM
|
|
Newcomer
|
|
Join Date: Jul 2005
Posts: 3
|
|
|
Thanks again there MikeJ. That does help some! I think that for now im just gonna do it different than what I had planned, using the transfer controls. I'm just gonna load it, change it, then have the browser load up the changed temp file.
So, im doing this for automation of filling in a form somewhere. How would I go about activating the "Submit" button using these commands?
|
|

07-29-2005, 05:24 PM
|
 |
Excellent…
Forum Leader * Expert *
|
|
Join Date: Jun 2004
Location: Minneapolis MN - deceased
Posts: 2,483
|
|
Last edited by NateO; 07-29-2005 at 05:41 PM.
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
|
|
 |
|