PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Matthew Needham on August 29, 2011, 09:46:23 PM

Title: Creating Controls to be used as OCX controls
Post by: Matthew Needham on August 29, 2011, 09:46:23 PM
Hi all,

I'd like to create my own visual controls to be used within PB/FF. I've made a very simple clickable label with C# in Visual Studio. Does anyone know how to get this to work within PB/FF? In VS, I have an build option checked called "Register for COM Interop", but when I try to bring the compiled .dll into the TypeLib Browser 4.0.13, I get a message box error (see attached).

Does anyone know what I'm doing wrong?
Title: Re: Creating Controls to be used as OCX controls
Post by: Matthew Needham on August 30, 2011, 02:20:09 PM
After a bit more research, I think I can answer my own question: Controls created with Visual C# won't work within PB/FF because PB and .Net don't get along.

Has anyone successfully created an ActiveX control that can be used in PB/FF using the "MFC ActiveX Control" project type in Visual C++?

If you have ever created an OCX/ActiveX control for use within PB/FF, how did you do it?
Title: Re: Creating Controls to be used as OCX controls
Post by: Paul Squires on August 30, 2011, 04:37:29 PM
I don't remember anyone mentioning on this forum that that they have created visual activex controls and then use them in FF.
Sorry.