You are currently browsing all posts tagged with C#

Getting your COM component Registered for use with PowerBuilder

Posted on November 5, 2012 at 7:29 pm in

I built a COM component to allow for the taking of pictures from a webcam in PowerBuilder. The component itself was done in Visual Studio 2010 in C# and makes use of a web camera control created to use the Directshow API library available as part of the Windows SDK. You can find more information…

Getting your COM component Registered for use with PowerBuilder - the full story »

6 Comments on Getting your COM component Registered for use with PowerBuilder »

Sending iCalendar events via a .Net Assembly and SQLServer stored procedure

Posted on July 31, 2012 at 5:01 pm in

As I’ve mentioned in earlier posts, the iCalendar format is a standard way to send event information to a variety of email/scheduling systems (Outlook, Google, etc.). Here is a way to set it up so that you can simply call a stored procedure to send the event. This assumes you have SQL Server set up…

Sending iCalendar events via a .Net Assembly and SQLServer stored procedure - the full story »

11 Comments on Sending iCalendar events via a .Net Assembly and SQLServer stored procedure »

PowerBuilder – Using C# Visual Objects in PB Classic Applications

Posted on June 18, 2012 at 5:16 pm in

This article will explain how to build a COM visual component in C# using Visual Studio 2010; it is an extension of my earlier example of using the Interop Forms Toolkit to build a Visual Basic COM object. First you need to install the Microsoft Interop Toolkit (available here). Then download the C# Interop Form…

PowerBuilder – Using C# Visual Objects in PB Classic Applications - the full story »

Comment on PowerBuilder – Using C# Visual Objects in PB Classic Applications »

Powerbuilder – Accessing C# Classes via COM to Capture a Screenshot

Posted on April 12, 2011 at 8:20 pm in

I was working with setting up screen capture functionality from within a PB11.5 application recently and came up against a wall which forced me to rethink my strategy. Initially I was using External Functions to the Windows gdi32.dll but had issues with my code causing it to ‘stop working’ after a few files were written.…

Powerbuilder – Accessing C# Classes via COM to Capture a Screenshot - the full story »

3 Comments on Powerbuilder – Accessing C# Classes via COM to Capture a Screenshot »

Top