Link to home
Start Free TrialLog in
Avatar of dgmoore1
dgmoore1Flag for United States of America

asked on

VB vs. VBA - dumb question; please humor me

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.
Avatar of Patrick Matthews
Patrick Matthews
Flag of United States of America image

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 :)
Avatar of dgmoore1

ASKER

I'm even less experienced with VB .net, alas...
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
Avatar of 3_S
3_S

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.
ASKER CERTIFIED SOLUTION
Avatar of carsRST
carsRST
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I think this might be my best approach
I mean to use VBScript, that is...