-
Vb code!!
I would like to know of any book that teaches JUST the VB code. I know how to use Visual Studio and create forms and GUIs. I want to learn the CODE because the GUI I understand. I am new to VB but I want to delve into the code more than the Interface because my coding skills are inadequate and I feel I need more code knowledge. Please help
Randy
-
Re: Vb code!!
When you say you are green and you say VB and Visual Studio I'll assume you really mean VB.Net instead of actual VB, VBA, or VBScript.
In any case the answer is the same: read the documentation that came with the product. Don't skim, READ it. You might actually find the investement pleasant, uncovering gems in there you never imagined.
You can parallel this with a trip to the bookstore (or Amazon, etc.) and check the relevant section. There really is no shortage of books. Don't expect them all to be great, that's all.
Have I said anything that isn't obvious?
-
Re: Vb code!!
The way I learnt VB6 was really by studying code examples I found on the net to be honest I did buy a few books but none of them came close to what I learnt on my own by looking at example code and reading tutors of the net. The only book I did find useful out of my collection was one called "Mastering Visual Basic 5" even though I was using VB6 it had some of the best projects in it I ever seen and explain in good detail with out all the pages of jargon that most book give you.
Here a link to mastering VB6 book
http://www.amazon.co.uk/Mastering-Vi...6183032&sr=8-8
Also a little pocket reference for VB.NET
http://www.amazon.co.uk/VB-NET-Langu...182899&sr=8-11
I Got this book my self for VB.NET it got some intresting stuff in it like
http://www.amazon.co.uk/Visual-Basic...183032&sr=8-14
You can also find some nice tutors here on pscode
http://www.planet-source-code.com/vb...s.asp?lngWId=1
Good luck
-
Re: Vb code!!
Here is the VB code example:
Dim code128 As New Control.Linear()
Valid_Data = "128128128128
Width_X =
Height_Y = 20
Display_Text = True
Resolution = 72
UOM = Control.UnitOfMeasure.Pixel
Auto_Resize = True
-
Re: Vb code!!
I doubt there is a book out there that teaches the code and not the GUI. After all, using VS and creating a GUI are fairly basic subjects, and basic books are always much easier to write. When you get beyond the basics, as you seem to be looking for, the problem set begins to diverisfy wildly. Introductory concepts are small and containable, but intermediate concepts are all over the map. There are books on TCP and books on database access (especially for single types of databases such as SQL Server or Access). There are books on graphics programming using GDI and more exotic forms such as WPF and XNA. Despite there being books on TCP, there are also books on WCF, which may or may not make use of TCP. There are books on multithreaded programming that don't really care what problem you are threading.
All of these books use code that is appropriate for that subject, but they generally don't stray much from their topic. Any good language reference, such as the one from O'Reilly would cover all the basic code constructs used in any of those books as far as flow control (If, For, Do, and the like), as well as some discussion of Object Oriented design. However, a language reference is rarely much use for learning a language, but only as something to have at hand while learning from elsewhere. Once you get beyond those introductory books, the problem always comes down to solving specific problems rather than a book that covers a much broader set of subjects.
-
Re: Vb code!!
If you are using a GUI then it is difficult to find anything that would not also focus on the GUI since that is a large part of it. VBScript books would be pretty much just code related but that is just a small portion of what VB can do and not really related to VB.Net so if you are using a version of VB newer than Version 6 [1998] then VBScript code or VBA would not be of much help.
You could search for sample console mode apps which would be pure code since there are no forms in a console app.