VB for Apps Confusion

C

cincode5

Sorry to post this here and on Developer page, but hopefully one of you VB experts out there can help clarify something for me. I want to learn VB and can get VB for Apps from my employer. But is this version of VB designed for creating applications , or to provide a common programming language to manipulate MS apps, or both. Would learning VB from this version be advisable?
 
B

Bob Phillips

VB for Apps has the same fundamental language constructs as VB, and so you
should have no problem using it to learn VB. The thing about VBA, in most
instances, is that you have to have a good understanding of the host
application object model to do anything meaningful, as you cannot create a
standalone executable as you could with VB.

There are some differences, but they tend to be in the more obtuse uses (VB
forms have menus, VBA forms don't, VB forms have Load event, VBA have
Initialize, etc.). Most VB code can be adapted to VBA, and VBA can be
adapted to VB but this requires more work as you need to work with the
application instance, whereas this is defaulted in VBA.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

cincode5 said:
Sorry to post this here and on Developer page, but hopefully one of you VB
experts out there can help clarify something for me. I want to learn VB and
can get VB for Apps from my employer. But is this version of VB designed
for creating applications , or to provide a common programming language to
manipulate MS apps, or both. Would learning VB from this version be
advisable?
 
C

cincode5

Thanks Bob... This was helpful information as my intent is to create standalone exe's. I will skip VBA for now and focus on VB instead.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top