Shoutbox

Get info from Web - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Forum: Plug-Ins (/forumdisplay.php?fid=28)
+------ Thread: Get info from Web (/showthread.php?tid=58741)

Get info from Web by Gowin on 04-25-2006 at 03:59 PM

I want a plugin that gets a number from a webpage...

I have been trying to use a webbrowser-control in Visual basic:

        Dim inet As WebBrowser
        Dim strInfo As String       
       
        inet.Navigate "http://some page"
        Do While inet.Busy
            DoEvents
        Loop
        strInfo = inet.Document.body.outerText

But i get an error on that when running, is not these kind of
functions/controls supported here ?

Or is there a easier way to get info from a webpage ?

Thanks


RE: Get info from Web by RaceProUK on 04-25-2006 at 04:15 PM

There is no outerText on a document body, only an innerText.


RE: Get info from Web by Gowin on 04-25-2006 at 04:28 PM

I see, i suppose "inet.document" is enough...

But that is not the problem anyway, the code works fine
in a "normal" exe-program but when compiled
as plugin-dll for msn+ it does not work.