Re: MS-Word from PB with COM Interface
Posted: Tue Feb 04, 2025 10:10 pm
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.