WebBrowser control... Mono/Gecko update

by Patrice 9/8/2008 9:46:19 AM

Since my last update everything run smoothly on the server. I'm a "Microsoft guy" but I always liked to experiment on Linux. Once a year, since college, I get an old machine, format it and re-install the latest Linux version and after everything is done... nothing... ha ha ha ha. ...but this time though, I had another goal in mind... compile my code with Mono and running it on a Linux box! (I know, I could have use Mono on Windows but, hey, what's the fun?)

So last weekend I undusted my machine, boot it up and reformatted it. This time I've installed openSUSE... The installation went smoothly without any issue.  First, I was curious to see if my code would compile at all using Mono... I have been very surprised to see that it did compile.... except the "interop" part where I use the browser obviously.

Hmmm, alright, it's time to try Gecko to produce my browser "screenshots". That was the easy part... there is still a sample code on the web that is dated '04 and does that. Before modifying my existing application, I compiled the sample code and tried it ... no issue here... except one thing: the browser needs to be "visible"... and that is not good.  That's the same issue I got when I tried IHTMLElementRender::DrawToDC version on Windows... I haven't found a way to hide the window and get the image... it only outputs a black image...

Unfortunately, time is precious and that's all I had to give to it...

See you next year Linux!

Related posts

Add comment


(Will show your Gravatar icon)  

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

1/6/2009 8:46:35 AM

Powered by BlogEngine.NET 1.3.1.0

LFDX Software Inc.

About the author

P. Lafond Patrice Lafond
(and yes, it's Mr!)
Software Engineer
French Canadian expat in Bermuda for over 7 years.
flag QC  flag BDA

E-mail me Send mail

Calendar

<<  January 2009  >>
MoTuWeThFrSaSu
2930311234
567891011
12131415161718
19202122232425
2627282930311
2345678

View posts in large calendar

Pages

    Recent comments

    Authors

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2009

    Sign in