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 3856
"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: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |