|
Hi Daniel,
First, congrats on getting started with C#!!!
My book is supposed to be on the shelves this week or next. In fact, my editor said that she got copies on her desk *today*.
With regards to C# books it really depends on what you're looking for. All the MS Press books are meant to compliment one another. For example, Petzold has tons about GDI and Windows Forms while Richter is about .NET internals. My book is specifically about C# and some of the main BCL classes (string and reg expressions, streaming, com interop, exceptions, etc.)
You can find out more info here. Drop me an email if you have any further questions and I'll be happy to help.
Cheers,
Tom Archer
Author, Inside C#
Please note that the opinions expressed in this correspondence do not necessarily reflect the views of the author.
|
|
|
|
|
Tom Archer wrote:
Hi Daniel,
First, congrats on getting started with C#!!!
My book is supposed to be on the shelves this week or next. In fact, my editor said that she got copies on her desk *today*.
With regards to C# books it really depends on what you're looking for. All the MS Press books are meant to compliment one another. For example, Petzold has tons about GDI and Windows Forms while Richter is about .NET internals. My book is specifically about C# and some of the main BCL classes (string and reg expressions, streaming, com interop, exceptions, etc.)
Hi Tom,
I was in Chapters book store tonight and I only saw your first edition (I think). I didn't look at it too closely because it wasn't the lastest-and-greatest, and I had 20 other books to sift through. I'm not sure exactly what I'm looking for, but it sounds like I need a mix of your book and Petzold's. Ah, what the heck... I'll get both I'll keep my eyes peeled for your book. Would you happen to know if Chapters will be stocking it? Thanks for the info Tom.
Marcus (aka - Daniel )
Make no little plans; they have no magic to stir your blood to action. Make big plans, aim high in work and hope
-- Daniel Burnham
|
|
|
|
|
Hi Daniel ..., er, Marcus
I just checked on the Chapters Web site and it looks like they'll be carrying the book.
Cheers,
Tom Archer
Author, Inside C#
Please note that the opinions expressed in this correspondence do not necessarily reflect the views of the author.
|
|
|
|
|
It looks like we're finally shipping! Also, Amazon is combining my book with Petzold's with a special price.
Cheers,
Tom Archer
Author, Inside C#
Please note that the opinions expressed in this correspondence do not necessarily reflect the views of the author.
|
|
|
|
|
The best of both worlds!! Thanks again Tom.
Marcus
Make no little plans; they have no magic to stir your blood to action. Make big plans, aim high in work and hope
-- Daniel Burnham
|
|
|
|
|
You're very welcome Marcus and judging from the prices I saw on the Chapter site, a much better financial deal! Once you get the book always feel free to ping me with any questions.
Cheers,
Tom Archer
Author, Inside C#
Please note that the opinions expressed in this correspondence do not necessarily reflect the views of the author.
|
|
|
|
|
I have Charles Petzold's C# book from Microsoft Press, however the book, also from Microsoft Press "Microsoft Visual C#.NET STEP BY STEP" by John Sharp and Jon Jagger is rather well written. It covers not only a lot of the structures of the language but how to do a lot more with the designer. I have also looked through Tom Archer's book, however I to am waiting for the second edition to come out.
Nick Parker
This is a non-Calculus course as long as you know things like line integrals and surface integrals...
|
|
|
|
|
The Step by Step books are definitely better than I anticipated. I just purchased the MC++ one and love it. The main diffs between my C# book and the SBS book is that it covers the designers whereas my book is specifically about the language. Therefore, I cover the language to a much greater level of detail. However, it is also a really good book.
Cheers,
Tom Archer
Author, Inside C#
Please note that the opinions expressed in this correspondence do not necessarily reflect the views of the author.
|
|
|
|
|
I didn't know there was a book in MC++! What's the title and author and do you think is worth it for intermidiate level?
Thanks
Al
|
|
|
|
|
Intermediate C++ programmers in general or someone that already considers themselves intermediate in MC++ ?
As a beginner to MC++, but extremely exerienced in VC++, I thought it was great because it was straight to the point without any fluff. I also love the step by step, tutorial type of writing. However, it is meant for people with absolutely zero MC++ experience.
I think you're going to find that of any .NET language book at this point because publishers are not going to chance writing for the minority that already know this stuff. Even my second edition of Inside C#, while having lots of cool intermediate and advanced level stuff - also assumes from the beginning that you have no experience. As I said, there's no publisher that's going to let you do it any other way.
Cheers,
Tom Archer
Author, Inside C#
Please note that the opinions expressed in this correspondence do not necessarily reflect the views of the author.
|
|
|
|
|
I only see 2 books available for MC++ (at Amazon)
Essential Guide To Managed Extensions For C++
by Siva Challa, Artur Laksberg
and
Managed C++ and .NET Development
by Stephen R., G. Fraser
Which one do you think I should get? Any other MC++ books our there? Where can I get them?
Thanks
Al
|
|
|
|
|
The Step by Step one is here. I personally like it much better than the APress book (I have both). But then again, I don't really care for the APress style. I'm not familiar with Fraser book so I can't comment on it.
MS Press definitely made a mistake when it didn't put "managed extensions" in the title as that's what people will look for to separate a VC++.NET book that is mainly MFC (like mine) vs a VC++.NET book that is ME.
Cheers,
Tom Archer
Author, Inside C#
Please note that the opinions expressed in this correspondence do not necessarily reflect the views of the author.
|
|
|
|
|
I just go it!! Thanks!
Yes isn't easy to find as I seach using: "Managed C++"
I can't wait to read it! I am like an Star Wars fan waiting for Episode II!
Al
|
|
|
|
|
Congratulations!
It's awesome when you get the green light to go ahead and write C#.
The first book I ever got about .NET and last was Inside C# by Tom Archer. It's a very good reference book.
Hope that help
Al
|
|
|
|
|
And guess what! They're paying for the books (the Archer and Petzold). I love this job. You'll have to excuse me... it's time to place an order.
Thanks everyone!
BTW - Now I can afford the The Career Programmer - Guerilla Tactics....
Marcus
Make no little plans; they have no magic to stir your blood to action. Make big plans, aim high in work and hope
-- Daniel Burnham
|
|
|
|
|
Hi everyone. I'm new to C# and am having a bit of difficulty with the TreeView control. I've managed to successfully set up a TreeView control that will allow a user to browse all the directories of his/her logical drives and select a certain directory. However, when this TreeView control starts, the only nodes displayed are the top nodes (logical drives). I'd like to the tree to automatically expand itself to the user's current directory when it loads up. I've searched MSDN and have been unable to find the attributes/function combination that will allow me to do this. Any help would be greatly appreciated. Thanks.
- Sabran
|
|
|
|
|
TreeNode.Expand() or TreeNode.ExpandAll()
|
|
|
|
|
Thanks. I think that might be what I was looking for.
- Sabran
|
|
|
|
|
I have another question along the same lines. If I know the path of a TreeNode I want to pull from the TreeView object, how do I do this?
- Sabran
|
|
|
|
|
If you knew this path at compile time then you may just want to hold onto a reference to the TreeNode object when you created it so it will be handy.
The alternative is to just drill down on the Nodes collection to get to it; again, if you knew where you put it at compile time.
If the revelation of it became known at runtime, i.e. it was passed in on an event, just call the Remove method on the node itself.
Yet another method would to mark special nodes by putting something in the Tag property, you could then enumerate the entire tree and pluck out the nodes your after.
Does this answer the question?
|
|
|
|
|
Thanks for your help. Unfortunately, the tree is constructed and used for another purpose before I want to deal with opening it up to a specific directory. I took your advice, however. After I developed the tree, I ended up just enumerating through it until the path specified by the user was the same as one of the node's full name. I think what I was looking for was a method for the TreeView to automatically return a node given a path. Like:
TreeNode returnNode(string path)
which would ideally return the node whose fullName matched "path" (or null if no match could be found). Which actually happens the function I ended up implementing. Anyway, thanks for the help.
- Sabran
|
|
|
|
|
When you see the PathSeparator property of TreeView and the FullPath property of TreeNode, It would leave you to believe that it also has a built-in searching mechanism that utilizes these. If it does, I have not found it.
Regards
|
|
|
|
|
Hello everyone!,
I've lingered code project reading posts etc for a quite a while (say 3-4 months). Im proud to say I am now part of the community.
Ok now for my first question: Recently i have decided to mess around a little with .net so i have made an app, a MDI app. I have 3 different forms inside it as child windows. How would it be possible to exchange data across the forms(I.E. Click a button on one form have my app retreive a string from a text box on another and add the string into a list box on the third)? I am capable of doing each of thoes if it was on one form but im unware to how I would make the three Forms communicate. I hope you can understand my question, if not let me know i will gladly rephrase it so that it may possibly be understandable.
|
|
|
|
|
brian1415 wrote:
Im proud to say I am now part of the community.
Welcome
I can think of a couple different options, both require the child forms to be aware of the parent. The first one is the best though and I'll explain how to do it.
The first has the child forms knowing only about itself and the parent. When data needs to be exchanged it tells the Parent form to do it.
The second requires the child forms to know about the parent and the other child windows. This can make maintenance a nightmare but opens the door up a bit for what you want to do.
Assume the parent form is of type ParentForm. Then to get a reference to the parent from the child you would do ParentForm p = this.Parent as ParentForm .
Now that you have a reference to the ParentForm you can call methods on it... When you want to pass data around you tell the parent to pass the data by calling a method on it. That method tells the other child window what to do. The ParentForm is aware of all child windows.
Difficult for me to explain in English, but pretty easy to do in code
James
Simplicity Rules!
|
|
|
|
|
Hello thank you for the help!, but I've been fiddling around with my app trying to do what you suggested but im not sure if I understand ... I know you are probably busy but if it would not be to much trouble could you possibly post/Email me a quick code snippet so that I may understand? My knoledge of WinForms is very limited.
Thank you once again...
|
|
|
|