Use Firefox instead of Internet Explorer Javascript Engine

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
7 posts Page 1 of 1
Contributors
User avatar
mikethedj4
VIP - Site Partner
VIP - Site Partner
Posts: 2592
Joined: Thu Mar 25, 2010 4:36 am

You can view my post here to have a better understanding of what I'm trying to accomplish.

I don't want the user subjected to IE's javascript engine, but whatever their default web browser's is, but inside the app. As lets face it IE is a terrible browser. However I can work on that later, gotta get what I said above done first.

Anyway if anyone can help me out with this, it'll be greatly appreciated.
Last edited by mikethedj4 on Thu Jul 26, 2012 5:54 am, edited 6 times in total.
User avatar
Shim
VIP - Donator
VIP - Donator
Posts: 882
Joined: Wed Dec 14, 2011 5:02 am

Re: Display Website In App
Shim
do you mean you dont want use IE ?
Find my programs on Softpedia
User avatar
mikethedj4
VIP - Site Partner
VIP - Site Partner
Posts: 2592
Joined: Thu Mar 25, 2010 4:36 am

mshimranpro wrote:
do you mean you dont want use IE ?
I would prefer not to, I just want it to choose my default rendered being Firefox, or whatever the user sets it to.
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Usually support for other browsers doesn't come from the system itself, you will have to choose which browsers to support and implement them as needed.
User avatar
mikethedj4
VIP - Site Partner
VIP - Site Partner
Posts: 2592
Joined: Thu Mar 25, 2010 4:36 am

mandai wrote:
Usually support for other browsers doesn't come from the system itself, you will have to choose which browsers to support and implement them as needed.
#mandai you're a smart dude. How can I accomplish what the topic's about - "Display Website In App via OpenFileDialog"?
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

In code this would vary since there is no solution that fits all web browsers.
Though I know there are several ways to detect the default browser, you can use this to load a library at runtime. e.g. I believe Firefox has a COM library that can be used in VB.Net.
User avatar
Shim
VIP - Donator
VIP - Donator
Posts: 882
Joined: Wed Dec 14, 2011 5:02 am

i have used GeckoFX once thats firfox i think and its very fast not like IE , i got you the dll and a tutorial :D . the dll is uploaded download it first :D

now go to your form and add the gecko.dll .net component.

now you will be able to see the web browser in the toolbox .

drag it

You will need XULLRUNNER which is a mozilla run time package download it from here.

Once downloaded you need to invoke the xullrunner in start up, the run-time environment for GeckoFX Mozilla component is managed by xullrunner.

now you need to put this code in startup
Code: Select all

Private Sub MyApplication_Startup(ByVal sender As Object, ByVal e As Microsoft.VisualBasic.ApplicationServices.StartupEventArgs) Handles Me.Startup
Skybound.Gecko.Xpcom.Initialize("C:\xulrunner")
End Sub

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”.

now make a button and a textbox and this code
Code: Select all

GeckoWebBrowser1.Navigate(textbox1.text)

thank you hope this helped you "D wahooo;
You do not have the required permissions to view the files attached to this post.
Find my programs on Softpedia
7 posts Page 1 of 1
Return to “Coding Help & Support”