Click here to Skip to main content
16,011,120 members
Home / Discussions / C#
   

C#

 
GeneralRe: Can we create a new browser? Pin
coding freaks10-Mar-10 17:44
coding freaks10-Mar-10 17:44 
GeneralRe: Can we create a new browser? Pin
Dave Kreskowiak10-Mar-10 17:55
mveDave Kreskowiak10-Mar-10 17:55 
GeneralRe: Can we create a new browser? Pin
coding freaks10-Mar-10 19:42
coding freaks10-Mar-10 19:42 
GeneralRe: Can we create a new browser? Pin
Luc Pattyn10-Mar-10 17:32
sitebuilderLuc Pattyn10-Mar-10 17:32 
GeneralRe: Can we create a new browser? Pin
coding freaks10-Mar-10 17:44
coding freaks10-Mar-10 17:44 
GeneralRe: Can we create a new browser? Pin
Not Active10-Mar-10 17:53
mentorNot Active10-Mar-10 17:53 
GeneralRe: Can we create a new browser? Pin
coding freaks10-Mar-10 19:44
coding freaks10-Mar-10 19:44 
AnswerRe: Can we create a new browser? Pin
AspDotNetDev10-Mar-10 21:06
protectorAspDotNetDev10-Mar-10 21:06 
The others have no doubt noticed you are well out of your league. But building a browser isn't impossible, depending on how you set your goals. If you just want to play around and hone your skills, start small and build on it. Maybe start by parsing out the HTML, then render a static version of that HTML (onto a Windows Forms Form or WPF Window). Maybe just start by rendering, say, a button. Then build on that and render some text. After you have that done with various controls, add support for various style options (such as font size). Then maybe focus on the layout some more (to dynamically layout everything when the window resizes). Then parsing the CSS will be another project. Since you don't need to be backwards compatible, this will be easier for you than it was for the makers of IE. But this will still take a long time. You again would focus on some basics first (background color, for example). You'll probably have to start creating new custom controls once things get complicated (rather than using the built in Windows Forms and WPF controls). That will probably be months or years down the road though. And then you can start focusing on making a JavaScript engine (first you'll have to parse the JavaScript). And you'll have to do a ton of optimizations, as your first couple tries will almost certainly suffer from performance concerns.

All depends on your level of ambition and your goals. If you want to top one of the existing browsers out there, probably best to give up now... not going to happen. But if you just want to take on a project you can work on incrementally and learn some things along the way, this would probably be a good project for that. However, if your skills are not at least intermediate with C# and the .NET Framework and Windows Forms or WPF, you will definitely want to work on those before tackling something like this.

Regarding your question of whether it is possible, of course it is. That you asked this question shows that you don't know nearly enough to take on a project like this. Maybe someday, but not today. Good luck.

P.S. Perhaps a better place to start would be to look at an existing open source browser and look what they've done. Perhaps modify their code to suit your needs.
GeneralRe: Can we create a new browser? Pin
coding freaks11-Mar-10 4:02
coding freaks11-Mar-10 4:02 
GeneralRe: Can we create a new browser? Pin
AspDotNetDev11-Mar-10 9:19
protectorAspDotNetDev11-Mar-10 9:19 
QuestionHow can I control sampling rate from C#, i.e of times I read a variable in a sec Pin
longnights10-Mar-10 16:12
longnights10-Mar-10 16:12 
AnswerRe: How can I control sampling rate from C#, i.e of times I read a variable in a sec Pin
Luc Pattyn10-Mar-10 16:27
sitebuilderLuc Pattyn10-Mar-10 16:27 
QuestionHow C# should communicate with access db file ? Pin
biscoito10-Mar-10 13:04
biscoito10-Mar-10 13:04 
AnswerRe: How C# should communicate with access db file ? Pin
Not Active10-Mar-10 15:17
mentorNot Active10-Mar-10 15:17 
GeneralRe: How C# should communicate with access db file ? Pin
coding freaks10-Mar-10 16:17
coding freaks10-Mar-10 16:17 
GeneralRe: How C# should communicate with access db file ? Pin
Luc Pattyn10-Mar-10 16:29
sitebuilderLuc Pattyn10-Mar-10 16:29 
GeneralRe: How C# should communicate with access db file ? Pin
Not Active10-Mar-10 16:38
mentorNot Active10-Mar-10 16:38 
GeneralRe: How C# should communicate with access db file ? Pin
coding freaks10-Mar-10 16:42
coding freaks10-Mar-10 16:42 
GeneralRe: How C# should communicate with access db file ? Pin
Not Active10-Mar-10 16:46
mentorNot Active10-Mar-10 16:46 
GeneralRe: How C# should communicate with access db file ? Pin
coding freaks10-Mar-10 16:52
coding freaks10-Mar-10 16:52 
GeneralRe: How C# should communicate with access db file ? Pin
Not Active10-Mar-10 16:57
mentorNot Active10-Mar-10 16:57 
GeneralRe: How C# should communicate with access db file ? Pin
coding freaks10-Mar-10 16:59
coding freaks10-Mar-10 16:59 
GeneralRe: How C# should communicate with access db file ? Pin
coding freaks10-Mar-10 17:17
coding freaks10-Mar-10 17:17 
GeneralRe: How C# should communicate with access db file ? Pin
Not Active10-Mar-10 17:30
mentorNot Active10-Mar-10 17:30 
GeneralRe: How C# should communicate with access db file ? Pin
coding freaks10-Mar-10 19:58
coding freaks10-Mar-10 19:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.