How to use VB6 debugger on OCX properties page?

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?

+1
source share
3 answers

VB6 DLL OCX.

+2

, , - , MarkJ. Visual Studio 2008 ++ Express Edition ( , Visual Studio 2008 Professional, , 90- ) PDB.

, PDB, Visual Basic, P) roject/ P) strong > . , " ".

Outlook Visual Studio (T) ools/ . , Ocx , PDB ( ). , ( , , ).

, , , , .

+2

I don't have a big idea on OCX.

However, you can use a tool that was part of a visual studio called the ActiveX Control Validator.

As far as I know (based on my understanding of the documentation), OCX is created in proc.

0
source

All Articles