Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Categories
  • Forums
  • Knowledge Center
  • Blogs
  • Ideas
  • Events & Webinars
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Share Your Feedback – Help Us Improve Search on Community!
Please take a few minutes to participate in our Search Feedback Survey. Your insights will help us deliver the results you need faster and more accurately.
Click here to take the survey

VBScript Deprecation Plan

EcoStruxure Geo SCADA Expert Forum

Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).

Search in

Improve your search experience:

  • Exact phrase → Use quotes " " (e.g., "error 404")
  • Wildcard → Use * for partial words (e.g., build*, *tion)
  • AND / OR → Combine keywords (e.g., login AND error, login OR sign‑in)
  • Keep it short → Use 2–3 relevant words , not full sentences
  • Filters → Narrow results by section (Knowledge Base, Users, Products)
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Remote Operations
  • EcoStruxure Geo SCADA Expert Forum
  • VBScript Deprecation Plan
Options
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
sbeadle
Kirk sbeadle Kirk
321
AndrewScott
Admiral AndrewScott
116
BevanWeiss
Spock BevanWeiss
99
View All

Recommended Forums

  • Remote Operations Forum

  • APC UPS Data Center & Enterprise Solutions Forum

Related Products
product field
Schneider Electric
EcoStruxure™ Geo SCADA Expert

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to EcoStruxure Geo SCADA Expert Forum
Start a Topic
Solved
IntendingTotalFreedom
Crewman IntendingTotalFreedom
Crewman

Posted: ‎2025-11-26 11:31 AM . Last Modified: ‎2025-11-26 12:21 PM

0 Likes
6
266
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-11-26 11:31 AM . Last Modified: ‎2025-11-26 12:21 PM

VBScript Deprecation Plan

Hello Everyone,

Obviously Microsoft is deprecating VBScript from Windows OS'es over the next few (10?) years, eventually to make it so no Windows OS ships with the needed components: https://techcommunity.microsoft.com/blog/windows-itpro-blog/vbscript-deprecation-timelines-and-next-...

Will this matter for Geo SCADA Expert?

If so, is there a plan for migrating everyone's VBScript code to perhaps JavaScript or carrying support forward despite Microsoft deprecating VBScript?

On a related note, can anyone provide JavaScript example code similar to the provided VBScript examples of the function calls for built-in Geo SCADA system features, like findObject and, etc. Do such examples already exist, but are buried? JavaScript has been a supported option as long as I can recall, but no information has been provided on how to use the same functions and features as the numerous VBScript examples in the Help articles that I've been able to scrape together, which means basically no one uses it. Is there perhaps some performance reason to discourage users from using JavaScript instead of VBScript? Even aside from the impending deprecation, there is a much larger talent pool familiar with JavaScript than VBScript, so it would be lovely to have the same level of support to enable JavaScript adoption in Geo SADA Expert and I would really appreciate any relevant JavaScript examples for using the standard Geo SCADA features we already have VBScript examples for.

Edit: Interesting - Geo SCADA does not seem to support the JavaScript popup boxes (alert, confirm, prompt) ... just says "Object Expected" when the interpreter gets to that line and errors out, lol.

Code:
function myRandomTest() {
  alert("What is Geo SCADA JavaScript support like?");
}

The code editor also does not recognize the "let" keyword for declaring variables in JavaScript since 2015 ...

Again - any assistance would be much appreciated.

Looking forward to hearing from you all,

Thanks!

Labels
  • Labels:
  • Scripting
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2025-11-26 09:04 PM

1 Like
0
230
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-11-26 09:04 PM

ViewX does already support JScript... as part of the Windows Scripting Engine currently in use within ViewX.

But JScript isn't quite JavaScript... and both JScript and VBScript will be deprecated by Microsoft.

 

GeoSCADA 2025 is intending on supporting JavaScript, and from the 'brochure' it looks like it will have a nice little AutoComplete engine and everything for it.  Which will be a great improvement.

 

2025-11-27 15_52_45-5_Geo SCADA Expert_July2025.pdf - [PowerPoint Presentation] - SumatraPDF.png

You could migrate your existing VBscript to JScript, to get things closer to JavaScript right now (I 'think' JScript is forward compatible with JavaScript, i.e. all valid JScript is valid JavaScript.. although the reverse is not true).

 

Your issue with JScript will still be that as something of a 'pure' language, it doesn't support nice alert(..) or MsgBox(..) constructs for platform specific actions, so you need to jump through more hoops for those things.  Things like Dialogs supported by ViewX should be 'fine'.. but once you leave the ViewX platform functionality and 'pure' language functionality things will get tricky... 

 

For your 'alert' equivalent...  the below might work (untested)

var shell = new ActiveXObject("WScript.Shell");
shell.Popup("text");

 

Which is what VBscript is pretty much doing behind the scenes...


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 6
BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2025-11-26 09:04 PM

1 Like
0
231
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-11-26 09:04 PM

ViewX does already support JScript... as part of the Windows Scripting Engine currently in use within ViewX.

