Jun 29, 2013 03:54 PM
(This post was last modified: Jun 30, 2013 12:33 AM by SIM-964740.)
So I am trying to implement a system into my program and when a link is pressed inside the gecko browser it will send the link clicked to anther gecko browser rather than opening the default internet (eg. Internet Explorer) and continuing from there.
TD;LR: Click Gecko Browser, link opens in anther Gecko Browser.
Diagram:
Code If RadioButton1.Enabled Then ' Firefox
Process.Start("E:\Program Files (x86)\Mozilla Firefox\firefox.exe", TextBox1.Text)
ElseIf RadioButton2.Enabled Then
Process.Start("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", TextBox1.Text)
End If
Works on both :) have fun
(Jun 29, 2013 04:04 PM)AX5 Wrote: Code If RadioButton1.Enabled Then ' Firefox
Process.Start("E:\Program Files (x86)\Mozilla Firefox\firefox.exe", TextBox1.Text)
ElseIf RadioButton2.Enabled Then
Process.Start("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", TextBox1.Text)
End If
Works on both :) have fun
Don't hold it to me, but i think he may mean within his VB.Net Application, and not an external program.
That also presumes that the user has a Programs File on C:\ and E:\, and firefox is installed in the default directory...of E:\....
(Jun 29, 2013 04:13 PM)Nikey646 Wrote: Don't hold it to me, but i think he may mean within his VB.Net Application, and not an external program.
That also presumes that the user has a Programs File on C:\ and E:\, and firefox is installed in the default directory...of E:\.... Hmm sure, I have 2 HDD and one of the browsers was installed on the E drive. ^^
(Jun 29, 2013 04:17 PM)AX5 Wrote: Hmm sure, I have 2 HDD and one of the browsers was installed on the E drive. ^^
I need it to be opened inside my application not an external application. Please look at the diagram.
(Jun 29, 2013 04:19 PM)SIM-964740 Wrote: I need it to be opened inside my application not an external application. Please look at the diagram.
yeah my bad sir. I did and i have no idea :P
(Jun 29, 2013 04:21 PM)AX5 Wrote: yeah my bad sir. I did and i have no idea :P
Alright, no problem then. Thanks anyway.
I remember doing this Ages ago, it was something to do with blocking the default behavior of VB, and then loading the link through code.
My best bet would be looking for a Event Handler for Links, and See if you can prevent it from activating and then open it in your second Gecko Control
(Jun 29, 2013 04:38 PM)Nikey646 Wrote: I remember doing this Ages ago, it was something to do with blocking the default behavior of VB, and then loading the link through code.
My best bet would be looking for a Event Handler for Links, and See if you can prevent it from activating and then open it in your second Gecko Control
Still can't find out how to do this.
In the default control its an event called NewWindow or something and you can set it to handle it to another browser with the args.
~ LaPanthere ~
Why is this so damn hard? I need help =(
I think this might be what you're looking for:
http://www.youtube.com/watch?v=2hmOoCOiDYM
EDIT: Btw, you might need to change some of the code, that however should be fairly simple.
(Jun 30, 2013 01:25 AM)iiRex Wrote: I think this might be what you're looking for:
http://www.youtube.com/watch?v=2hmOoCOiDYM
EDIT: Btw, you might need to change some of the code, that however should be fairly simple. I need this for gecko, damn this is hard.
Jun 30, 2013 04:59 AM
(This post was last modified: Jun 30, 2013 06:29 AM by Ashlanfox.)
(Jun 29, 2013 11:42 PM)Cecilia Wrote: In the default control its an event called NewWindow or something and you can set it to handle it to another browser with the args.
~ LaPanthere ~
Yes, you can use NewWindow if a "pop-up" (new window form) show up after you pressed the button. I'm making you a little project. Send it to you as soon as I can.
Quote:Download Link : https://mega.co.nz/#!M4Bl3BgJ!KgogP3HFXQ...XhZtxj2Kmo
|