I'm going to need to learn Visual Basic for work. Part of my job will be figuring out some old code and (hopefully) fixing it, as well as developing new code. This will be both VBA within Excel and freestanding applications. I want to pick up a book this week to start teaching myself VB. Which book do you recommend? I looked up the O'Reilly books online, and it looks like there are several for VB, so I'm not sure which one to get.
Any advice would be appreciated!
Any advice would be appreciated!
no subject
Date: 2007-11-20 04:27 pm (UTC)That said, I think Nick has done some VB in the past, so I'm curious if he has any recommendations.
no subject
Date: 2007-11-20 05:01 pm (UTC)One thing to be aware of is that with the last two revisions, Microsoft moved Visual Basic to the ".NET platform" - a common "unification" of all the programming languages (C++, C#, Java [j#], VB) so that all languages would have access to the same utility packages (libraries).
See Wiki page for the general amount of bitching and moaning this has caused - "Mainstream Support for Microsoft Visual Basic 6.0 ended on March 31, 2005. Extended support will end in March 2008.[5]" (Old VB vs New VB) ... your legacy code will really likely be "old VB", or the subset known as VBA (chunks of "Old VB" that were stapled into Office, that are used to script Excel). See http://en.wikipedia.org/wiki/Visual_Basic_for_Applications#Future (note it's "VSTA" not "Vista")
(Of course, people *also* bitched and moaned about VB -before- MS moved them to .NET)
So anyway. If integration with Excel is an issue, you're currently standing right on the border of a (potentially incompatible) transition in tech. (Office 2007 is still using the "old" engine)
From what I gather, it's *NOT* all that radically different for the usual day-to-day stuff. But still, "good times" guaranteed.
no subject
Date: 2007-11-20 05:02 pm (UTC)The Help / Tutorials that come with MS apps are actually decent sources of basic information too
VB
Date: 2007-11-20 05:44 pm (UTC)Step 2: Die
Step 3: Go to Hell
Step 4: Ask devil about possible repentance thru learning VB.
On a serious note I think our Senior projects boss wrote in VB, let me ask him....or have Ryan ask him.
no subject
Date: 2007-11-23 01:54 pm (UTC)(This is my standard response to questions about learning VB).
Seriously, VB is a horrible language, accept my condolences for having to deal with it.