But JScript isn't quite JavaScript... and both JScript and VBScript will be deprecated by Microsoft.

 

GeoSCADA 2025 is intending on supporting JavaScript, and from the 'brochure' it looks like it will have a nice little AutoComplete engine and everything for it.  Which will be a great improvement.

 

2025-11-27 15_52_45-5_Geo SCADA Expert_July2025.pdf - [PowerPoint Presentation] - SumatraPDF.png

You could migrate your existing VBscript to JScript, to get things closer to JavaScript right now (I 'think' JScript is forward compatible with JavaScript, i.e. all valid JScript is valid JavaScript.. although the reverse is not true).

 

Your issue with JScript will still be that as something of a 'pure' language, it doesn't support nice alert(..) or MsgBox(..) constructs for platform specific actions, so you need to jump through more hoops for those things.  Things like Dialogs supported by ViewX should be 'fine'.. but once you leave the ViewX platform functionality and 'pure' language functionality things will get tricky... 

 

For your 'alert' equivalent...  the below might work (untested)

var shell = new ActiveXObject("WScript.Shell");
shell.Popup("text");

 

Which is what VBscript is pretty much doing behind the scenes...


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
Reply

Link copied. Please paste this link to share this article on your social media post.

sbeadle
Kirk sbeadle Kirk
Kirk

Posted: ‎2025-11-27 12:52 AM

1 Like
1
212
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-11-27 12:52 AM

I don't think migrating now via JScript is necessary! VBScript will likely be around for a long time. (ActiveX is still with us!) There are indications that when when Microsoft remove it from a default install of Windows, it will be an add-on option.

 

The new Javascript V8 script engine (same as used by Chrome, Edge etc) will be available next year (Beta soon), so it won't be long before you can get your hands on it. You'll be able to run VBScript and Javascript side-by-side (e.g. VBScript on parent mimic, Javascript on embedded mimic), giving you time to update scripts to Javascript.

 

I used an online tool to convert VBScript to Javascript (many available) and for the script I tried it worked first time. (YMMV).

Reply

Link copied. Please paste this link to share this article on your social media post.

IntendingTotalFreedom
Crewman IntendingTotalFreedom
Crewman

Posted: ‎2025-12-01 07:22 AM . Last Modified: ‎2025-12-01 07:23 AM

0 Likes
0
137
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-12-01 07:22 AM . Last Modified: ‎2025-12-01 07:23 AM

Lol. I misread JScript as JavaScript. Apparently they are different dialects of the ECMAScript standard. Interesting point about the dialogs, thank you. I appreciate you for clarifying and giving some direction @BevanWeiss! 

Thank you for the reassurance @sbeadle! Interestingly, I see that the VBScript features aren't installed on MS Windows on several Geo SCADA servers I use, so does Geo SCADA depend on what MS does with VBScript features? Or is it simply the case that I can't find reliable information on how to check for that in Windows Server 2019 unlike Windows 10/11?

Thanks to you both!

Reply

Link copied. Please paste this link to share this article on your social media post.

sbeadle
Kirk sbeadle Kirk
Kirk

Posted: ‎2025-12-01 08:15 AM

0 Likes
0
134
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-12-01 08:15 AM

Currently Geo SCADA doesn't require any additional installation for its VBScript to work.

(Though you do have to install the Script Debugger separately if you want to debug - see: https://community.se.com/t5/Geo-SCADA-Knowledge-Base/Script-Debugger/ba-p/279039)

 

Reply

Link copied. Please paste this link to share this article on your social media post.

BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2025-12-02 08:45 PM

In response to sbeadle
0 Likes
0
117
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-12-02 08:45 PM


@sbeadle wrote:

...

The new Javascript V8 script engine (same as used by Chrome, Edge etc) will be available next year (Beta soon), so it won't be long before you can get your hands on it. You'll be able to run VBScript and Javascript side-by-side (e.g. VBScript on parent mimic, Javascript on embedded mimic), giving you time to update scripts to Javascript.

...


Will there be a new Script library option to bring in JavaScript libraries (not 3rd party.. just a collection of JavaScript functions, as we can do for JScript/VBScript currently), and an ability to call from JavaScript functions to JScript/VBScript?


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
Reply

Link copied. Please paste this link to share this article on your social media post.

sbeadle
Kirk sbeadle Kirk
Kirk

Posted: ‎2025-12-03 01:07 AM

1 Like
0
105
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-12-03 01:07 AM

The same script library feature will be in the JavaScript version. You can't mix VBScript and Javascript, e.g. you can't call a VBScript library from within a Javascript function on a mimic.

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 

You’ve reached the end of your document

WHAT’S NEXT?

Ask our Experts

Didn't find what you are looking for? Ask our experts!

My Dashboard

Check out the new Feeds and activities that are relevant to you.

To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support

    Ask our Experts

    Have a question related to our products, solutions or services? Get quick support on community Forums

    Email Us

    For Community platform-related support, please email us

Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

Welcome!

Welcome to your new personalized space.

of

Explore