VBScript is being deprecated in future releases of Windows


  • Staff
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:
 

Attachments

  • VBS.png
    VBS.png
    12.3 KB · Views: 0
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

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
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

System One

  • OS
    Win11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom build
    CPU
    Intel i5-12600K 3700 MHz
    Motherboard
    Asus B660-M
    Memory
    16 GB
    Graphics Card(s)
    none
    Sound Card
    none
    Monitor(s) Displays
    Primary: LG 4K; Secondary: Dell U2412M
    Screen Resolution
    Primary: 3860 x 2160; Secondary: 1200 x 1920
    Hard Drives
    C: Samsung NVme SSD970 256K
    E: 1 TB HDD
    F: 500K HDD
    W: Samsung SSD 840 128K
    Keyboard
    Logitech Lighted
    Mouse
    Kensington ExpertMouse 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

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
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

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
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

System One

  • OS
    Windows 11 Home
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 3600 & No fTPM (07/19)
    Motherboard
    MSI B450 TOMAHAWK 7C02v1E & IFX TPM (07/19)
    Memory
    4x 8GB ADATA XPG GAMMIX D10 DDR4 3200MHz CL16
    Graphics Card(s)
    MSI Radeon RX 580 ARMOR 8G OC @48FPS (08/19)
    Sound Card
    Creative Sound Blaster Z (11/16)
    Monitor(s) Displays
    24" AOC G2460VQ6 (01/19)
    Screen Resolution
    1920×1080@75Hz & FreeSync (DisplayPort)
    Hard Drives
    ADATA XPG GAMMIX S11 Pro SSD 512GB (07/19)
    PSU
    Seasonic M12II-520 80 Plus Bronze (11/16)
    Case
    Lian Li PC-7NB & 3x Noctua NF-S12A FLX@700rpm (11/16)
    Cooling
    CPU Cooler Noctua NH-U12S@700rpm (07/19)
    Keyboard
    HP Wired Desktop 320K + Rabalux 76017 Parker (01/24)
    Mouse
    Logitech M330 Silent Plus (04/23)
    Internet Speed
    400/40 Mbps via RouterOS (05/21) & TCP Optimizer
    Browser
    Edge (No FB/Google) & Brave for YouTube & LibreWolf for FB
    Antivirus
    NoAV & Binisoft WFC & NextDNS
    Other Info
    Headphones: Sennheiser RS170 (09/10)
    Phone: Samsung Galaxy Xcover 7 (02/24)
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

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
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

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
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

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Back
Top Bottom