Solved

Debug Active-X control using Explorer.exe

Posted on 2004-09-16
4
199 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
canBalance challenge 34 96
Which Microsoft MSDN Package Is The One I need? 3 48
Best way to accomplish this task? 3 88
Problem to App source 6 70
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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…

809 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