Re: [ADVANCED-DOTNET] Unmanaged resources in a static class

2008-09-19 Thread Shawn Wildermuth
There is another case (though an edge case) where Finalizaers aren't called. The case is where during tear-down of a process, if during calling of Finalizers is increasing memory usage (usually if someone is doing something bad), the GC will abort the Finalizations and just kill the whole heap.

Re: [ADVANCED-DOTNET] Unmanaged resources in a static class

2008-09-17 Thread Shawn Wildermuth
Your type is destroyed when the AppDomain goes away...can you wrap it in a AppDomain and control that lifespan? -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Simon Robinson Sent: Wednesday, September 17, 2008 9:25 PM To:

Re: [ADVANCED-DOTNET] Unmanaged resources in a static class

2008-09-17 Thread Shawn Wildermuth
That's a lot less trouble than my solution...I take back most of what I've said about you Greg ;) -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Greg Young Sent: Wednesday, September 17, 2008 10:33 PM To:

Re: [ADVANCED-DOTNET] Displaying the Add Connection dialog in VS 2008...

2008-09-11 Thread Shawn Wildermuth
uses, not 2005. I've noticed some problems using VS 2005's and was wanting something similar to VS 2008. Thanks, Mike On Wed, Sep 10, 2008 at 6:54 PM, Shawn Wildermuth [EMAIL PROTECTED] wrote: This blog entry shows it, but the caveat is that the assemblies are not distributable so it works

Re: [ADVANCED-DOTNET] Displaying the Add Connection dialog in VS 2008...

2008-09-11 Thread Shawn Wildermuth
-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] Displaying the Add Connection dialog in VS 2008... No, it's different and better designed. Also, this will be used only in-house where having VS installed is moot. Thanks, Mike On Thu, Sep 11, 2008 at 12:51 PM, Shawn Wildermuth [EMAIL

Re: [ADVANCED-DOTNET] Displaying the Add Connection dialog in VS 2008...

2008-09-10 Thread Shawn Wildermuth
This blog entry shows it, but the caveat is that the assemblies are not distributable so it works if you have VS installed, but no so if its on a non-dev box: http://wildermuth.com/2007/01/29/Using_the_Visual_Studio_Connection_String_D ialog -Original Message- From: Discussion of

Re: [ADVANCED-DOTNET] form key handling

2008-07-03 Thread Shawn Wildermuth
Can you confirm you mean WinForms? Thanks, Shawn Wildermuth http://wildermuth.com http://wildermuthconsulting.com http://www.silverlight-tour.com Microsoft MVP (C#), MCSD.NET, Author and Speaker The Silverlight Tour is coming to a city near you! -Original Message- From: Discussion

Re: [ADVANCED-DOTNET] HTTPS

2008-05-17 Thread Shawn Wildermuth
Why is a cert going to fix the redirection for him? Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com http://geekdinners.com Microsoft MVP (C#), MCSD.NET, Author and Speaker The Silverlight Tour is coming to a city near you! -Original Message- From: Discussion

Re: [ADVANCED-DOTNET] LINQ to SQL and inheritanc....

2008-04-18 Thread Shawn Wildermuth
I would say that using inheritance in LINQ to SQL isn't a good approach. Entity Framework is better than most but you might consider either using LINQ for SQL or EF (or nHibernate) as your data access layer and using the dal as the 'fillers' for real business objects. Thanks, Shawn Wildermuth

Re: [ADVANCED-DOTNET] Storing shared secrets

2008-03-27 Thread Shawn Wildermuth
DPAPI supports both per credential or per-machine encrypting of secrets. Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com http://geekdinners.com Microsoft MVP (C#), MCSD.NET, Author and Speaker The Silverlight Tour is coming to a city near you! -Original Message

Re: [ADVANCED-DOTNET] Boxing/Unboxing Don Box

2008-03-06 Thread Shawn Wildermuth
All I know is putting a hat on was named in his honor as well (Donning a Hat)... Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com http://geekdinners.com Microsoft MVP (C#), MCSD.NET, Author and Speaker The Silverlight Tour is coming to a city near you! -Original

Re: [ADVANCED-DOTNET] WCF WTF

