An investment in knowledge
pays the best interest.
-Benjamin Franklin
 
Home   News   Tips   Glossary   Templates   Forums   Help   Logon   Order   Contact Us  
 

News      User Comments     History     Notify Me

4/2/2008 3:02:03 AM
VB vs. VBA
By Richard Rost   Richard Rost on Facebook Richard Rost on Twitter Richard Rost on Google Plus Richard Rost on LinkedIn Email Richard Rost

 
Q: I am not a programmer by nature. A while ago, I purchased VB 101. Basic stuff. My goal is to become "decent" with VBA. How different is it from straight VB? Will your new VB courses take me in that direction? - Lou

A: Lou, VBA is a close cousin of VB.

VB is a self-contained programming environment used for building standalone programs.

VBA is used with other programs (Visual Basic FOR APPLICATIONS) like Word, Excel, and Access.

My VB courses will teach you the VB language, plus specific controls for use with building programs. A good solid foundation in VB will help you to learn VBA, yes... but there is also a lot of extraneous material you might never need (as there is with any class you take).

If you want to learn VBA, you should study the VBA specific to the programs you want to work with. For example, I cover a LOT of VBA in my Microsoft Access 300-series of classes. It's VBA that's specific to Access.

I will also be covering VBA specific to Word, Excel, and even Outlook in those classes.

Hope that answers your question.

Permanent Link
Keywords: vb vba access
Post Reply

correct courses for me Comment from Turnditch @ 8/31/2010
I want to design an accounting and inventory control program for my small business.  I am fairly good at excel and have been using it, but I want more.  I have taken your first few courses in access but it does not seem to be right for my needs.  I have just taken the first three courses in VB.  What do you suggest?
Show Just This Thread        Post Reply
VB Comment from Ron Oates @ 3/12/2010
I write a few programs in VB6 and use access as a database but VB6 only talks to Access 97 and all of our PCs at work have Access 2007. what is the best way to get around this when I have to make changes to tables etc.


Reply from Richard Rost:

Ron, I'm not familiar with any method of connecting to an ACCDB file (Access 2007) from VB6. I've never tried it. I would suggest, if possible, save your Access databases in the Access 2000 file format (which will still work with AC2007 front-end databases). If that's not possible, try a Google search and see if there is a DLL or other code out there that someone has developed for this. I'm sure Microsoft wants you to upgrade your version of VB though.
Show Just This Thread        Post Reply
Comment from Chris Bezant @ 4/19/2008
I rarely allow updating in my continuous forms in Access. I usually use the continuous form to select a record for processing and respond to a click that brings up a detail form for editing the record. In VB I did the same kind of thing by using a listbox containing several columns and responded to the click so I understand the listbox solution.
I just wondered if I was missing a better way. Thanks for the response and I look forward to the DBGrid tutorial.
You have turned me into an Access and VB junkie :o)
Regards
Chris
Show Just This Thread        Post Reply
Comment from Richard Rost @ 4/16/2008
Chris, creating a continuous form in VB is going to be really difficult. I've never actually tried to do this myself. In fact, to be honest, whenever I'm working with a VB program and need to do any kind of database connectivity aside from the most BASIC read/writes, I almost always try to use (or talk the client into) a Microsoft Access solution. You could try using a DBGrid or ListView control to accomplish what you want, but they're not going to give you the level of control that Access would. I'll cover these two controls in a future VB lesson.
Show Just This Thread        Post Reply
Comment from Chris Bezant @ 4/2/2008
I'd like to ask a similar question but don't know where to ask it.
Having taken all of your Access courses I have been quite taken with the VB ones as well. I would like to interface between VB and an Access database but my biggest problem is not understanding how to produce a continuous form. Can you help please, Richard???
Regards
Chris
Show Just This Thread        Post Reply

Add Your Comments or Subscribe
 
If you just want to subscribe to get email updates when the News is updated, then enter your name and email address and check the Notify Me box below. If you would optionally like to add your comments below to be posted, they are welcome.
 
  Your Name:  Required
  Your Email:  NOT Public
  Subject:
  Comments:

 

Sorry about this step. It's just to keep the spam bots away:
  Verify: What is 7+3:
  
  Notify me when the News is updated.
  Remember Me for my next comments
  
 
 
Please do not use this form for Customer Service inquiries! If you have questions about your account, shipping info, courses you've ordered, need passwords, etc. please use the Customer Service Center instead.

I value your comments. They will be displayed on this page (above). Your name will be displayed, but your email address will not be.
As always, I promise to never give away your personal information to anyone else, ever.

NOTE: If you don't leave your name and email address, DON'T expect a reply. I can't promise a personal reply to everyone who posts here. I TRY my best, but I cannot guarantee it. If you don't leave your real name and email address, I won't even bother. I usually just hit DELETE. -Richard

 

 

You may want to read these articles from the 599CD News:

11/20/2018Microsoft Access Developer 12
8/25/2018Microsoft Access Developer 11
8/25/2018Microsoft Access Developer 10
8/25/2018Microsoft Access Developer 9
7/31/2018Microsoft Access Developer 8
3/23/2018Microsoft Access Developer 7
2/22/2018Microsoft Access Developer 6
2/18/2018Microsoft Access Developer 5
2/10/2018Microsoft Access Developer 4
7/19/2017Microsoft Access Developer 3
 

Learn
 
Accessindex
Excelindex
Wordindex
Windowsindex
PowerPointindex
Photoshopindex
Visual Basicindex
ASPindex
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
Lost Password
Free Upgrades
Insider Circle
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Articles
Search Our Site
Waiting List
Production Schedule
Collapse Menus
Help
 
Live Chat
Customer Support
WalkThru Tutorials
Troubleshooting
FAQs
TechHelp
Consulting Services
About Us
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
MYOLP Memberships
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Gift CDs
Contact
 
Live Chat
General Info
Support Policy
Contact Form
Email Us
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

Google Plus    LinkedIn

Blog RSS Feed    YouTube Channel
Richard Rost Microsoft MVP