473,511 Members | 14,975 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Debug a .NET applet

Hello...
I have a Windows Forms UserControl in a ClassLibrary and I use this
UserControl as an applet in IE. Both WebApplication and UserControl
are in C#.NET 2.0. The UC has a button with a handler on it`s click
event.
I import the UserControl in a ASPX page using the <objecttag.
How can I debug into the UC when I click the UC button?

Thanks

May 24 '07 #1
5 1502
I created my First "csharp applet" from this code project sample
http://www.codeproject.com/dotnet/CSharpApplet.asp

Auratius
http://www.auratius.co.za
May 24 '07 #2
In this type of deployment scenario, your control is being hosted in Internet
Explorer in the client browser, not on the server where it would be visible
to the Visual Studio.NET debugger.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Ma**********@gmail.com" wrote:
Hello...
I have a Windows Forms UserControl in a ClassLibrary and I use this
UserControl as an applet in IE. Both WebApplication and UserControl
are in C#.NET 2.0. The UC has a button with a handler on it`s click
event.
I import the UserControl in a ASPX page using the <objecttag.
How can I debug into the UC when I click the UC button?

Thanks

May 24 '07 #3
Peter, can you take a look in here? It seems that is possible...
http://www.15seconds.com/issue/030610.htm
the article is on VS.NET 2003 not on VS2005 and that`s why I posted
this question : How can it be done in VS2005?

May 25 '07 #4
Yes, that is correct, you should be able to attach the debugger to Internet
Explorer.
It's not fun though.
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Ma**********@gmail.com" wrote:
Peter, can you take a look in here? It seems that is possible...
http://www.15seconds.com/issue/030610.htm
the article is on VS.NET 2003 not on VS2005 and that`s why I posted
this question : How can it be done in VS2005?

May 25 '07 #5
Thanks for the answer. I know it isn't fun, but it's usefull.. :)
If I try that mechanism in VS2005, and I set a breakpoint,
VisualStudio says that it will hit it... but it dosen't...
Anyway... I've made a "debug" by writing some messages in EventLog.

May 28 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
9506
by: nathanlaan | last post by:
This is the stupidest thing I have ever seen. Java 1.2, 1.3, and 1.4.1, and 1.4.2 all define the Applet.getDocumentBase() method differently! How am I supposed to get the directory of the document...
1
2932
by: Charlie Kim | last post by:
Here is gnome applet source of mine. -------------------------------------------------- #!/usr/bin/env python import pydic import gtk import gnome.applet
1
4045
by: Tormod Omholt-Jensen | last post by:
Ï need to dynamically insert an applet into a document. In IE 6.0 my code works fine, but there seems to be problems in Opera 7. The page looks like there is allocated space for an applet. ...
2
1740
by: Roberto Gallo | last post by:
Hi; I have two problems regarding Scripts and Applets. I need to construct a page that has some instances of the same Applet. These instances are responsible to get informations from the user...
3
3495
by: Larry Martin | last post by:
I am trying to run a Java Applet on my ascx page and am getting an IO exception when IE6 tries to load the applet. It seems a lot of others are getting the same problem but a search of the web did...
8
3363
by: DKM | last post by:
Here are the source code files to a Java applet that utilizes LiveConnect to communicate with Javascript, and the HTML file. The thing works both in IE 6.0 and FireFox 1.4. but with some...
0
5648
by: ankur | last post by:
WHEN I RUN THIS WEB APPLICATION ON Tomcat5.5.9 SERVER MY HttpChatApplet sccessfully Loaded from ChatDispatch but running on some another PC HttpChatApplet not loaded my Coad ...
4
7793
by: tudyfruity18 | last post by:
I'm suppose to write an applet that contains two buttons Investment calculator and Loan Calculator. When the Investment Calculator button is clicked, a frame appears in a new window for calculating...
1
2366
by: sheephead86 | last post by:
Hi, I'm pretty new to java, and I have a small problem involving drawing a rectangle on a java applet.Firstly this is not a plea for someone to help me with this peice of work, I just need pointing...
0
7252
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7371
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7432
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7093
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5676
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4743
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3218
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
452
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.