Debug Active-X control using Explorer.exe

Hi,
I have to debug an Active-X control which I am using in web page. I gave the path "D:\Program Files\Internet Explorer\IEXPLORE.EXE" but when I start debug explorer.exe exit and page is opened in separate window, in other way debug starts but it stops after displaying message in window that IEXPLORER.EXE exits with exit code 0 and but page is opened

On the other hand, on different machine I am able to debug using same settings.

Machine 1 Using Internet explorer Version : 6.0.2800.1106 with SP1 ( unable to debug)

Machine 2 Using Internet explorer Version : 6.0.2600.0000CO ( able to debug)


I think you got my problem, I am not sure that version is the problem.
nkaushikAsked:
Who is Participating?
 
nkaushikAuthor Commented:
I have still one problem I would be thankful to you if you can answer.

In that resolution it is written that you can debug by using one of two methods.

Method 1. By mentioning "Browse in new process" in Internet Option->advanced tab. I did't find this option on my both machine's internet settings.

Method 2 . BY passing "-new" arugment in program agruments.

By adopting method 2 my problem is solved.

BUT I AM JUST WONDERING HOW MY MACHINE 2 IS ABLE TO DEBUG WITHOUT USING ANY OF TWO RESOULTION PROVIDED BY ABOVE LINK. I AM NOT SENDING ANY PROGRAM ARGUMENT AND THERE IS NO OPTION TOO IN MACHINE 2 "BROWSE IN NEW PROCESS".

0
 
AlexFMCommented:
Did you try the last way with killing the Windows Shell? It may be done also by killing Explorer.exe from Task Manager. Visual Studio should be opened at this time. When Shell is terminated, start debugging session. This way works for Shell extensions, possibly it will be OK for ActiveX control.
0
 
navinkausCommented:
this is the third way .........my problem is solved strange thing is why I am able to debug on another machine without any special settings .
I am using same workspace that is I am more curious to know why on one machine without any settings no problem in debugging on the other hand on another machine it start debugging but stop immediately after opening the page in another process.
 
I can understand these are the problems without having experienced defficult to understand and find out the solution.

But thanks for your help I got the rid of .
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.