CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting
Free 3 Months



Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 4/15/2004 10:59:00 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 24 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
davidvl2
Asp.Net User
Suggestion: 'call Dispose() on this object' reminder4/15/2004 10:59:00 AM

0/0

Hello all,

A suggestion by the IDE to call Dispose() on a certain object would be great. It would concern objects that are tied to system resources, like Bitmap objects etc. that have a Dispose method. I found that sometimes not doing this results in memory not being released.

A solution to forgetting to code this, would be a reminder by the IDE.

Regards,

David van Leerdam
Fredrik N
Asp.Net User
Re: Suggestion: 'call Dispose() on this object' reminder4/15/2004 1:49:06 PM

0/0

Actually, I have sent this request to MS, the person I sent it to, have sent it to the VS.Net team.

I agree with you, if an object has implemented the IDispose interface and during the compilation it would be great if there could be a warning that tells that Dispose is not called. It should of course be possible to turn of this warning of. I think this would be a great feature to add, because it could help beginners from not missing things like closing a connection etc.


/Fredrik Norm?n NSQUARED2
Microsoft MVP, MCSD, MCAD, MCT

Cornerstone

My Blog, ASP.Net 2.0 etc
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
The Skin of the Film: Intercultural Cinema, Embodiment, and the Senses Authors: Laura U. Marks, Pages: 298, Published: 2000

Web:
Suggestion: 'call Dispose() on this object' reminder - ASP.NET Forums Suggestion: 'call Dispose() on this object' reminder. Last post 04-15-2004 9:49 AM by Fredrik N. 1 replies. Sort Posts: ...
Suggestion: 'call Dispose() on this object' reminder - ASP.NET Forums Suggestion: 'call Dispose() on this object' reminder. Last post 04-15-2004 9:49 AM by Fredrik N. 1 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
Do I need to explicitly call Dispose() on DataContext object ... Do I need to explicitly call Dispose() on DataContext object? Thread Starter: Art_Sh Started: 01 Nov 2007 10:16 PM UTC Replies: 4 ...
CodeProject: Visual Basic / VB.NET Discussion Boards. Free source ... Any suggestions on a good place to research this interface? ... You cant call return in here ' Also be carefull with dispose object that may not have been ...
powershell | Black Mountain This object will be cleaned up by the Dispose method. // Therefore, we call GC. SupressFinalize to tell the runtime // that we dont' need to be finalized (we ...
How to Write Doc Comments for Javadoc They are intended only as suggestions for programmers, not requirements. ..... call the dispose method when finished using * a Graphics object only if it ...
Argonne News 07/28 Spectacular storm is reminder that severe weather season isn't over ... Examples might include demolished buildings or former waste-disposal sites for which ...
How to Write Doc Comments for the Javadoc Tool As a reminder, the fundamental use of these tags is described on the ..... call the dispose method when finished using * a Graphics object only if it was ...
C# code behind - how do you call a Stored Procedure? : stored ... In C#, how do you create parameters and call a Stored Procedure? ... @ EnableEmailReminders int -- indicates preference to receive reminder ...
The scary "Could not access 'CDO.Message' object" So either dispose the textwriter or set textwriter to null before ...... I used suggestion 6, but not with the IP name. I made a call to the ...




Search This Site:










website appliation where is the dll stored?

can i use visual studio 2005 to work with asp code

problem renaming project folder containing an asp.net web application project

intellisense only working on some classes and not others

problem in using asp.net configuration with internet explorer 7

problem running net 2.0 websites in http/local iis mode

vs 2003 upgraded to 2005 error deploying

how to handle compiled applications?

item templates

clear height and width attributes from td cells

uploading images in asp 2.0

doubt - > related to asp.net web application

vs2005 and references

missing debug options

file system web service

how can i connect to database snapshot with vb.net

why does it take so long to start vs.net applications?

adding more online help resources

vs2005 can not run on winxp sp2

accessing a folder for image file types

team development in visual studio 2005

website deployment in vs 2005

toolbox auto hide stopped working

wierd compile errors following migration from vs2003

interfaces

publish website overwrites / erases existing ntfs directory permissions on server

stylesheet problems with webdeployement

make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class

web site namespace

how to list which methods() are being called

  Privacy | Contact Us
All Times Are GMT