How do I use VBScript instead of JavaScript

B

Bev Kaufman

I have seen some posts here that indicate that it is possible to use VBScript
instead of JavaScript. But when I open the Programming module, it loads
script.js. I have checked Tools Options and Editor Options and not seen
anything allowing me to select the language. The Editor program has File New
and File Open, but the submenus are disabled.
So how do I start coding in VBScript?
 
S

Shanty

You were headed in the right direction. There are 2 methods depending on
where you are with your form:
1. BEFORE you build your form, go to Tools > Options > Design tab and
select VBScript for the default programming language; or
2. AFTER you start building your form you can CHANGE THE DEFAULT SCRIPT
LANGUAGE. Extract your files and manually edit them. In the manifest.xsf
file, you will find an <xsf:scripts> tag and other jsscript references.
Remove this and you will be able to select another language. You might want
to clean up the .js files too, but you don't have to. Now go back and do #1
above.
 

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