![]() |
|
[.NET] [Tutorial + source] Embed Mozilla Gecko (Firefox) browser to your project [vb.net] - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] [Tutorial + source] Embed Mozilla Gecko (Firefox) browser to your project [vb.net] (/showthread.php?tid=1428717) |
[Tutorial + source] Embed Mozilla Gecko (Firefox) browser to your project [vb.net] - Crash-Override - Jun 28, 2011 By using GeckoFX you can simply replace the IE default browser with a more powerful and speedy Firefox engine.
[img]http://i.min.us/id5RfQ.gif[/img]
Spoiler (Click to View) GeckoFX is a Windows Forms control written in clean, commented C# that embeds the Mozilla Gecko browser control in any Windows Forms Application. Steps to implement GeckoFX. 1. Go here and download the binary Skybound.Gecko.dll 2. Go to your form and add the gecko.dll .net component. 3. You can now see the gecko web browser in the toolbox. Drag it to your form. 4. You will need XULLRUNNER which is a mozilla run time package download it from here. Spoiler (Click to View) 5. Once downloaded you need to invoke the xullrunner in start up, the run-time environment for GeckoFX Mozilla component is managed by xullrunner. So you need to put this code in start-up, remember that this startup event is in the "Application". PHP Code The browser component will not work without the xulrunner. In this typical browser example I am Initializing the xulrunner from "c:\xulrunner". So you need to extract the xulrunner in C:\xulrunner folder. Also remember that the location must contain "xulrunner.exe". That's all about the initializing setup. Once you are done with it, the coding syntax is almost similar to the default webbrowser component. example : PHP Code The Mozilla browser component is faster and efficient than the normal default IE browser. Download : xxxx feedback, and I will Pm you the source :) password : hackforums The web browser is currently limited in functionality, I just included the basic functions and a history. You can modify it if you want. Happy coding and do remember to feedback.. * - Cody8295 - Jun 28, 2011 This looks a lot like the tut exero posted a month or so back. * - Crash-Override - Jun 28, 2011 (Jun 28, 2011 11:21 PM)Cody8295 Wrote: This looks a lot like the tut exero posted a month or so back. I didn't know if there was a tutorial on this. I just posted this cuz I saw some guy asking to see a tutorial on geckoFX. can you link me to that thread if you don't mind ? * - Cody8295 - Jun 28, 2011 (Jun 28, 2011 11:22 PM)Crash-Override Wrote: I didn't know if there was a tutorial on this. I just posted this cuz I saw some guy asking to see a tutorial on geckoFX. https://hackforums.net/showthread.php?tid=1238091 * - Crash-Override - Jun 28, 2011 (Jun 28, 2011 11:22 PM)Cody8295 Wrote: https://hackforums.net/showthread.php?tid=1238091 If you can download and see the source code. Its nothing like the other tutorial. It's much simpler :) EDIT : Step 2. Put the entire xulrunner folder after it is extracted into the debug folder also. ^^ This in the other tutorial is completely unnecessary. * - Dawncore - Jun 28, 2011 The other tutorial on this was terrible. * - Crash-Override - Jun 28, 2011 (Jun 28, 2011 11:27 PM)1337™ Wrote: The other tutorial on this was terrible. I will take it as a feedback ;) thanks. * - Manager - Jun 28, 2011 Ie is good browser Version 9 have lot of good changes * - Pioneer# - Jun 29, 2011 Vouch for you Mate.. He is really a great GUY!!! :) * - Cody8295 - Jun 29, 2011 (Jun 29, 2011 12:29 AM)Wolv3rine Wrote: Vouch for you Mate.. He is really a great GUY!!! :) Why would he need a vouch? He's not selling anything, this is a tutorial. * - Deceptive - Jun 29, 2011 (Jun 29, 2011 12:52 AM)Cody8295 Wrote: Why would he need a vouch? He's not selling anything, this is a tutorial. Apparently vouch is losing it's original definition and means he is "supporting" the OP's post? * - Stenography - Jun 29, 2011 I LOVE IT ♥ Thank you so much ! Regards. * - ra1d - Jun 29, 2011 Looks great, I've never seen a tutorial on how to use GeckoFX. I would like to receive the source. Good job dude! * - iCoder - Jun 29, 2011 Seems to be very much explaining code and would love to check it out. Downloading the source and I might just make something big using this :P Thanks for the tut dear. * - Crash-Override - Jun 29, 2011 (Jun 29, 2011 04:10 AM)PolarX Wrote: I LOVE IT ♥ you are welcome mate and thanks for the feedback. (Jun 29, 2011 05:12 AM)Rand0m™ Wrote: Looks great, I've never seen a tutorial on how to use GeckoFX. source link sent. check your pm :) (Jun 29, 2011 05:20 AM)iCoder Wrote: Seems to be very much explaining code and would love to check it out. Downloading the source and I might just make something big using this :P you are welcome and source link sent to your PM. |