I have an ASP 3.0 page that contains an ActiveX control that I wrote in VC++
v6.0. Under Visual Interdev I can debug the ASP code just fine. However,
when I get to an ASP line that references my ActiveX control the debugger
does not go inside my C++ code allowing me to debug the ActiveX control. If
I load the ActiveX control project from VC++ with Internet Explorer as the
debug executable I have the same problem. Break points in the ActiveX
control's code are not respected. I know I'm compiling in Debug mode, any
idea how to get these breakpoints to be respected?
Many thanks. 10 3829
"Andrew Chalk" <ac****@XXXmagnacartasoftware.com> wrote in message
news:#9**************@TK2MSFTNGP11.phx.gbl... I have an ASP 3.0 page that contains an ActiveX control that I wrote in
VC++ v6.0. Under Visual Interdev I can debug the ASP code just fine. However, when I get to an ASP line that references my ActiveX control the debugger does not go inside my C++ code allowing me to debug the ActiveX control.
If I load the ActiveX control project from VC++ with Internet Explorer as the debug executable I have the same problem. Break points in the ActiveX control's code are not respected. I know I'm compiling in Debug mode, any idea how to get these breakpoints to be respected?
I'm not sure how you have ASP code that references an ActiveX control, as
ASP is server-side and ActiveX controls are client side ...
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl... "Andrew Chalk" <ac****@XXXmagnacartasoftware.com> wrote in message news:#9**************@TK2MSFTNGP11.phx.gbl... I have an ASP 3.0 page that contains an ActiveX control that I wrote in VC++ v6.0. Under Visual Interdev I can debug the ASP code just fine. However, when I get to an ASP line that references my ActiveX control the debugger does not go inside my C++ code allowing me to debug the ActiveX control. If I load the ActiveX control project from VC++ with Internet Explorer as the debug executable I have the same problem. Break points in the ActiveX control's code are not respected. I know I'm compiling in Debug mode, any idea how to get these breakpoints to be respected?
I'm not sure how you have ASP code that references an ActiveX control, as ASP is server-side and ActiveX controls are client side ...
I presume he meant an Activex dll, which certainly can be used by asp.
In answer to the OP, I don't have experience of VC++, but the similar
situation occurs in VB and what you have to do is unregister the current
dll:
c:\winnt\system32\regsvr32 "c:\yourdll.dll" -u
This prevents calls from the asp pages to this dll going to the compiled dll
and instead will go to your code in the ide. You have to start the debug
from within the Visual C++ ide.
--
John Blessing http://www.LbeHelpdesk.com - Help Desk software priced to suit all
businesses http://www.room-booking-software.com - Schedule rooms & equipment bookings
for your meeting/class over the web. http://www.lbetoolbox.com - Remove Duplicates from MS Outlook
Is the control server-side(called from ASP script code to do something on
the server) or client-side.
If server-side (this may not be the simplest but it works for me):
Set application protection to "low" for the indicated virtual directory.
Launch task manager and find the inetinfo process.
Right-click on the process and select "debug". If you have VC++ on the
system you should be take into the C++ debugger.
Open your project files and set breakpoints as desired (you may need to
run the affected web page once to load the control dll)
--
Mark Schupp
Head of Development
Integrity eLearning www.ielearning.com
"Andrew Chalk" <ac****@XXXmagnacartasoftware.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl... I have an ASP 3.0 page that contains an ActiveX control that I wrote in
VC++ v6.0. Under Visual Interdev I can debug the ASP code just fine. However, when I get to an ASP line that references my ActiveX control the debugger does not go inside my C++ code allowing me to debug the ActiveX control.
If I load the ActiveX control project from VC++ with Internet Explorer as the debug executable I have the same problem. Break points in the ActiveX control's code are not respected. I know I'm compiling in Debug mode, any idea how to get these breakpoints to be respected?
Many thanks.
"John Blessing" <ne*******@LbeHelpdesk.com> wrote in message
news:32*************@individual.net... "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl... "Andrew Chalk" <ac****@XXXmagnacartasoftware.com> wrote in message news:#9**************@TK2MSFTNGP11.phx.gbl... I have an ASP 3.0 page that contains an ActiveX control that I wrote in VC++ v6.0. Under Visual Interdev I can debug the ASP code just fine.
However, when I get to an ASP line that references my ActiveX control the
debugger I'm not sure how you have ASP code that references an ActiveX control,
as ASP is server-side and ActiveX controls are client side ...
I presume he meant an Activex dll, which certainly can be used by asp.
Perhaps - but that's more commonly known as a "server component".
Thanks John. I unregistered the control. What should I set as the target
executable in VC++? Internet Explorer?
Thanks,
- Andrew
"John Blessing" <ne*******@LbeHelpdesk.com> wrote in message
news:32*************@individual.net... "Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl... "Andrew Chalk" <ac****@XXXmagnacartasoftware.com> wrote in message news:#9**************@TK2MSFTNGP11.phx.gbl... I have an ASP 3.0 page that contains an ActiveX control that I wrote in VC++ v6.0. Under Visual Interdev I can debug the ASP code just fine.
However, when I get to an ASP line that references my ActiveX control the
debugger does not go inside my C++ code allowing me to debug the ActiveX
control. If I load the ActiveX control project from VC++ with Internet Explorer as the debug executable I have the same problem. Break points in the ActiveX control's code are not respected. I know I'm compiling in Debug mode,
any idea how to get these breakpoints to be respected?
I'm not sure how you have ASP code that references an ActiveX control,
as ASP is server-side and ActiveX controls are client side ...
I presume he meant an Activex dll, which certainly can be used by asp.
In answer to the OP, I don't have experience of VC++, but the similar situation occurs in VB and what you have to do is unregister the current dll:
c:\winnt\system32\regsvr32 "c:\yourdll.dll" -u
This prevents calls from the asp pages to this dll going to the compiled
dll and instead will go to your code in the ide. You have to start the debug from within the Visual C++ ide.
-- John Blessing
http://www.LbeHelpdesk.com - Help Desk software priced to suit all businesses http://www.room-booking-software.com - Schedule rooms & equipment bookings for your meeting/class over the web. http://www.lbetoolbox.com - Remove Duplicates from MS Outlook
Thanks mark. Attempting to debug INETINFO gives me an error dialog that
says:
"The /E command line switch must be followed by an event handle"
Any idea how to get around this?
Thanks,
Andrew
"Mark Schupp" <no****@nospam.com> wrote in message
news:ua**************@TK2MSFTNGP14.phx.gbl... Is the control server-side(called from ASP script code to do something on the server) or client-side.
If server-side (this may not be the simplest but it works for me):
Set application protection to "low" for the indicated virtual
directory. Launch task manager and find the inetinfo process. Right-click on the process and select "debug". If you have VC++ on the system you should be take into the C++ debugger. Open your project files and set breakpoints as desired (you may need
to run the affected web page once to load the control dll)
-- Mark Schupp Head of Development Integrity eLearning www.ielearning.com
"Andrew Chalk" <ac****@XXXmagnacartasoftware.com> wrote in message news:%2****************@TK2MSFTNGP11.phx.gbl... I have an ASP 3.0 page that contains an ActiveX control that I wrote in VC++ v6.0. Under Visual Interdev I can debug the ASP code just fine. However, when I get to an ASP line that references my ActiveX control the
debugger does not go inside my C++ code allowing me to debug the ActiveX control. If I load the ActiveX control project from VC++ with Internet Explorer as
the debug executable I have the same problem. Break points in the ActiveX control's code are not respected. I know I'm compiling in Debug mode,
any idea how to get these breakpoints to be respected?
Many thanks.
Thanks John. I unregistered the control. What should I set as the target executable in VC++? Internet Explorer?
Thanks,
As I said, I am just relating this to my experience of debugging an activex
dll written in VB. In the VB Ide, I would: Project menu, Properties,
Debugging tab, select the "Start browser with url" option and specify a .asp
page on my local webserver that instantiates the activex dll object and
calls one of its methods.
--
John Blessing
Are you debugging on the system where you have VC++ installed?
If not, set up a test site on that system and debug there.
--
--Mark Schupp
Head of Development
Integrity eLearning www.ielearning.com
"Andrew Chalk" <ac****@XXXmagnacartasoftware.com> wrote in message
news:uG**************@TK2MSFTNGP12.phx.gbl... Thanks mark. Attempting to debug INETINFO gives me an error dialog that says:
"The /E command line switch must be followed by an event handle"
Any idea how to get around this?
Thanks,
Andrew
"Mark Schupp" <no****@nospam.com> wrote in message news:ua**************@TK2MSFTNGP14.phx.gbl... Is the control server-side(called from ASP script code to do something on the server) or client-side.
If server-side (this may not be the simplest but it works for me):
Set application protection to "low" for the indicated virtual directory. Launch task manager and find the inetinfo process. Right-click on the process and select "debug". If you have VC++ on the system you should be take into the C++ debugger. Open your project files and set breakpoints as desired (you may need to run the affected web page once to load the control dll)
-- Mark Schupp Head of Development Integrity eLearning www.ielearning.com
"Andrew Chalk" <ac****@XXXmagnacartasoftware.com> wrote in message news:%2****************@TK2MSFTNGP11.phx.gbl... > I have an ASP 3.0 page that contains an ActiveX control that I wrote in VC++ > v6.0. Under Visual Interdev I can debug the ASP code just fine. > However, > when I get to an ASP line that references my ActiveX control the debugger > does not go inside my C++ code allowing me to debug the ActiveX > control. If > I load the ActiveX control project from VC++ with Internet Explorer as the > debug executable I have the same problem. Break points in the ActiveX > control's code are not respected. I know I'm compiling in Debug mode, any > idea how to get these breakpoints to be respected? > > Many thanks. > >
I am.
"Mark Schupp" <no******@email.net> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... Are you debugging on the system where you have VC++ installed? If not, set up a test site on that system and debug there.
-- --Mark Schupp Head of Development Integrity eLearning www.ielearning.com
"Andrew Chalk" <ac****@XXXmagnacartasoftware.com> wrote in message news:uG**************@TK2MSFTNGP12.phx.gbl... Thanks mark. Attempting to debug INETINFO gives me an error dialog that says:
"The /E command line switch must be followed by an event handle"
Any idea how to get around this?
Thanks,
Andrew
"Mark Schupp" <no****@nospam.com> wrote in message news:ua**************@TK2MSFTNGP14.phx.gbl... Is the control server-side(called from ASP script code to do something
on the server) or client-side.
If server-side (this may not be the simplest but it works for me):
Set application protection to "low" for the indicated virtual directory. Launch task manager and find the inetinfo process. Right-click on the process and select "debug". If you have VC++ on the system you should be take into the C++ debugger. Open your project files and set breakpoints as desired (you may
need to run the affected web page once to load the control dll)
-- Mark Schupp Head of Development Integrity eLearning www.ielearning.com
"Andrew Chalk" <ac****@XXXmagnacartasoftware.com> wrote in message news:%2****************@TK2MSFTNGP11.phx.gbl... > I have an ASP 3.0 page that contains an ActiveX control that I wrote
in VC++ > v6.0. Under Visual Interdev I can debug the ASP code just fine. > However, > when I get to an ASP line that references my ActiveX control the debugger > does not go inside my C++ code allowing me to debug the ActiveX > control. If > I load the ActiveX control project from VC++ with Internet Explorer
as the > debug executable I have the same problem. Break points in the ActiveX > control's code are not respected. I know I'm compiling in Debug mode, any > idea how to get these breakpoints to be respected? > > Many thanks. > >
I don't know what it could be. I have been debugging server-side components
(vb6 and vc++) that way for several years.
--
--Mark Schupp
Head of Development
Integrity eLearning www.ielearning.com
"Andrew Chalk" <ac****@XXXmagnacartasoftware.com> wrote in message
news:OX**************@TK2MSFTNGP09.phx.gbl... I am. "Mark Schupp" <no******@email.net> wrote in message news:%2****************@tk2msftngp13.phx.gbl... Are you debugging on the system where you have VC++ installed? If not, set up a test site on that system and debug there.
-- --Mark Schupp Head of Development Integrity eLearning www.ielearning.com
"Andrew Chalk" <ac****@XXXmagnacartasoftware.com> wrote in message news:uG**************@TK2MSFTNGP12.phx.gbl... > Thanks mark. Attempting to debug INETINFO gives me an error dialog that > says: > > "The /E command line switch must be followed by an event handle" > > Any idea how to get around this? > > Thanks, > > Andrew > > "Mark Schupp" <no****@nospam.com> wrote in message > news:ua**************@TK2MSFTNGP14.phx.gbl... >> Is the control server-side(called from ASP script code to do something on >> the server) or client-side. >> >> If server-side (this may not be the simplest but it works for me): >> >> Set application protection to "low" for the indicated virtual > directory. >> Launch task manager and find the inetinfo process. >> Right-click on the process and select "debug". If you have VC++ on >> the >> system you should be take into the C++ debugger. >> Open your project files and set breakpoints as desired (you may need > to >> run the affected web page once to load the control dll) >> >> -- >> Mark Schupp >> Head of Development >> Integrity eLearning >> www.ielearning.com >> >> >> "Andrew Chalk" <ac****@XXXmagnacartasoftware.com> wrote in message >> news:%2****************@TK2MSFTNGP11.phx.gbl... >> > I have an ASP 3.0 page that contains an ActiveX control that I wrote in >> VC++ >> > v6.0. Under Visual Interdev I can debug the ASP code just fine. >> > However, >> > when I get to an ASP line that references my ActiveX control the > debugger >> > does not go inside my C++ code allowing me to debug the ActiveX >> > control. >> If >> > I load the ActiveX control project from VC++ with Internet Explorer as > the >> > debug executable I have the same problem. Break points in the >> > ActiveX >> > control's code are not respected. I know I'm compiling in Debug >> > mode, > any >> > idea how to get these breakpoints to be respected? >> > >> > Many thanks. >> > >> > >> >> > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Jeff M |
last post by:
For my application an activeX refers to "program displayed within Internet
Explorer"
After looking over the docs for VB.NET it looks impossible.
---START---
USERCONTROL CHANGES IN VISUAL...
|
by: Fie Fie Niles |
last post by:
This one XP machine (with IE 6) is having a problem viewing any ActiveX
controls (created on VB6) on the Internet Explorer browser. I put the same
ActiveX control in a VB program, and when I run...
|
by: stegada |
last post by:
Hi,
i must determine if client's browsers support ActiveX controls.
Is it possible to obtain this information using Javascript?
Thank's a lot.
Stefano
|
by: SmartGuy |
last post by:
hi,all:
The whole thing is : My team is developing some activex controls in VB
6.0. As a new comer, i am quite familiar with .Net(c#) than vb 6.0. So can i
develop ActiveX controls in c#?
And if...
|
by: DartmanX |
last post by:
Is there a simple way to determine if someone using Internet Explorer
has completely disabled ActiveX controls?
Jason
|
by: Jarod_24 |
last post by:
I just downloaded a activex control that was written in C# and tried to view
it on my PDA's Internet Explorer.
At my regular PC it displayed just fine, but nothing showed up on the pda.
Do...
|
by: Christian Nein |
last post by:
Hello,
does anybody have experiences with screenshots of ActiveX controls in .NET?
I have a panel containing some controls, amongst others some ActiveX
controls. I tried ...
|
by: Henrik Dahl |
last post by:
Hello!
Is it possible to use Visual Studio 2005 or, secondarily, Visual Studio .NET
2003 to create ActiveX controls which may be consumed by VB 6.0 programs,
i.e. dealt with on forms in the...
|
by: rdrahcir |
last post by:
Windows internet explorer
One or more activex controls could not be displayed because either:
Your current security settings prohibit running ActiveX controls on this page, or
you have...
|
by: lllomh |
last post by:
Define the method first
this.state = {
buttonBackgroundColor: 'green',
isBlinking: false, // A new status is added to identify whether the button is blinking or not
}
autoStart=()=>{
|
by: giovanniandrean |
last post by:
The energy model is structured as follows and uses excel sheets to give input data:
1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
|
by: NeoPa |
last post by:
Hello everyone.
I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report).
I know it can be done by selecting :...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
|
by: Teri B |
last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course.
0ne-to-many. One course many roles.
Then I created a report based on the Course form and...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM)
Please note that the UK and Europe revert to winter time on...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
|
by: isladogs |
last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, Mike...
|
by: SueHopson |
last post by:
Hi All,
I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...
| |