Solved

VB vs. VBA - dumb question; please humor me

Posted on 2010-09-24
7
440 Views
Last Modified: 2012-05-10
I am a longtime VBA developer with advanced skills, but my experience with VB is very limited. What's the quickest way for me to learn to work with queries and tables in VB? I need to create an executable that will perform actions similar to those already implemented in a MSAccess app so it can run as part of a process on a server where MSOffice/Access is not installed.
0
Comment
Question by:dgmoore1
7 Comments
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 33755345
The very first thing to do: make sure that you are learning VB.Net and not VB6.  Despite the similar names, they are very different beasts :)
0
 

Author Comment

by:dgmoore1
ID: 33755352
I'm even less experienced with VB .net, alas...
0
 
LVL 33

Expert Comment

by:jppinto
ID: 33755401
The quickest way to learn VB is to start using it! :)

Install Visual Studio and buy a beginner book and start making something. You will have some doubts, some questions, that you can post for instance here at EE. The book will help you understand the principles of VB .Net. With a bit of practise you will see that it's not so hard to make the jump from VBA.

jppinto
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 10

Expert Comment

by:3_S
ID: 33755410
Do you already use ADO in VBA?
Then there is no much difference between VBA and VB6. Only in making the connection to you database

Some questions
Do you want to use early or late binding?
Do you want to use as DSN?

If you don't know what this mean just ask.
Then I can give an example code. Or you could post a part of you VBA code you want in VB.
0
 
LVL 16

Accepted Solution

by:
carsRST earned 500 total points
ID: 33755415
I'm unclear on your overall goal.  If it's to learn VB job reasons, then do what matthewspatrick says.  

If you have been given a task, the quickest way, given your skill set, is to create a VBS script.  Just use ADO to connect to your access database.  You do not have to have Access installed from where it's run.
0
 

Author Closing Comment

by:dgmoore1
ID: 33755627
I think this might be my best approach
0
 

Author Comment

by:dgmoore1
ID: 33755630
I mean to use VBScript, that is...
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now