VBScript is being deprecated in future releases of Windows


VBScript is being deprecated in future releases of Windows.

VBScript will be available as a feature on demand before being retired in future Windows releases. Initially, the VBScript feature on demand will be preinstalled to allow for uninterrupted use while you prepare for the retirement of VBScript.

Source:

See also:
 
Last edited:
Source:

See also:
Hi @Brink

What then happens to all those EXCEL macros written in VBS. Ms must provide similar or loads of queries and procedures will just stop working. That will please a load I'm sure. !!! In Woed and Power point not so much of an issue.

If One can't query SQL databases to bring data into EXCEL and run procedures it's going to limit the usefullnes of EXCEL quite a lot.

Cheers
jimbo
 

My Computer My Computer

At a glance

Windows XP,11 Linux Fedora Rawhide pre-releas...2 X Intel i7
OS
Windows XP,11 Linux Fedora Rawhide pre-release 46
Computer type
PC/Desktop
CPU
2 X Intel i7
Screen Resolution
4KUHD X 2
What about the VB-like programming language that is built in to all Office apps?

In particular, there are many small businesses that depend on Access database apps written in VB.
 

My Computer My Computer

At a glance

Win11 ProAMD Ryzen 5 5500U16 GBRadeon 2100
OS
Win11 Pro
Computer type
PC/Desktop
Manufacturer/Model
BeeLink SER Mini
CPU
AMD Ryzen 5 5500U
Motherboard
BeeLink SER
Memory
16 GB
Graphics Card(s)
Radeon 2100
Sound Card
none
Monitor(s) Displays
Primary: Phillips 4K; Secondary: LG 4K
Screen Resolution
Both 3860 x 2160
Hard Drives
C: NVme 500 GB Windows only
D: 128 GB NVme User data + Windows Temp via Junction Link
PSU
External
Case
Mini
Cooling
Internal fan
Keyboard
Logitech Wireless Lighted
Mouse
Kensington ExpertMouse wireless trackball
Internet Speed
500/500
Browser
Brave
Antivirus
Windows Defender
What about the VB-like programming language that is built in to all Office apps?

In particular, there are many small businesses that depend on Access database apps written in VB.
Word and EXCEL I know use vbs -- I have loads of spreadsheets with lots of macros in them as I'm sure so do many others. I'm sure businesses don't want to waste a load of time and expense by re-writing these EXCEL sheets -- also some are archived for years.

I wonder if Ms has really thought this one out -- I sort of doubt it.- I often retrieve data from SQL databases such as Mariadb and extract to worksheets in EXCEL

e.g

Screenshot_20231013_104735.png



Screenshot_20231013_105024.png


cheers
jimbo
 

My Computer My Computer

At a glance

Windows XP,11 Linux Fedora Rawhide pre-releas...2 X Intel i7
OS
Windows XP,11 Linux Fedora Rawhide pre-release 46
Computer type
PC/Desktop
CPU
2 X Intel i7
Screen Resolution
4KUHD X 2
I don't understand why people are reading
VBScript, [Visual Basic Script, VBS]
but thinking
Visual Basic for Applications [VBA]
which is what MSOffice components such as Excel & Access use for scripting.
MS's announcement only mentions VBScript [VBS]

VBA only uses VBS methods when expressly & specifically loaded as a Reference [Microsoft scripting runtime].
If I remember correctly, I need that Reference if my VBA uses the FileSystemObject which is, strictly speaking, not part of VBS but its methods just make it look like it is.
VBA, Tools, References.png


All the best,
Denis
 
Last edited:

My Computer My Computer

At a glance

Windows 11 Home x64 Version 26H2 Build 26300....
OS
Windows 11 Home x64 Version 26H2 Build 26300.9457
It is about time they got rid of it, I disable it since XP and I never missed it. It is only abused by malware.
Now lets do the same with PowerShell 5 and Windows will be finally safe by default, well except for lolbins.
 

My Computer My Computer

At a glance

