Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sun Sep 15, 2019 9:47 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Read html source from an htmlviewer
PostPosted: Sun Nov 27, 2011 5:52 pm 
Offline

Joined: Tue Feb 06, 2007 6:11 am
Posts: 79
Is possibile to read html source from the content of an htmlviewer?
How?

Thanks a lot!


Top
 Profile  
Reply with quote  
 Post subject: Re: Read html source from an htmlviewer
PostPosted: Sun Nov 27, 2011 6:08 pm 
Offline

Joined: Tue Jan 15, 2008 1:21 am
Posts: 43
AFAIK not direct. You could use the event "Sub DocumentComplete(URL As String)":

Dim http as New HTTPSocket
MsgBox http.Get(URL,30)


Top
 Profile  
Reply with quote  
 Post subject: Re: Read html source from an htmlviewer
PostPosted: Mon Nov 28, 2011 3:17 am 
Offline
User avatar

Joined: Wed May 10, 2006 2:42 pm
Posts: 2985
Location: Germany
// for Windows:

msgbox HTMLViewer1.IEHTMLTextMBS

// for Mac OS X:

msgbox HTMLViewer1.mainFrameMBS.dataSource.data


with our plugins.

Greetings
Christian

_________________
See you in Orlando, Florida for Real World 2013
More details and registration here:
http://www.realsoftware.com/community/realworld.php


Top
 Profile  
Reply with quote  
 Post subject: Re: Read html source from an htmlviewer
PostPosted: Mon Nov 28, 2011 6:48 am 
Offline

Joined: Tue Feb 06, 2007 6:11 am
Posts: 79
MonkeybreadSoftware wrote:
// for Windows:

msgbox HTMLViewer1.IEHTMLTextMBS

// for Mac OS X:

msgbox HTMLViewer1.mainFrameMBS.dataSource.data


with our plugins.

Greetings
Christian


It's good. I'm going to try! Thanks!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group