Hi Dimitris, thanks, thanks, thanks for this solution. It works perfectly.
Regards - Andreas - -----Ursprüngliche Nachricht----- Von: Dimitris Anogiatis [mailto:dos...@gmail.com] Gesendet: Mittwoch, 4. August 2010 11:24 An: mailing list for gambas users Betreff: Re: [Gambas-user] WebBrowser - read out the shown html document Hey Andreas, >From what I've read in the documentation there's no text property or any other way to get the source code of the currently showing webpage in the webbrowser control... yet; so after a bit of googling this is what I've come up with. assuming that your webbrowser control is called Webbrowser1 you can do this PUBLIC SUB WebBrowser1_Click() DIM tempHTML AS String DIM tempLink AS String tempLink = WebBrowser1.Link SHELL ("wget -qO- " & tempLink & "|cat") TO tempHTML PRINT tempHTML END This piece of code will retrieve the code of the page you just clicked and send the html code to the tempHTML variable It's a bit crude, not 100% tested but I think it works. I hope this helps till someone else has a better way to do it from within the webbrowser control Regards Dimtris On Wed, Aug 4, 2010 at 12:26 AM, Andreas Fröhlke <afroeh...@kikxxl.de>wrote: > Hello, > > I use the Gambas-Browser to open an shopping website. There the user can > choose his products and order them. T last page of the shop is a status page > with all informations in the html-source-code written as comments, which i > must read out and save in a mysql database. Is there a way to read out the > html-code of the website the gambas webbrowser is currently shown? > > Regards > > - A.Fröhlke - > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user