No announcements
Found 4068310 threads
-
0 Votes
When do I need to incorporate Dispose into my code?
I need to drill into the whole "do I need to unhook from events" a bit more because I'm getting very confused as to when I ...Answered | 8 Replies | 1286 Views | Created by Philip Colmer - Wednesday, February 4, 2015 5:58 PM | Last reply by Rob Caplan [MSFT] - Wednesday, February 11, 2015 2:44 AM -
0 Votes
Dispose Class ...
Only time I have needed it is when I am doing OLE Excel .net wrapper manipulation.Answered | 5 Replies | 977 Views | Created by MDMoura - Tuesday, April 9, 2013 5:51 PM | Last reply by MDMoura - Tuesday, April 9, 2013 8:48 PM -
2 Votes
Do I Need to Call Dispose() on This?
Josh Winfree said: I agree about using the Using statement, only thing is, this workflow, and most of my custom code is in VB and not C#.Answered | 9 Replies | 12524 Views | Created by J. Winfree - Thursday, January 22, 2009 7:24 PM | Last reply by J. Winfree - Friday, January 23, 2009 4:03 PM -
2 Votes
do i need to "dispose of a string" ?
Hi, No need to dispose.Answered | 5 Replies | 3410 Views | Created by yush - Monday, July 20, 2009 9:44 AM | Last reply by nobugz - Wednesday, July 22, 2009 5:45 PM -
0 Votes
How do i dispose my login form?
"in my application the startup form should be the login screen :(" When set form as startup form it will close the application, So you need to ...Answered | 11 Replies | 3692 Views | Created by code_warrior - Wednesday, June 30, 2010 5:19 AM | Last reply by Nayan Paregi - Wednesday, June 30, 2010 9:21 AM -
2 Votes
when do i dispose a local function variable if i return it?
This can lead to some hard to track down coding problems when these objects have event and delegates pointing to objects that have been disposed of.Answered | 4 Replies | 3966 Views | Created by rodniko - Wednesday, November 11, 2009 2:13 PM | Last reply by Rudedog2 - Wednesday, November 11, 2009 2:58 PM -
7 Votes
Do I need to explicitly call Dispose() on DataContext object?
I have read this and another posts saying that it does not need to be disposed.Answered | 9 Replies | 52172 Views | Created by Art_Sh - Thursday, November 1, 2007 10:16 PM | Last reply by Craigfis - Wednesday, December 28, 2011 12:46 AM -
2 Votes
Should I dispose my event handlers when clearing parent?
I found a way to do it without creating event handlers its pretty easy.. so foolish of me!Answered | 4 Replies | 3617 Views | Created by RyanTalent - Sunday, April 17, 2016 8:00 PM | Last reply by RyanTalent - Saturday, June 25, 2016 2:33 PM -
2 Votes
Do I need refactoring my code
Perhaps a helper method that can take as many entity collections as are needed from the document and return them all in a simple manner.Answered | 2 Replies | 776 Views | Created by wapt49 - Saturday, July 19, 2014 6:31 PM | Last reply by Gio Palacino - Sunday, July 20, 2014 2:12 PM -
2 Votes
When should I dispose SPWeb and SPSite objects ?
All you need to do is to run SPDisposeCheck.exe tool after you complete your coding.Answered | 2 Replies | 3949 Views | Created by Ahsan Kabir - Tuesday, July 17, 2012 6:04 PM | Last reply by Sundar Narasiman - Wednesday, July 18, 2012 2:45 AM -
1 Votes
Dispose - is it required or needed?
Hi all, Well I hit into this issue once, and I don't believe Close() and Dispose() are the same thing, at least for forms.Answered | 10 Replies | 3719 Views | Created by JeffLZ - Friday, March 25, 2011 9:41 PM | Last reply by Samir Ibrahim - Saturday, March 26, 2011 5:12 PM -
4 Votes
Does Dispose(disposing As Boolean) Need Implementing for every Class in a Chain?
Protected Overrides Sub Finalize() ' Do not re-create Dispose clean-up code hereAnswered | 15 Replies | 2460 Views | Created by Mike-Con - Wednesday, May 9, 2012 11:45 AM | Last reply by Cor Ligthert - Friday, May 11, 2012 4:46 PM -
0 Votes
When should I dispose SPWeb and SPSite objects?
dispose spweb and spsite if you are not referring to the SPcontext SPsite site = new Spsite("yourURL") < this should be ...Answered | 1 Replies | 2906 Views | Created by Ahsan Kabir - Tuesday, July 17, 2012 6:06 PM | Last reply by Ranjoe - Tuesday, July 17, 2012 6:11 PM -
0 Votes
should i Dispose() in this example?
I would suggest you use the SPDisposeCheck utility.Answered | 5 Replies | 7772 Views | Created by progressdll - Monday, January 3, 2011 8:04 AM | Last reply by Nik Patel - Monday, January 3, 2011 6:22 PM -
0 Votes
Dispose
(I do not doubt, that you can optimize something.Answered | 9 Replies | 3779 Views | Created by vinay dvd - Monday, February 14, 2011 3:16 AM | Last reply by - Friday, February 25, 2011 8:53 AM -
0 Votes
Should i deal with this CA1001 disposable fields should be disposable warning
I'm now warning free after code analysis in visual studio express 2012, I have disposed of the dataset, dataadapter and sqlcommandbuilder.Answered | 7 Replies | 3510 Views | Created by SolidNev - Thursday, May 15, 2014 3:28 PM | Last reply by SolidNev - Tuesday, June 10, 2014 1:51 PM -
2 Votes
Need advice on Disposing.
Hi MDMoura, "Do I need to dispose the Streams?Answered | 7 Replies | 2013 Views | Created by MDMoura - Monday, March 25, 2013 12:14 PM | Last reply by Bob Shen - Friday, March 29, 2013 8:14 AM -
3 Votes
Visual C# How do I Dispose of Return Object Resource
Check the code I gave you.Answered | 22 Replies | 11445 Views | Created by HandleysOnline - Friday, December 12, 2008 9:48 AM | Last reply by HandleysOnline - Monday, December 15, 2008 6:32 PM -
0 Votes
Incorporate the MsWord dictionary in my text editor
Word would have to be installed on the machine and your code would need to run it in order to access the object model.Answered | 1 Replies | 479 Views | Created by MaicoRuedieger - Tuesday, September 8, 2015 12:53 PM | Last reply by Cindy Meister MVP - Tuesday, September 8, 2015 5:21 PM -
3 Votes
How can I remember to call Dispose()
Dispose() is the only thing I hate in C#.Answered | 6 Replies | 763 Views | Created by niexuchina - Thursday, March 23, 2017 2:34 PM | Last reply by niexuchina - Friday, March 24, 2017 4:19 AM - Items 1 to 20 of 4068310 Next ›
No announcements