473,509 Members | 2,963 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Retrieve objects

Hello Experts,

Currently I am working on a windows form application using vs.net 2002
with C#.

I have a refresh button in the form which will reload the information
for the form again. However, when I look at the "USER Objects" in the
Windows Task Manager, an extra USER Object will be create everytime it
refresh. Is it possible to display all the USER Objects create by the
application, so I can find out where in the code it creates the new
object or which object I forgot to dispose?

Thanks,

Benny

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #1
2 2229
Hi Benny,

You might take a look at a profiler such as AQTime from www.automatedqa.com.
Read this article:
http://www.automatedqa.com/techpaper...n_profiler.asp

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"Benny" <an*******@devdex.com> wrote in message
news:uz**************@TK2MSFTNGP09.phx.gbl...
Hello Experts,

Currently I am working on a windows form application using vs.net 2002
with C#.

I have a refresh button in the form which will reload the information
for the form again. However, when I look at the "USER Objects" in the
Windows Task Manager, an extra USER Object will be create everytime it
refresh. Is it possible to display all the USER Objects create by the
application, so I can find out where in the code it creates the new
object or which object I forgot to dispose?

Thanks,

Benny

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #2
Hi,

You can try our .NET Memory Profiler, it includes a dispose tracker that
will show you information about undisposed instances. Read more about
the profiler at http://www.scitech.se/memprofiler.

You can download a fully functional trial version at:
http://www.scitech.se/memprofiler/download.htm.

Best regards,

Andreas Suurkuusk
SciTech Software AB

"Benny" <an*******@devdex.com> skrev i meddelandet
news:uz**************@TK2MSFTNGP09.phx.gbl...
Hello Experts,

Currently I am working on a windows form application using vs.net 2002
with C#.

I have a refresh button in the form which will reload the information
for the form again. However, when I look at the "USER Objects" in the
Windows Task Manager, an extra USER Object will be create everytime it
refresh. Is it possible to display all the USER Objects create by the
application, so I can find out where in the code it creates the new
object or which object I forgot to dispose?

Thanks,

Benny

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #3

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

Similar topics

4
11673
by: Rémy Samulski | last post by:
Dear readers, How can I obtain all AD Objects within a OU? I can find all AD Objects in the root of my Active Directory when I use the DirectorySearcher and passing the DirectoryEntry I find...
2
9967
by: SteveR | last post by:
I want to return an ArrayList from my web service. I can write this part and everything compiles but I can't get the web application that uses the web service to compile. I call the service...
1
3242
by: funcSter | last post by:
I want to retrieve data from an Excel file like how I would with a database. I understand that I would have to use OLE DB. Somehow I think I cannot get the connection string right, as the bit of...
0
1663
by: george_Martinho | last post by:
It seems that the ASP.NET Microsoft team didn't think about this!! The profilemanager class has the following methods: - DeleteInactiveProfiles. Enables you to delete all profiles older than a...
9
6789
by: Don | last post by:
Say I have a class like so: Public Class MyClass Public Prop1 as Integer Public Prop2 As Integer Public Prop3 As Integer End Class Is it possible to retrieve a list of the variables or...
11
6680
by: motion musso aka: sathia | last post by:
this is it, how can i get the current index? couldn't figure it out. thank you for(i=0;myarray.length<i;i++){ do_something(); //i need the current myarray } bye bye
4
1580
by: Jeff | last post by:
hey ASP.NET 2.0 I'm preparing for a certification exam on asp.net 2.0 and yesterday I took a skill assessment test on microsoft.com. One of the questions was about creating cookies. This was...
1
13207
by: ahujasatna | last post by:
Hi all!! i am working on C#, ASP.Net with Sql server2000 and i am facing a problem, my Question is: "How to insert and retrieve images to/from Sqlserver2000 Database" I created a table...
9
2671
by: trint | last post by:
How can I retrieve all of the data from a datagridview? Any help is appreciated. Thanks, Trint
1
4088
maxamis4
by: maxamis4 | last post by:
Hello folks, Here is the backgroup. I am creating an agent that can find a user in LDAP and return the last logon date. Now i am not sure if with active directory you can user the...
0
7136
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7412
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
7069
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
7505
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5652
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,...
1
5060
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4730
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...
1
775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
441
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.