Tech Articles


OLE - Extending the Capabilities of PowerBuilder Part 2


This two-part article provides a primer on OLE, some practical examples of its use, and demonstrates some methods for addressing the limitations of PowerBuilder's implementation of OLE.

In Part 1 I provided some background information for OLE and discussed the use of custom controls, in Part 2 I talk about OLE Automation and OLE objects.

OLE Automation
OLE Automation is the interface through which one application (e.g., Microsoft Outlook) makes the methods, properties, and events of its objects (e.g., Folders, Messages, Address Book) available for use within another application. Using OLE Automation, a developer could automate another application (e.g., creating and then printing form letters from Microsoft Word) or they may just use a portion of another application within their own (e.g., using the spell-check capability within Microsoft Word to spell-check text in a control within PowerBuilder).

Read more

OLE - Extending the capabilities of PowerBuilder Part 1


Using Object Linking and Embedding (OLE) from PowerBuilder - whether in OLE Automation or the use of ActiveX controls - has long been a source of frustration for many PowerBuilder developers.

There are several reasons for this:

  • There is a lack of a full understanding of OLE.
  • There is little documentation and practical examples of using OLE with PowerBuilder.
  • There are some limitations inherent in the method that PowerBuilder implements OLE.

This article is intended to address some of these issues by providing a primer on OLE, providing some practical examples of its use, and demonstrating some methods for addressing the limitations of PowerBuilder's implementation of OLE.

The first thing we need to do is cover some background information, beginning with some definitions of terms and then some explanation of how OLE works.

Read more

Find Articles by Tag

Encryption Filter WinAPI InfoMaker ActiveX Automated Testing Mobile Class Elevate Conference Charts Authorization Debugging Icon Web API Syntax Debug 32-bit Database Table Schema Variable Event Windows 10 Icons PostgreSQL ODBC driver PowerBuilder (Appeon) Jenkins C# Performance Source Control PBNI Windows OS Database Stored Procedure SnapDevelop Graph PDFlib SDK Bug .NET Std Framework Authentication .NET Assembly 64-bit PBVM Error SOAP OrcaScript External Functions IDE PowerBuilder Platform Script CrypterObject OAuth PFC Event Handling Expression Application Database Connection DataWindow JSON License NativePDF Linux OS Text Azure Trial PBDOM Database Table DragDrop Validation Oracle Interface SQL UI Themes RichTextEdit Control Outlook File TFS Messagging .NET DataStore PowerScript (PS) Export SnapObjects DataType PowerServer Mobile Android SqlExecutor DevOps Source Code ODBC RibbonBar Builder iOS Repository XML REST Resize Model Design DLL SqlModelMapper Branch & Merge Open Source API TortoiseGit COM RESTClient BLOB OLE Configuration Array SQL Server Testing Transaction CoderObject Import Menu Visual Studio Window RibbonBar TLS/SSL HTTPClient Git Event Handler Excel Export JSON OAuth 2.0 PowerBuilder Compiler Data Installation Database Object Import JSON Deployment GhostScript Encoding Database Painter JSONGenerator Database Profile PowerServer Web MessageBox Migration DataWindow WebBrowser SVN Web Service Proxy Service Debugger JSONParser UI UI Modernization CI/CD TreeView PostgreSQL Database Table Data PDF Sort JSON