Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Basic
Message
 
To
06/07/1999 14:21:35
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00237163
Message ID:
00237918
Views:
10
>>Craig,
>>
>>Probably because I didn't know any better! This code was an experiment so I am in the learning stage. What are the differences betwen VBA and Word Basic? I was under the mistaken impression that they were the same animal! Any help you could give will be greatly appreciated.
>>
>>
>>
>>Paul
>
>WordBasic was the macro language with older versions of Word...and worked for Word only. Beginning with Office 97, most office products use VBA. The exception is Outlook, which uses VB Script. What's nice is that you only need one macro language across Office products AND MS licenses VBA to many other companies for use in their products.

PMFJI. WordBasic does offer one advantage if your customers use a mixture of Office 95 and Office 97. Word 95 uses only WordBasic, and Word 97 uses VBA (preferred), but Word 97 can also deal with WordBasic. So, if you use WordBasic in your code, you can reach a larger audience.

It is also fairly easy to determine which version of Word is present. You could have two methods for your VFP-to-Word connection (one in WordBasic and the other in VBA), determine which version of Word is in use, and then execute the appropriate method.

Of course, if you just wrote one method in WordBasic, you wouldn't care which version of Word was running, because they will both recognize WordBasic.

Now, here's an interesting rumor I heard recently...future versions of Word will use VBA only; WordBasic will no longer be supported. I have not been able to verify this through my sources, but if it is true, then obviously one wouldn't want to use WordBasic for future development.

Comments?

Thanks -- Bill
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform