Using VB6, I created an Outlook plugin that has a properties page. The property page is an OCX control.
When I compile the project into an OCX file and run OUTLOOK, everything works fine: I can see my OCX as a tab in the Outlook options.
However, when I try to debug by running OCX in VB6, I get an error. My debugging starts as follows: 1) The debugging options are set to “Wait until the components are created” 2) The F5-RUN project in VB6. 3) Launch Outlook. 4) Get the error: “The“ MyOcx ”page cannot be displayed. This page will remain visible but not accessible. An OLE registration error has occurred. The program is not installed correctly. Run the setup program again for the program”
I suspect that this is due to the fact that when debugging, OCX is created due to-proc and Outlook does not like it.
Is there a good technique for using the VB6 debugger in OCX in this scenario?
source
share