5
votes
Vote UpVote

Gaining Visual Basic OLE super-powers

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[1].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 ...
Favorite? Off-Topic? Eric @ 2013-04-30 08:53

Statistics

Visits: 700
Votes: 5
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
AndréFM
Chris Rolliston
Ericc
Zzzzz
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)