Home2FH2CanAMD Ryzen 5 8600G (07/24)2x32GB Kingston FURY DDR5 5600 MHz CL36 @5200...ASROCK Radeon RX 6600 Challenger D 8G @48FPS ...
OS
Home2FH2Can
Computer type
PC/Desktop
CPU
AMD Ryzen 5 8600G (07/24)
Motherboard
ASROCK B650M-HDV/M.2 (07/24) BIOS 4.43 AGESA ComboAM5 1.3.0.1b Patch A (07/26)
Memory
2x32GB Kingston FURY DDR5 5600 MHz CL36 @5200 CL40 (07/24)
Graphics Card(s)
ASROCK Radeon RX 6600 Challenger D 8G @48FPS (08/24)
Sound Card
Creative Sound BlasterX AE-5 Plus (05/24)
Monitor(s) Displays
24" Philips 24M1N3200ZS/00 (05/24)
Screen Resolution
1920×1080@165Hz via DP1.4
Hard Drives
Kingston KC3000 NVMe 2TB (05/24)
ADATA XPG GAMMIX S11 Pro 512GB (07/19)
PSU
Seasonic Core GM 550 Gold (04/24)
Case
Fractal Design Define 7 Mini with 3x Noctua NF-P14s/12@555rpm (04/24)
Cooling
Noctua NH-U12S with Noctua NF-P12 (04/24)
Keyboard
HP Pavilion Wired Keyboard 300 (07/24) + Rabalux 76017 Parker (01/24)
Mouse
Logitech M330 Silent Plus (07/26)
Internet Speed
500/100 Mbps via RouterOS (05/21) & TCP Optimizer
Browser
Edge, Brave for YouTube, LibreWolf for FB
Antivirus
NextDNS blocking 1/3 Traffic
Other Info
Phone: Motorola Moto G86 (02/26)
Backup: Hasleo Backup Suite (PreOS)
Headphones: Sennheiser RS170 (09/10)
Chair: Huzaro Force 4.4 Grey Mesh (05/24)
Notifier: Xiaomi Mi Band 9 Milanese (10/24)
FlexCore USB-C 3.2 Gen 1 (M) to LAN (F) (08/25)
I don't understand why people are reading
VBScript, [Visual Basic Script, VBS]
but thinking
Visual Basic for Applications [VBA]
which is what MSOffice components such as Excel & Access use for scripting.
MS's announcement only mentions VBScript [VBS]

VBA only uses VBS methods when expressly & specifically loaded as a Reference [Microsoft scripting runtime].
If I remember correctly, I need that Reference if my VBA uses the FileSystemObject which is, strictly speaking, not part of VBS but its methods just make it look like it is.
View attachment 74192


All the best,
Denis
How do you separate VBS from VBA -- it's at executable level I.E it will be at the .exe level where problems will arise.

E.g I could have a thing called Rottweiler.bite -- which is say a wrap around of Rottweiler.exe. (Sorry for my doggy things today - but I wasn't going SHOPPING on a Sat afternoon whatever SHE said, and I love my dogs).

You could deprecate things running on Rottweiler.bite but the internal apps needing Rottweiler.exe would still need that executable.

This will be the problem with deprecating vbs even if vba will still run. And if vbs is deprecated how will you call vba to run it,

Cheers

jimbo
 
Last edited:

My Computer My Computer

At a glance

Windows XP,11 Linux Fedora Rawhide pre-releas...2 X Intel i7
OS
Windows XP,11 Linux Fedora Rawhide pre-release 46
Computer type
PC/Desktop
CPU
2 X Intel i7
Screen Resolution
4KUHD X 2
We seem to be talking at cross-purposes.

VBA continues to work even if VBS is disabled.

VBS has been disabled on this computer
VBS disabled.png
yet

VBA still works.png



How do you separate VBS from VBA
They exist separately.

it's at executable level I.E it will be at the .exe level where problems will arise
VBA does not create .exe files. It exists as code in the Visual Basic Editor of MSOffice applications.

E.g I could have a thing called Rottweiler.bite -- which is say a wrap around of Rottweiler.exe
Since we are discussing VBA then what you would have would be a spreadsheet called Rottweiler.xlsm [or Rottweiler.xlam if it's structured as an add-in for use within one or more spreadsheets].

if vbs is deprecated how will you call vba to run it
The same way I do now. I open an MSOffice file and I run the VBA code that is within the Visual Basic Editor of that file.




Merry Christmas,
Denis
 

My Computer My Computer

At a glance

Windows 11 Home x64 Version 26H2 Build 26300....
OS
Windows 11 Home x64 Version 26H2 Build 26300.9457
We seem to be talking at cross-purposes.

VBA continues to work even if VBS is disabled.

VBS has been disabled on this computer
View attachment 74217
yet

View attachment 74218




They exist separately.


VBA does not create .exe files. It exists as code in the Visual Basic Editor of MSOffice applications.


Since we are discussing VBA then what you would have would be a spreadsheet called Rottweiler.xlsm [or Rottweiler.xlam if it's structured as an add-in for use within one or more spreadsheets].


The same way I do now. I open an MSOffice file and I run the VBA code that is within the Visual Basic Editor of that file.




Merry Christmas,
Denis
Thanks for clearing that up == wasn't clear from the Ms directive,

Cheers
jimbo
 

My Computer My Computer

At a glance

Windows XP,11 Linux Fedora Rawhide pre-releas...2 X Intel i7
OS
Windows XP,11 Linux Fedora Rawhide pre-release 46
Computer type
PC/Desktop
CPU
2 X Intel i7
Screen Resolution
4KUHD X 2

Latest Support Threads

Back
Top Bottom