hawksprite Posted May 24, 2009 Share Posted May 24, 2009 I have come across a problem while developing a windows app. I need some web browsing functionallity and when I add this it allways does all the rendering in IE. I am doing this in visual c#. Is there anyway I can add HTML rendering and give people the option to browse the web in my form without using IE. Much help needed I have allready googles it and came up with nothing. Edit: it just occured to me that I put this in the wrong topic sorry )= Quote Link to comment Share on other sites More sharing options...
digip Posted May 24, 2009 Share Posted May 24, 2009 I have come across a problem while developing a windows app. I need some web browsing functionallity and when I add this it allways does all the rendering in IE. I am doing this in visual c#. Is there anyway I can add HTML rendering and give people the option to browse the web in my form without using IE. Much help needed I have allready googles it and came up with nothing. Edit: it just occured to me that I put this in the wrong topic sorry )= If your using any of the modules from the microsoft IDE, they use IE by default. I think you would have to script something from scratch or find a way to port dll's from other browsers to use them within your app. Maybe rip some code from FireFox/mozilla since they make the source code available. Quote Link to comment Share on other sites More sharing options...
hawksprite Posted May 24, 2009 Author Share Posted May 24, 2009 If your using any of the modules from the microsoft IDE, they use IE by default. I think you would have to script something from scratch or find a way to port dll's from other browsers to use them within your app. Maybe rip some code from FireFox/mozilla since they make the source code available. That's what I was thinking but I can't figure out how to port them in. I can't find the source in my app that gets the dll's for IE. Quote Link to comment Share on other sites More sharing options...
digip Posted May 24, 2009 Share Posted May 24, 2009 That's what I was thinking but I can't figure out how to port them in. I can't find the source in my app that gets the dll's for IE. Depending on what version of IE you have installed, I think IE6 and lower use something called shdocvw.dll and IE7 and later use IEFRAME.dll Take a look here:http://developer.mozilla.org/en/docs/Embedding_Mozilla Might be of some help using an alternative to IE. Quote Link to comment Share on other sites More sharing options...
hawksprite Posted May 24, 2009 Author Share Posted May 24, 2009 Depending on what version of IE you have installed, I think IE6 and lower use something called shdocvw.dll and IE7 and later use IEFRAME.dll Take a look here:http://developer.mozilla.org/en/docs/Embedding_Mozilla Might be of some help using an alternative to IE. From the look of it you might have to change that on the computer it's self and not the program. This program will be put on other computers so I would rather it not tamper with existing software on the computer. Quote Link to comment Share on other sites More sharing options...
L_Tiger Posted May 24, 2009 Share Posted May 24, 2009 Have you tried using the system command? I don't know if it's absolutely necessary that your browsing feature is inside your application forms but if it's not I'd try running "firefox http://your.url". Quote Link to comment Share on other sites More sharing options...
digip Posted May 24, 2009 Share Posted May 24, 2009 From the look of it you might have to change that on the computer it's self and not the program. This program will be put on other computers so I would rather it not tamper with existing software on the computer What I was saying is those two dll's are what Windows uses to launch Internet Explorer within an application. You don't change them or touch them on the system. The mozilla links we're so you could look at some code to use something other than Internet Explorer in your app for the rendering. I think https://developer.mozilla.org/En/XULRunner is what you use to embed web functions into the C# app. Otherwise, use the IE controls built into the windows environment. https://developer.mozilla.org/En/Simple_build Have you tried using the system command? I don't know if it's absolutely necessary that your browsing feature is inside your application forms but if it's not I'd try running "firefox http://your.url". That would only work though if firefox were installed. You could use the system command "start http://whatever.com" and it would grab the default browser. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.