Solved

Debug Active-X control using Explorer.exe

Posted on 2004-09-16
4
189 Views
Last Modified: 2013-11-25
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.
0
Comment
Question by:nkaushik
  • 2
4 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 150 total points
ID: 12090595
0
 

Author Comment

by:nkaushik
ID: 12099251
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
 
LVL 48

Expert Comment

by:AlexFM
ID: 12099351
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
 

Expert Comment

by:navinkaus
ID: 12099403
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

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
sameEnds challenge 3 107
Need to create an object factory 2 41
tripleUp challenge 7 67
firstChar challenge 13 86
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now