DelphiTools – Visual Basic in its various incarnations and off-springs has super-powers when it comes to OLE Automation, aka late-bound COM through IDispatch. Super Powers? For instance, when doing MS Word OLE automation, you can in VBS and VBA write things like WordApp.Documents.Name which in Delphi (and many others) has to be written as WordApp.Documents.Item(1).Name and it can also call some methods like set v1 = WordApp.CentimetersToPoints(2.5) set v2 = WordApp.InchesToPoints(2.5) which Delphi, FreePascal, PowerBasic, Python, C++’s CComPtr and others are unable to call, and which instead result ...
Visits by Source
Users who voted for this posting