T O P I C R E V I E W |
harald |
Posted - 13 Dec 2007 : 12:03:47 hi,
i reported this bug before when i saw it under xp.
this morning i installed xmm under vista.
here's what i did:
1. my vista laptop is 3 weeks old, with a fresh installation of vista. default browser is firefox. 2. i installed xmm 6.0.8.0 (deluxe edition) and authenticated it. 3. i did not change any options. xmm came up with the sample database. 4. i left-click on the "web link" in a movie card and the imdb link comes up within xmm, using IE control (i can tell cause all the ads come up - i have adblock on firefox) 5. if i right-click on the web-link and select "open in new window", it opens IE to show the imdb page. 6. if i click on the IE icon (caption "open movie card in IE"), the moviecard opens in firefox and not in IE.
since i am seeing the exact same behavior on my xp machine, i think we can rule out the os. maybe it has to do with the fact that i did a clean and full install of xmm. mawu reported that he didn't see that behavior on his xp machine, but if he is a long-time user of xmm he probably did an update. obviously, i am just guessing here, trying to provide you with clues, alessio.
i hope you will find some time to look at this issue. i really like xmm and i would like to use it. but i am using firefox for a reason and i just want to left-click on the web-link and the site should come up in firefox. i am sure you understand.
cheers, harald
|
2 L A T E S T R E P L I E S (Newest First) |
harald |
Posted - 04 Jun 2008 : 10:47:44 quote: [i]Originally posted by Alessio Viti[/i] [br]Hi Harald,
The problem is that the moviecard you see inside XMM is based on IE, this is why if you click on a link in the moviecard the IE will be opened instead of firefox.
I am sorry, but at this time I cannot do nothing for this.
Alessio
being a software developer myself i investigated this matter further and there is actually a very quick fix for this, which requires less than 10 lines of code.
here's how you can fix this (in C#):
i assume you simply have a webbrowser control on your windows form. in this example it is called "webBrowser1" basically, all you need to do is capture the "Navigating" event of that control, like this:
webBrowser1.Navigating += new WebBrowserNavigatingEventHandler(webBrowser1_Navigating);
that event handler can look something like this:
private void webBrowser1_Navigating( object sender, WebBrowserNavigatingEventArgs e ) { string url = e.Url.ToString(); HtmlDocument doc = this.webBrowser1.Document; if( doc.ActiveElement.InnerHtml.Contains("WEBLINK") ) { e.Cancel = true; Process.Start(url); } }
with Process.Start(url) the os will invoke the default browser with the url of the external site. bingo. that's all it takes. works under xp and vista. i tested it on both.
i hope you will be able to fix that. for me that is a show-stopper and i am actually thinking of developing (and selling) my own movie database. but i rather not, since xmm is a good program.
cheers, harald
|
Alessio Viti |
Posted - 29 Jan 2008 : 17:24:02 Hi Harald,
The problem is that the moviecard you see inside XMM is based on IE, this is why if you click on a link in the moviecard the IE will be opened instead of firefox.
I am sorry, but at this time I cannot do nothing for this.
Alessio |
|
|