madivad2
asked on
open pages via VB.NET into Firefox
This question is in two parts:
1) I want to open url's in firefox, at this point, the assumption can be made that firefox is installed (since it's going to be used on my system), and
2) once I have the tabs open, I want to read back the page source(s) into a multi-line text box.
Let's assume (for the sake of argument) that at this point I want to open two tabs and read back the source from the firefox browser. The key point is that I need to be able to get the source for all open tabs
1) I want to open url's in firefox, at this point, the assumption can be made that firefox is installed (since it's going to be used on my system), and
2) once I have the tabs open, I want to read back the page source(s) into a multi-line text box.
Let's assume (for the sake of argument) that at this point I want to open two tabs and read back the source from the firefox browser. The key point is that I need to be able to get the source for all open tabs
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can launch the URL directly but you need to make sure that firefox is the default browser. You could instead search for the firefox.exe in the current system drive and run it with the parameters. This way you could also know if the firefox is not installed.
ASKER
I found it, this is what I was looking for... now the memories come flooding back :)
http://www.devx.com/dotnet/Article/7914
http://www.devx.com/dotnet/Article/7914
ASKER
Not quite what I was after, I found the link in the end, but recognise your contributions. Thanks
ASKER
In relation to the first part of the problem, that hinges on knowing where firefox is installed. I know there's an easier way where you can reply on the file associations of the html page, but can't remember how it's done