I’ve installed Visual Basic Express edition (what the heck, it’s free) and I’m starting to work my way through it.
I recognize a lot of what I’m looking at from using VBA but a lot of it is still new. Slogging through online help and included samples is proving pretty painful so……
Are there any good books to get me up and running quicker?
Background:
I have done a pretty good amount of VBA and years ago I used to code in ANSI C, so I’m not totally ignorant of programming but I have to admit being new to Visual programming and the .NET environment.
I’d like recommendations for;
*A good all purpose beginners book that is not written for Dummys
*A good reference book covering the elements of functions. For example, I have no idea how to deconstruct;
Protected Overrides Function OnInitialize(ByVal commandLineArgs As System.Collections.ObjectModel.ReadOnlyCollection(Of String)) As Boolean
*A good book on real life solutions similar to the “Developer’s Handbook” series.
So hit me with it - what have you got?
I knew this was going to happen. Dot net pulled VB kicking and screaming into a full-fledged object oriented programming language and, on top of that, pulled it into the already labyrinthine family of Microsoft foundation classes. Knowledge of VB without knowledge of OOP and MFC is practically useless in dot net. I don’t mean to discourage you, but the learning curve you face is steep indeed. You might be better off learning the C# side of it first, and then backing into VB. Good luck.
Knowledge of VB without knowledge of OOP and ** MFC** is practically useless in dot net.
You don’t need to know MFC at all, OOP is very important, but MFC is not.
The differences between C# and VB.NET are syntactical. The .NET Framework is the common tie that binds them all.
VB.NET is C# (somewhat lighter) with basically VB syntax.
Learn about OOP, learn about the Framework. And dive headlong into it.
I can’t help you with book choices, I rarely purchase computer books, they are obsolete so quickly and the majority of the info is in the MSDN libraries anyway.
I found it helpful, and I can see how in many ways, dot net is MFC done right. Or at least better. MFC had many stages of development, and I was around for most of them. I feel like it gives me insight on how dot net is structured.
Anyway, for Zoid…
Regarding dissecting the OP’s line, you have a function with protected scope that overrides (the compiler will call it before the other one if it is in scope) another function of the same name, OnInitialize. It expects a copy (byval) of a variable that is a generic (of) string type found in an object nested to four levels (w.x.y.z) that returns either true or false.