|
my question is almost answered by dave... look at his post... sorry to bother u man...
|
|
|
|
|
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.
|
|
|
|
|
thanx dude... i think i was already answered in a short way... thanq anyway for briefing it.. can u join me in this?
Rather than gng for open source i have planned another strategy.
|
|
|
|
|
sidhu hacks wrote: can u join me in this?
Nope.
sidhu hacks wrote: Rather than gng for open source i have planned another strategy.
Good luck.
|
|
|
|
|
I need help in controlling the sampling rate of different pins/channels on a parallel 32 pin interface
So my question is how can I set the hertz or sampling rate to read a variable or a certain register.
|
|
|
|
|
Three ways in C#:
1. you can use a timer to get an event at some rather low frequency (well below 1 kHz); it wouldn't be very reliable, there would be some jitter (you might want to read my timers article).
2. you can choose a realtime thread priority, and cause a busy loop to monopolize one CPU core to read a parallel pin at high frequency (hundreds of kHz); the exact frequency would depend on the number of instructions in your loop and your CPU frequency.
3. you can provide an external clock, then choose a realtime thread priority, and cause a busy loop to monopolize one CPU core to read a parallel pin at high frequency (hundreds of kHz). By waiting on the external clock, your code would be independent of the exact instructions and your CPU frequency.
Other ways would include writing a specialized driver (not in C# though).
None of the above is likely to be acceptable as far as behavior and results quality go. If you want to create say an oscilloscope, you need more external hardware, including some memory, so the communication doesn't have to be real-time at all.
|
|
|
|
|
Well, I have a lot of questions regarding this topic, so i'll show you some of my doubts:
I'm currently developing a C# windows forms application that communicates with a access database file to store all my data. Now that my relational database is getting bigger, i'm wondering if I should make table relations inside the access file or in C#. Sometimes I have to make changes to more than one table at a time and I don´t know how and who should do these kind of transactions (access/c#). I need to use DataSets, Datareaders, Databinding, etc to do that, right? How these communication should work, I mean, best practice for this!?
Hope you can help me with this.
Thanks, bisc8
PS - Some good book about this?
|
|
|
|
|
The database is the proper place to define the data structure. I would also suggest using SQL Express rather than Access. If your needing to scale it will provide better capabilities than Access.
biscoito wrote: I need to use DataSets, Datareaders, Databinding, etc to do that, right?
What do DataSets or DataReaders have to do with defining the structure of a database? I think you are very confused. I know the language. I've read a book. - _Madmatt
|
|
|
|
|
SQL Express compact edition is the best db that can go with C#. Are u developing in C#.net or ordinary c#?
|
|
|
|
|
sidhu hacks wrote: C#.net or ordinary c#?
Feel free to explain that.
AFAIK there is VB and VB.NET; however I've never seen any C# outside a .NET environment.
|
|
|
|
|
sidhu hacks wrote: SQL Express compact edition is the best db that can go with C#.
Care to explain that? You mean SQL Server or Oracle can't be used with C#? I think you are very misinformed. I know the language. I've read a book. - _Madmatt
|
|
|
|
|
i didnt mean that this is the only db that can go with c#. I meant its best to use rather than access or any other.(bcoz i feel easy in this compact edition )
|
|
|
|
|
|
did u read the content within those bracket?
|
|
|
|
|
I've done more reading than you apparently. What is your point? Just because you are more comfortable with one database or edition over another does not make it the "best" choice. I know the language. I've read a book. - _Madmatt
|
|
|
|
|
best choice for me yar... i didnt say for all... ok u want in access? right? i wil send u via mail...
|
|
|
|
|
hi biscoito ur mail id pls. i wil mail u the porgram from which i learnt. its i access...
|
|
|
|
|
1) you should be responding to the op
2) the op is a fool if they take advice or examples from you since you can't even respond to the correct post and don't know what c# is or which database edition to choose let alone the other posts you have made I know the language. I've read a book. - _Madmatt
|
|
|
|
|
i just said i'm confortable with it man.. thats all dont start scolding me..
|
|
|
|
|
Noone in their right mind is going to give you their email address.
|
|
|
|
|
how should i take it as?
A compliment?
|
|
|
|
|
sidhu hacks wrote: best choice for me yar
Are you the one that's going to be running the code? Storing the information? No. Your application requirements dictate the database you use, NOT your confort level with it.
|
|
|
|
|
since he asked for db connection i thoguht he s a noob like me.. and so i told him wat i felt thats all.... chill out...
|
|
|
|
|
you've got a new fan!
|
|
|
|
|
required
using System.Data.OleDb;
Declaration part
string id;
string sqlQRY;
OleDbConnection cn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Application.StartupPath + "/Data.mdb");
OleDbCommand cmd = new OleDbCommand();
OleDbDataReader dr;
Open the connection in this statement
cn.Open();
its like database items loading in a list
cmd.CommandText = "SELECT * FROM tbladmin ORDER BY ID ASC";
cmd.Connection = cn;
dr = cmd.ExecuteReader();
while (dr.Read())
{
ListViewItem list = new ListViewItem(dr[0].ToString());
list.SubItems.Add(dr[1].ToString());
list.SubItems.Add(dr[2].ToString());
listView1.Items.AddRange(new ListViewItem[] { list });
}
dr.Close();
this is wat i can help for now.. it tedious cant post the whole code here.. sending ur mail id wil help....
others pls gimme a break .. stop pulling my leg...
|
|
|
|