Jump to content

HTML rendering


hawksprite
 Share

Recommended Posts

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 )=

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...