VBScript is amazing software. It makes me incredibly sad that Microsoft has deprecated it. Thankfully we still have VB in .NET, but it's not the same.mk-soft wrote: Tue Feb 04, 2025 9:31 pm I've also done a lot with COM Objects. For example, with OPC-DA.
But for little things with Word or Excel I do VB-Scripting. There are also many VBS examples for this.
To run VB-Script with PureBasic they wrote me these Module ActiveScript for VBScript and JScript
with the includes Modul_SmartTags.pb for Variant and VariantHelper.pb special for ActiveScript.
It is important if you have installed Office as x86, the PureBasic program must also be as x86.
MS-Word from PB with COM Interface
Re: MS-Word from PB with COM Interface
Re: MS-Word from PB with COM Interface
Not tried, but under Windows 11 there should still be VBS (VB-Scripting)
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: MS-Word from PB with COM Interface
There is, but it'll be removed in 2027 for good.mk-soft wrote: Tue Feb 04, 2025 11:41 pm Not tried, but under Windows 11 there should still be VBS (VB-Scripting)