~ : Setting up Geckofx and XulRunner : ~
If you don't know what is Gecko and XulRunner then you might first consider reading this -
- If you have Nuget installed then in command-line simply type.
Install-Package Geckofx45
QuickStart (from official nuget page)
Include "geckofx-45" nuget package (In Visual Studio project right click References and click "Manage NuGet Packages..")
In C#
So in VB.NET it should be..
Done.. Now leave my blog right away! Bye, Goodbye! -_-
Now your files will be in C:\Users\UserName\Documents\Visual Studio 2010\Projects\Project Name\packages\Geckofx45.45.0.18
You will find a Geckofx45.45.0.18.nupkg file there...
Do as i say from # Extracting the Packages
# Extracting the Packages
Now Go Back and open 'lib' folder then 'net40' and extract all the files on Desktop.
# Starting A New Project
2) Start a New Project in VB.NET with any name.
# Copying the Packages to Project's directory
Now copy them to your project directory...
Those 2 dll's are in your Project directory, isn't it?
# Adding Reference
Now in Visual Basic IDE, Add Reference to them..
Now i hope you will see the both files in your Solution Explorer.
# Configuring Application Events
Now Open Application Events.vb, select all and paste the below code.
# Adding Geckofx to Toolbox
Read: How to Add Items to Toolbox in VB.NET
Now add Geckofx-Winforms.dll --> click OK!
Let's have a look at our Toolbox now..
# Inviting A Guest
Invite her to your Project.Home..
In C#
So in VB.NET it should be..
Done.. Now leave my blog right away! Bye, Goodbye! -_-
OR
Now your files will be in C:\Users\UserName\Documents\Visual Studio 2010\Projects\Project Name\packages\Geckofx45.45.0.18
You will find a Geckofx45.45.0.18.nupkg file there...
Do as i say from # Extracting the Packages
- If you don't have Nuget, no problem!
Click here to download Geckofx and XulRunner.
Now I assume you have the packages so let's go further.
# Extracting the Packages
- It will be a (.nupkg) file named as Geckofx45.45.0.18.nupkg
- After downloading --> Open it with WinRAR.
Open the 'content' folder' and --> Extract the Firefox folder on Desktop.
Now Go Back and open 'lib' folder then 'net40' and extract all the files on Desktop.
# Starting A New Project
2) Start a New Project in VB.NET with any name.
# Copying the Packages to Project's directory
Now copy them to your project directory...
Those 2 dll's are in your Project directory, isn't it?
# Adding Reference
Now in Visual Basic IDE, Add Reference to them..
Geckofx-Core.dll and Geckofx-Winforms.dll
Now i hope you will see the both files in your Solution Explorer.
# Configuring Application Events
Now Open Application Events.vb, select all and paste the below code.
# Adding Geckofx to Toolbox
Read: How to Add Items to Toolbox in VB.NET
Now add Geckofx-Winforms.dll --> click OK!
Let's have a look at our Toolbox now..
OMG! Look! There's a new guest here!
The Geckofx Webbrowser component! |
Invite her to your Project.Home..
Make sure to do some arrangements for her by serving her a Tea.URLBar = TextBox.Control and some Biscuits.Navigation = Button.Control.
Make her feel comfortable on the form.
Double-Click the Form1 --> Select All and paste the below code.
Done! Hence this tutorial ends here! And I am tired now...
Life is short, don't waste it sitting in front of a computer, debugging crap for unknown people.
Life is short, Make your every breath count. <3 :-)
Last Updated On - 4th Jan 2019
2 comments:
nice work.
also I can't find geckofx dll files on this rar
Thankyou for commenting, Tzoko George :-D
I just checked the website, they have changed the download link,
The new download link is https://www.nuget.org/api/v2/package/Geckofx45/
I have updated it in the post!
The GECKOFX DLL files are in the "lib" folder :)
See this image: https://3.bp.blogspot.com/-RpRJYxACmyk/VzBdSz0pTmI/AAAAAAAAAkM/67o_OPjq8OwsV45pwEzCiAkt8lpehmbQwCK4B/s400/Geckofx-Core.dll%2BGeckofx-Winforms.dll%2Bgeckofx%2B45.0%2Bdll%2Bfiles%2Bextract.JPG
PS. You are the first person to comment on my blog, it feels so good!
You made my day. Thankyou so much man! :'-D
Post a Comment