2008-02-28 Thread Shawn Wildermuth
don't we care? Because the tool goes a good job of managing it for us. When we create a AJAX site, it injects most of the right bits in the web.config and we don't notice it after a while. Same can be said for WCF IMHO. Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com http

Re: [ADVANCED-DOTNET] Scaling Web Applications

2008-02-08 Thread Shawn Wildermuth
page and control caching to help a lot more than building a magic infrastructure to cache the entire db. Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com Microsoft MVP (C#), MCSD.NET, Author and Speaker The Silverlight Tour is coming to a city near you! -Original

Re: [ADVANCED-DOTNET] Ado.Net Entity Framework beta 3

2008-02-06 Thread Shawn Wildermuth
There is nothing there that says a lot to me, but it looks like some of the files might be bad downloads. Have you tried downloading the latest bits again and start again? Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com Microsoft MVP (C#), MCSD.NET, Author and Speaker

Re: [ADVANCED-DOTNET] Ado.Net Entity Framework beta 3

2008-02-06 Thread Shawn Wildermuth
I think you have to install EF before the ASP.NET Preview stuff (Data Services, etc.) but I can't remember... Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com Microsoft MVP (C#), MCSD.NET, Author and Speaker The Silverlight Tour is coming to a city near you

Re: [ADVANCED-DOTNET] Advice about app.config....

2008-01-21 Thread Shawn Wildermuth
$0.019998757. (I can't stand rounding errors). Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com Microsoft MVP (C#), MCSD.NET, Author and Speaker The Silverlight Tour is coming to a city near you! -Original Message- From: Discussion of advanced .NET topics

Re: [ADVANCED-DOTNET] Can a .wmv file be placed on a website and played without user having to download the file?

2008-01-16 Thread Shawn Wildermuth
== faster download) Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com Microsoft MVP (C#), MCSD.NET, Author and Speaker The Silverlight Tour is coming to a city near you! -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED

Re: [ADVANCED-DOTNET] How to know if the current thread is the UI thread or a worker thread

2008-01-10 Thread Shawn Wildermuth
As everyone will drone on and on about, its unlikely that a DoEvents is really what you want...but in either case, are you using WinForms or what? Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com Microsoft MVP (C#), MCSD.NET, Author and Speaker The Silverlight Tour

Re: [ADVANCED-DOTNET] Robust file copy

2007-12-18 Thread Shawn Wildermuth
+1 for Robocopy...I sync my mp3 collection (all legal, honest ;) to my MCE every day or two and my wireless connection is really lousy, the retry/continue stuff in Robocopy is a lifesaver. Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com Microsoft MVP (C#), MCSD.NET

Re: [ADVANCED-DOTNET] Sharing an connection pool in ASP.NET

2007-11-19 Thread Shawn Wildermuth
And watching connection pooling may confuse you since pooling is disabled under the debugger. You can watch this with the SQL Profiler, as long as you're running outside the debugger. Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com Microsoft MVP (C#), MCSD.NET, Author

Re: [ADVANCED-DOTNET] David Rohacek/AUS/NIC is out of the office.

2007-11-19 Thread Shawn Wildermuth
That's Awesome David...you will be missed... ;) Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com Microsoft MVP (C#), MCSD.NET, Author and Speaker The Silverlight Tour is coming to a city near you! -Original Message- From: Discussion of advanced .NET topics

Re: [ADVANCED-DOTNET] Running word from a web server

2007-10-24 Thread Shawn Wildermuth (MVP)
There is a Word API now that will build them without launching Word. Search for Word and PIA's and you might find it. Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com Microsoft MVP (C#), MCSD.NET, Author and Speaker The Silverlight Tour is coming to a city near you

Re: [ADVANCED-DOTNET] FILETIME format

2007-10-10 Thread Shawn Wildermuth (MVP)
I found this on my first google search: http://www.aspemporium.com/howto.aspx?hid=26 Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com Microsoft MVP (C#), MCSD.NET, Author and Speaker The Silverlight Tour is coming to a city near you! -Original Message- From

Re: [ADVANCED-DOTNET] interview test.....

2007-09-21 Thread Shawn Wildermuth (MVP)
just my opinion... Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com Microsoft MVP (C#), MCSD.NET, Author and Speaker === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http

Re: [ADVANCED-DOTNET] MODERATOR: [ADVANCED-DOTNET] Akshay invites you to join Zorpia

2007-08-06 Thread Shawn Wildermuth (MVP)
There used to be a listserv admin that we could e-mail...is that you Rich? Or is there someone officially responsible. Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com Microsoft MVP (C#), MCSD.NET, Author and Speaker -Original Message- From: Discussion

Re: [ADVANCED-DOTNET] Akshay invites you to join Zorpia

2007-08-04 Thread Shawn Wildermuth (MVP)
He's moved from irritating to outright annoying. Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com Microsoft MVP (C#), MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Akshay Sent

Re: [ADVANCED-DOTNET] Dynamic remote UI - XAML?

2007-07-27 Thread Shawn Wildermuth (MVP)
Isn't building an arbitrary UI that is transmitted over a network what Web Browsers do? Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com Microsoft MVP (C#), MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL

Re: [ADVANCED-DOTNET] David Rohacek/AUS/NIC is out of the office.

2007-07-01 Thread Shawn Wildermuth (MVP)
by hand... Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com Microsoft MVP (C#), MCSD.NET, Author and Speaker [1] http://www.roland-weigelt.de/ghostdoc/ === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage

Re: [ADVANCED-DOTNET] 64bit and .Net?

2007-04-30 Thread Shawn Wildermuth (MVP)
Yes and yes. As far as .NET, from v.2.0 (I haven't looked at this in a while, so please correct me), but the same binaries that you create for .NET 2.0 will run natively in 64 bit (as they are JIT compiled as 64 bit instructions on those OS's). Thanks, Shawn Wildermuth http://adoguy.com http

Re: [ADVANCED-DOTNET] Serialising almost singletons....

2007-04-27 Thread Shawn Wildermuth (MVP)
I don't get the issue. Why are you serializing the singleton? Thanks, Shawn Wildermuth http://adoguy.com http://wildermuthconsulting.com Microsoft MVP (C#), MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf

Re: [ADVANCED-DOTNET] Confidential Data from Source Code

2007-04-03 Thread Shawn Wildermuth (MVP)
I think you'll have better luck with Obfuscation. I haven't done it before and I am sure others can suggestion their favorites, but Brent Rector is a super bright guy so I usually recommend Demeanor (http://wiseowl.com) ... but I don't know the pros and cons. Thanks, Shawn Wildermuth http

Re: [ADVANCED-DOTNET] Diable Connection Pooling for an Entire Process?

2007-02-16 Thread Shawn Wildermuth (MVP)
I know that you don't want to explain, but if connection pooling is causing an issue with your tests, don't you think it is doing its job? How can you be sure that the problems you are facing are not also going to happen in production? Thanks, Shawn Wildermuth Wildermuth Consulting Services

Re: [ADVANCED-DOTNET] Fw: Real show

2007-02-06 Thread Shawn Wildermuth (MVP)
Do you think we can get an admin to kick ftnews? Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com http://wildermuthconsulting.com Microsoft MVP (C#), MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL

[ADVANCED-DOTNET] C Callable DLL

2007-01-28 Thread Shawn Wildermuth
I am working with an old API that wants me to write a C Callable DLL. I can do this in C++ easily (and did that years ago). Before I delve into the dark world of MC++, does anyone know if there is another route in .NET to do this? Thanks, Shawn Wildermuth Wildermuth Consulting Services

Re: [ADVANCED-DOTNET] Conversion Error

2007-01-05 Thread Shawn Wildermuth
Is this byte array coming from a database table? (e.g. an Image column)? Thanks,   Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED

Re: [ADVANCED-DOTNET] Andrey Gavrishev is out of the office.

2006-12-30 Thread Shawn Wildermuth
I am SO gonna miss him. He's such a nice guy...especially since he let us know. Thanks,   Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED

Re: [ADVANCED-DOTNET] probably a naive question about dataset updates....

2006-12-21 Thread Shawn Wildermuth
Though I am not a big fan, you can get the same behavior you had in 2003 by using your existing Typed DataSets (which your e-mail implies but it is clear that I am correct), and *completely* ignoring the Table Adapters and just use DataAdapters like you did in 2003. Thanks,   Shawn Wildermuth

Re: [ADVANCED-DOTNET] Fonts as resources??

2006-11-10 Thread Shawn Wildermuth
I don't think you can use it without installing it system-wide, am I wrong? If you store it as a resource (which you can do like you can any piece of binary code), you'll have to have it store it as a file in order to install it on the machine. Thanks, Shawn Wildermuth Wildermuth Consulting

Re: [ADVANCED-DOTNET] Problem with detecting content type of page

2006-11-10 Thread Shawn Wildermuth
Response.AddHeader(Content-Disposition, attachment; filename=yourfile.mp3); Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED

Re: [ADVANCED-DOTNET] checking .net runtime version

2006-11-08 Thread Shawn Wildermuth
never tested for 2.0): HKCR\CLSID\{005023CA-72B1-11D3-9FC4-00C04F79A0A3}\InprocServer32 Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL

Re: [ADVANCED-DOTNET] dBase III database

2006-11-07 Thread Shawn Wildermuth
I think you might be stuck unless you tear apart the db file apart (which is surprisingly easy since there are no indexes, just structure and data). Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message

Re: [ADVANCED-DOTNET] Web services, DataSets and making use of XSDs...

2006-10-10 Thread Shawn Wildermuth
Since DataSets and I are indelibly tied together let me note that Don is EXACTLY correct with his assertion here. I totally concur. Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From

Re: [ADVANCED-DOTNET] Javascript Disabled

2006-09-11 Thread Shawn Wildermuth
You guys are right...only if the browser supports it... Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Heath

Re: [ADVANCED-DOTNET] Javascript Disabled

2006-09-10 Thread Shawn Wildermuth
Isn't this in the BrowserCaps? I don't have MSDN with me, but I thought it was mentioned there. Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto

Re: [ADVANCED-DOTNET] Javascript Disabled

2006-09-10 Thread Shawn Wildermuth
if (Request.Browser.JavaScript) { // Can JScript } else { // Can't } Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED

Re: [ADVANCED-DOTNET] SqlDataSource

2006-08-17 Thread Shawn Wildermuth
-Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Curt Hagenlocher Sent: Thursday, August 17, 2006 1:27 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] SqlDataSource On 8/16/06, Shawn Wildermuth [EMAIL

Re: [ADVANCED-DOTNET] SqlDataSource

2006-08-16 Thread Shawn Wildermuth
are using a DataSource but if there is a disconnect between the Grid and the DataSource, the DataSource isn't called unless someone requests it. Could you post the whole page's markup? Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author

Re: [ADVANCED-DOTNET] SQL output parameters

2006-08-09 Thread Shawn Wildermuth
It may be that the varchar(8000) was being converted to a text field. Try 'varchar(max)' as the datatype and it should work. Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion

[ADVANCED-DOTNET] VS.NET 2005 Class Designer

2006-08-01 Thread Shawn Wildermuth
I am using the class designer to make some classes and I can't figure out how to make a method/property static. I know I can change the code and it will change but I can't see how to do it in the designer. Anyone figure it out? Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http

Re: [ADVANCED-DOTNET] VS.NET 2005 Class Designer

2006-08-01 Thread Shawn Wildermuth
D'oh...forgot about that...thx... Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Peter Ritchie Sent: Tuesday

[ADVANCED-DOTNET] VS 2005 SP1 by September 2006

2006-07-25 Thread Shawn Wildermuth
I bet Stoyan will be happy to hear this news. http://msdn.microsoft.com/vstudio/support/servicing/sp1_vs05/default.aspx Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com http://adoguy.com/ C# MVP, MCSD.NET, Author and Speaker

Re: [ADVANCED-DOTNET] Singleton vs. Static Classes

2006-07-21 Thread Shawn Wildermuth
make a singleton (or a non-static class). But thanks to everyone who contributed their opinions...I appreciate it! Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET

[ADVANCED-DOTNET] Singleton vs. Static Classes

2006-07-17 Thread Shawn Wildermuth
instancing or Remoted instances never come into view, but I am open to views that take those into account as well. TIA Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com http://adoguy.com/ C# MVP, MCSD.NET, Author and Speaker === This list

Re: [ADVANCED-DOTNET] Singleton vs. Static Classes

2006-07-17 Thread Shawn Wildermuth
Could you explain how you mean not good testability for static classes? I've had a lot of luck testing them in a TDD environment (or at least creating tests for them in a CI environment). Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author

Re: [ADVANCED-DOTNET] Singleton vs. Static Classes

2006-07-17 Thread Shawn Wildermuth
Can you explain mock out? Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Brad Wilson Sent: Monday, July 17, 2006

Re: [ADVANCED-DOTNET] Virtual methods in .NET - was Implementing an Interface - C# vs. VB.NET

2006-07-13 Thread Shawn Wildermuth
dev's. The mere fact that this is discussed on the Advanced list means that we're more likely not to be the in the trench developer where I think the names actually make more sense. But that's just my opinion, I could be wrong... Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http

Re: [ADVANCED-DOTNET] Virtual methods in .NET - was Implementing an Interface - C# vs. VB.NET

2006-07-13 Thread Shawn Wildermuth
it? Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Stoyan Damov Sent: Thursday, July 13, 2006 7:35 PM To: ADVANCED

Re: [ADVANCED-DOTNET] Delegates And Memory Rearrangements

2006-07-09 Thread Shawn Wildermuth
I would not think of them as type-safe pointers as such. My suggestion is to read Chris Sells' Delegate Bedtime Story[1]. Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker [1] http://www.sellsbrothers.com/writing/default.aspx

Re: [ADVANCED-DOTNET] Implementing an Interface - C# vs. VB.NET

2006-07-07 Thread Shawn Wildermuth
this but it makes no sense to me (unless of course a public/internal implmentation in VB.NET is just like a explicit interface implementation). Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From

Re: [ADVANCED-DOTNET] Implementing an Interface - C# vs. VB.NET

2006-07-07 Thread Shawn Wildermuth
: public abstract class T: IBusiness { public virtual void Remove() { innerRemove(); } // ... rest of interface protected internal void innerRemove() { // do remove work here } // ... rest of interface } But that seems silly to me... HTH Thanks, Shawn Wildermuth Wildermuth

Re: [ADVANCED-DOTNET] Implementing an Interface - C# vs. VB.NET

2006-07-07 Thread Shawn Wildermuth
Doh! I meant base.Remove() in the derived class, not base:Remove(). Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf

Re: [ADVANCED-DOTNET] Virtual methods in .NET - was Implementing an Interface - C# vs. VB.NET

2006-07-07 Thread Shawn Wildermuth
Really Barry...I'll have to look at that again...I don't spend as much time in VB as I do C# so I am probably wrong... Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced

Re: [ADVANCED-DOTNET] Virtual methods in .NET - was Implementing an Interface - C# vs. VB.NET

2006-07-07 Thread Shawn Wildermuth
(X.Run()) End Sub End Class When I ran this code, the console wrote out: T.Run() This leads me to believe that Sub Run is virtual by default, no? Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message

Re: [ADVANCED-DOTNET] Virtual methods in .NET - was Implementing an Interface - C# vs. VB.NET

2006-07-07 Thread Shawn Wildermuth
Nevermind, I am an idiot...this shows jus the opposite...the base class's Run was called. Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL

Re: [ADVANCED-DOTNET] Virtual methods in .NET - was Implementing an Interface - C# vs. VB.NET

2006-07-07 Thread Shawn Wildermuth
that the CodeDOM's VB Code Generator in 1.x created overridable functions, subs and properties by default (unlike the C# which created non-virtual by default)...not that VB.NET was virtual by default...my bad memory. Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP

Re: [ADVANCED-DOTNET] Bug with adding datarow to table

2006-06-21 Thread Shawn Wildermuth
No there isn't. My comment about what could be happening is based on reviewing the InsertRow method with Reflector and it isn't doing much. Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From

Re: [ADVANCED-DOTNET] VB's Select Case Equivalent in C#

2006-06-20 Thread Shawn Wildermuth
if (sender == btn) { //... } else if (sender == btn2) { //... } else if (sender == btn3) { //... } Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf

Re: [ADVANCED-DOTNET] Bug with adding datarow to table

2006-06-20 Thread Shawn Wildermuth
that could be throwing that is if a this pointer were null which is very very nasty. Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Franklin Gray Sent: Tuesday

Re: [ADVANCED-DOTNET] Bug with adding datarow to table

2006-06-19 Thread Shawn Wildermuth
Can you post a stacktrace (including the framework's stack)? That might give us a clue. It might be that you need to stop some databinding activity during the add or something...or you have an errant DataView somewhere... Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author

Re: [ADVANCED-DOTNET] Bug with adding datarow to table

2006-06-19 Thread Shawn Wildermuth
underlying problem (again, most likely a data binding issue). Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Franklin Gray Sent: Monday, June 19, 2006 6:45 PM

Re: [ADVANCED-DOTNET] What's the .NET analogue of Java's JMX framework?

2006-06-05 Thread Shawn Wildermuth
What does JMX do? Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Kunle Odutola Sent: Tuesday, June 06, 2006 1:57 AM To: ADVANCED-DOTNET

Re: [ADVANCED-DOTNET] RTF Editor and RTF Table Generation

2006-05-28 Thread Shawn Wildermuth
, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of John Whattam Sent: Sunday, May 28, 2006 6:04 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET

Re: [ADVANCED-DOTNET] [Semi-OT] UML Flowchart / Process Mapping Software

2006-05-24 Thread Shawn Wildermuth
I like Enterprise Architect by SparxSystems: http://sparxsystems.com Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Gregory Miley Sent: Wednesday

Re: [ADVANCED-DOTNET] [Semi-OT] UML Flowchart / Process Mapping Software

2006-05-24 Thread Shawn Wildermuth
Its not free, because MSDN Subscriptions aren't free (ok, not free for most people). Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of J. Merrill Sent

Re: [ADVANCED-DOTNET] Why can't I suppress SecurityPermission?

2006-05-24 Thread Shawn Wildermuth
Pool instead of firing up your own threads? (Maybe because its throttled the security implications are lower). Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED

Re: [ADVANCED-DOTNET] VS ASP.NET 2005

2006-04-20 Thread Shawn Wildermuth
You may need to click (Show all Files) button in the top of the Solution Explorer to see that file. Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Dean

Re: [ADVANCED-DOTNET] VS ASP.NET 2005

2006-04-20 Thread Shawn Wildermuth
Oh yeah... Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Dean Cleaver Sent: Thursday, April 20, 2006 5:01 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM

Re: [ADVANCED-DOTNET] VS ASP.NET 2005

2006-04-20 Thread Shawn Wildermuth
Ah, now I remember, but if you click the (Show All Files) button in a VB.NET project, it will show you the nested classes (this is different from C# where you can show the nested classes by default). Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker

Re: [ADVANCED-DOTNET] the file

2006-04-17 Thread Shawn Wildermuth
. Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Marc Brooks Sent: Monday, April 17, 2006 6:19 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re

Re: [ADVANCED-DOTNET] the file

2006-04-14 Thread Shawn Wildermuth
I am fine. Please send more details. YES. Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of unknownreference Sent: Friday, April 14, 2006 11:31 AM

Re: [ADVANCED-DOTNET] Interprocess notifications 2

2006-04-11 Thread Shawn Wildermuth
Guess I can't sleep: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui /windowsuserinterface/dataexchange/atoms.asp You can PInvoke to it pretty easily. Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From

Re: [ADVANCED-DOTNET] Interprocess notifications

2006-04-10 Thread Shawn Wildermuth
Why not an Event? Kernel objects are typically used for Cross Process communication. For what you need, you probably need a ManualResetEvent (look in System.Threading). Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From

Re: [ADVANCED-DOTNET] Interprocess notifications

2006-04-10 Thread Shawn Wildermuth
through it: http://msdn2.microsoft.com/en-US/library/ksb7zs2x(VS.80).aspx http://www.codeproject.com/csharp/eventsthreadsync.asp Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL

Re: [ADVANCED-DOTNET] Interprocess notifications

2006-04-10 Thread Shawn Wildermuth
don't know exactly how you want to use it, but one of the kernel objects (Event, Semaphore and Mutex) all work really well across process. Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto

Re: [ADVANCED-DOTNET] Interprocess notifications

2006-04-10 Thread Shawn Wildermuth
Np... Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Dean Cleaver Sent: Tuesday, April 11, 2006 1:47 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject

Re: [ADVANCED-DOTNET] Dictionary multi-reader single writer

2006-04-05 Thread Shawn Wildermuth
If you have access to Jeffrey Richter's new book CLR via C#, he covers the in's and out's of this very problem. If you do use a RWL, make sure you lock on the synchronization object, not the instance of the object or the type. Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author

Re: [ADVANCED-DOTNET] Word file

2006-04-02 Thread Shawn Wildermuth
Can someone bad this wbarthol user since he keeps trying to send us poison attachments? Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of wbarthol Sent

Re: [ADVANCED-DOTNET] Word file

2006-04-02 Thread Shawn Wildermuth
I assumed we didn't get attachments because listserv was dropping them... Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Freudenberg Sent

[ADVANCED-DOTNET] Modules...

2006-03-28 Thread Shawn Wildermuth
for their production systems. Anyone? Thanks, Shawn Wildermuth blocked::http://adoguy.com/ http://adoguy.com C# MVP, MCSD.NET, Author and Speaker === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s

Re: [ADVANCED-DOTNET] Modules...

2006-03-28 Thread Shawn Wildermuth
While useful, sounds much more like a niche use than a recommended use...(modules, not just your occasion). WOuld you generally agree with that? Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET

[ADVANCED-DOTNET] Debugging IE Hosted WinForms Controls...

2006-03-14 Thread Shawn Wildermuth
and if my WinForm control is launched, I want to be able to set breakpoints in it. Anyone figure this out? I've googled until my fingers bled. Thanks, Shawn Wildermuth blocked::http://adoguy.com/ http://adoguy.com C# MVP, MCSD.NET, Author and Speaker === This list

Re: [ADVANCED-DOTNET] Debugging IE Hosted WinForms Controls...

2006-03-14 Thread Shawn Wildermuth
But then I can't debug ASP.NET code because I will have to Run not Start the ASP.NET project to get IExplorer running. If I try to attach to it after starting the site, IEXPLORE is already attached to, but not debugging into my process. Thanks, Shawn Wildermuth http://adoguy.com C# MVP

Re: [ADVANCED-DOTNET] Debugging IE Hosted WinForms Controls...

2006-03-14 Thread Shawn Wildermuth
I don't have your particular problem with VS being slow to debug. Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Sebastian Good Sent: Tuesday, March 14

Re: [ADVANCED-DOTNET] Debugging IE Hosted WinForms Controls...

2006-03-14 Thread Shawn Wildermuth
2 Gigs if you every need to open MSDN Help docs ;) Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Vince P Sent: Tuesday, March 14, 2006 9:20 PM

Re: [ADVANCED-DOTNET]

2006-02-25 Thread Shawn Wildermuth
Huh? Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of wbarthol Sent: Saturday, February 25, 2006 1:27 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject

Re: [ADVANCED-DOTNET] DirectoryServices search filter problem

2006-02-23 Thread Shawn Wildermuth
] DirectoryServices search filter problem Hi, I made the mistake when writing the post, it's 'organizationalUnit'. I'm seaching through Active Directory. Thanks. Walid Soumer. -Original Message- From: Discussion of advanced .NET topics. on behalf of Shawn Wildermuth Sent: Wed 2/22/2006 8:44

Re: [ADVANCED-DOTNET] False compiler warning

2006-02-23 Thread Shawn Wildermuth
Discussion, WinForms? Or ASP.NET? Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Dean Cleaver Sent: Friday, February 24, 2006 12:11 AM To: ADVANCED

Re: [ADVANCED-DOTNET] DirectoryServices search filter problem

2006-02-22 Thread Shawn Wildermuth
You spelled it two different ways in the e-mail, is it organizationalUnit or organizationUnit? That may be your problem... What LDAP store are you searching through? Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion

Re: [ADVANCED-DOTNET] Statics on Generic classes

2006-02-19 Thread Shawn Wildermuth
a lot of static data, but it might perform really well instead of non-shared schema like we have today. Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf

Re: [ADVANCED-DOTNET] Statics on Generic classes

2006-02-19 Thread Shawn Wildermuth
We're on the same page, at the FooMyTypedDataSet level. Thanks, Shawn Wildermuth http://adoguy.com C# MVP, MCSD.NET, Author and Speaker -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Dean Cleaver Sent: Monday, February 20, 2006 1:45

  1   2   >