Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / January 2008

Tip: Looking for answers? Try searching our database.

How do I use VBScript instead of JavaScript

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bev Kaufman - 18 Jan 2008 22:48 GMT
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?
Shanty - 18 Jan 2008 23:08 GMT
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.

> 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?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.