Page 1 of 1

VB Script and WWB

Posted: Tue Jan 12, 2021 6:36 am
by ShawnInPaso
Hello,

I have a VB script I wrote long ago that I'd like to reuse in my WWB project. It doesn't work as expected, so I searched the forum for similar issues and could not find anything on the topic. Is it possible that VB script is not usable in WWB?

The script changes images based on the day of the month. When I used it in the past, the script ws simply inserted into the body of the page.

Currently using WWB 15.4.4 on a Windows 7.x PC.

Thanks for any help.

Shawn

Re: VB Script and WWB

Posted: Tue Jan 12, 2021 7:11 am
by Pablo
Whether or not VB-script works has nothing to do with with WWB. The code will be published "AS IS", it's up to the browser to execute the code.
However, I don't think there are any modern web browsers that still support VB-Script.
This use to work in IE only.

Re: VB Script and WWB

Posted: Tue Jan 12, 2021 8:21 pm
by ShawnInPaso
I wasn't too clear in my post. The script does work, I was just uncertain if there was something prohibiting it from working with WWB.
Now I know, time to re-write in java script I suppose.

Thanks as always Pablo.

Re: VB Script and WWB

Posted: Tue Jan 12, 2021 9:02 pm
by Pablo
If the script works elsewhere, then it will also work with WWB.