Skip to main content
gamedev.net
🔒 Locked

buidling web browser

Started by GameMasterXL Sep 26, 2005 at 5:23 PM 4 replies 550+ views
Original Post
GameMasterXL
GameMasterXL
Is it possible to create a custom web browser that just viewed a .html file for custom use and was primeraly for manipulating html data?
SiCrane
SiCrane
Yes.
GameMasterXL
GameMasterXL
How hard is it? And what will i need i am using visual C# for this one.
Drew_Benton
Drew_Benton
Quote:
Original post by GameMasterXL
How hard is it? And what will i need i am using visual C# for this one.


It's not that hard actually. For a bare minimal web browser in C# that simply loads a page and displays it (no html manipulation), take a look at this link: Web Browser in C# and VB.NET. Then you will want to look at: Using the WebBrowser control in .NET, and finally Using the Web Browser Control in your C# Applications. That should be more than enough to get you started and working quickly on what you want to do. The trouble you'll hit is just modifying the pages you want how you want them, then displaying those. Good luck!
GameMasterXL
GameMasterXL
So can i edit the alert boxes to show my own images and colours? and also make it so my &#106avascript page can save the data inside of my textarea to the pc through my application?
Drew_Benton
Drew_Benton
Quote:
Original post by GameMasterXL
So can i edit the alert boxes to show my own images and colours? and also make it so my &#106avascript page can save the data inside of my textarea to the pc through my application?<!--QUOTE--></td></tr></table></blockquote><!--/QUOTE--><!--ENDQUOTE--><br/><br/>If you know how to do that, then yes, you could replace code in a web page to reflect that. As for saving the contents of the text area, yes, you can save that though getting the one of the attributes of the WebControl. I can't remember offhand, but it's shown in one of those links I think.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.