![]() |
|
[.NET] [GECKO BROWSER] Clicking link and opening in secondary gecko browser {} - 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] [GECKO BROWSER] Clicking link and opening in secondary gecko browser {} (/showthread.php?tid=3586261) |
[GECKO BROWSER] Clicking link and opening in secondary gecko browser {} - SIM-964740 - Jun 29, 2013 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:
* - AX5 - Jun 29, 2013 Code If RadioButton1.Enabled Then ' FirefoxWorks on both :) have fun * - Nikey646 - Jun 29, 2013 (Jun 29, 2013 04:04 PM)AX5 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:\.... * - AX5 - Jun 29, 2013 (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.Hmm sure, I have 2 HDD and one of the browsers was installed on the E drive. ^^ * - SIM-964740 - Jun 29, 2013 (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. * - AX5 - Jun 29, 2013 (Jun 29, 2013 04:19 PM)Seren 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 * - SIM-964740 - Jun 29, 2013 (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. * - Nikey646 - Jun 29, 2013 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 * - SIM-964740 - Jun 29, 2013 (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. Still can't find out how to do this. * - Cecilia - Jun 29, 2013 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 ~
* - SIM-964740 - Jun 30, 2013 Why is this so damn hard? I need help =( * - iiRex - Jun 30, 2013 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. * - SIM-964740 - Jun 30, 2013 (Jun 30, 2013 01:25 AM)iiRex Wrote: I think this might be what you're looking for:I need this for gecko, damn this is hard. * - Ashlanfox - Jun 30, 2013 (Jun 29, 2013 11:42 PM)Brynaldo8 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. 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!KgogP3HFXQipqn8LXxTnP1vPlfR4qD8DmXhZtxj2Kmo |