VBA to VBS differences

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

wolfram.brod
Posts: 28
Joined: Tue Feb 24, 2009 7:43 am

VBA to VBS differences

Post by wolfram.brod »

Hello!
I wrote some VBA-Programs and now I want to transfes them to VBS to incluse them in MM. And now I get a lot of syntax errors.
Is there anywhere inthe www a page discribing the differences between VBA and VBS?

Thanks for your help
Wolfram
Peke
Posts: 17489
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: VBA to VBS differences

Post by Peke »

VBA = Visual basic for Applications (Mostly MS Office one)
VBS = Windows Scripting Host/Visual Basic Script
VBE = VBS encoded

They are very similar due the syntax but VBS have less power and more limitations due to its nature to be able embed in HTML.

Send me PM where I can look at example.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
wolfram.brod
Posts: 28
Joined: Tue Feb 24, 2009 7:43 am

Re: VBA to VBS differences

Post by wolfram.brod »

Thanks for your reply!
I know for example that VBS does'nt support "Type"-varables like X$, X%: all variables are variant-type. Therefor a DIM ... AS is not supported.
Next point: IF XXX IS NOTHING ... is not supported, but what to do instead?

I can't ask you to overlook all my VBA-Programm (and to do so in the future!!!), but there must be anywhere in the www a page, where all these don'ts and do-instead are listed, and I#m asking if anybody knows this page.

Thanks
Wolfram
botijo
Posts: 415
Joined: Fri Dec 07, 2007 3:20 am
Location: Ireland

Re: VBA to VBS differences

Post by botijo »

Peke
Posts: 17489
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: VBA to VBS differences

Post by Peke »

Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
wolfram.brod
Posts: 28
Joined: Tue Feb 24, 2009 7:43 am

Re: VBA to VBS differences

Post by wolfram.brod »

Hello!
I found a page which is what I searched for:
http://www.htmlgoodies.com/beyond/asp/v ... hp/3458611

:D Wolfram
Post Reply