Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to debug ActiveX Exe

Status
Not open for further replies.

chunbo

Programmer
Jan 9, 2003
16
US
I am woundering how to debug (step into) ActiveX Exe source from within the testing project's source code?

To build a project Group will help me debug into ActiveX Control, but I can not build ActiveX Exe into the same project group as the testing project.

Anyone could help me?
 
Hi chunbo,

to debug a ActiveX Exe open the project and run it.
Open the test project in a second instance of VB
and run it.
Now u can set breakpoints in the first instance of
VB (with the ActiveX project).
If the second instance calls a routine from the
ActiveX project (with breakpoint) the first instance
stops.
While u are debugging the ActiveX project the second
instance is "locked", u get a message box like "Server is
not responsing".
Continue running the ActiveX project to interact with
the test project.
If u want to finish word, stop first the test project,
then the ActiveX project.
That's all.

Bye
LauDse
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top