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

2007-08-13 Thread Eric Brown
One problem I've run into is that by default, the framework runs in 64-bit mode. This can cause silent failures if you're calling 32-bit dlls in your code (e.g., via interop). There's a compiler switch that you can set to force 32-bit mode: /platform:x86 (http://msdn2.microsoft.com/en-us/library/

Re: [ADVANCED-DOTNET] List vs HashTable

2007-07-03 Thread Eric Gunnerson
My advice is to always start with the simpler choice - List in this case, and only switch over if you find that you need more performance in that area. I wrote some more on that subject here: http://blogs.msdn.com/ericgu/archive/2006/06/26/647877.aspx Eric -Original Message- From

Re: [ADVANCED-DOTNET] Cross-Server Queries

2007-07-02 Thread Eric Means
stions? Thanks, Mike === This list is hosted by DevelopMentor(r) http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com -- Eric Means [EMAIL PROTECTED] http://www.randomtree.org/eric/ === This list is hos

Re: [ADVANCED-DOTNET] MSMQ accross different domains

2007-06-08 Thread Eric Means
) and Linux web and application hosting - http://link.myhosting.com/myhosting === This list is hosted by DevelopMentor(r) http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com -- Eric Means [EMAIL PROTECTED] http://www.randomtree.org/e

Re: [ADVANCED-DOTNET] Grayscale images in WPF

2007-05-10 Thread Eric Gunnerson
Have you thought about graying it out using opacity? If you set the opacity to about 50%, you will likely get the effect that you want. You can control how it grays by putting a rectangle of the appropriate color (white, black, gray) directly behind the image... Eric -Original Message

Re: [ADVANCED-DOTNET] Importing SQL 2000 Database into SQL 2005

2007-02-24 Thread Eric Means
elop.com > > View archives and manage your subscription(s) at http://discuss.develop.com > > === > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at http://discuss.develop.com > ==

Re: [ADVANCED-DOTNET] SQL Timeout

2007-02-21 Thread Eric Means
ers!> > Dave> > - Original Message -> > From: "Mark Brackett" <[EMAIL PROTECTED]>> > To: === This list is hosted by DevelopMentor(r) http://www.develop.com View archives and manage your subscription(s) at http://discuss

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

2006-07-07 Thread Eric Means
View archives and manage your subscription(s) at http://discuss.develop.com === This list is hosted by DevelopMentor(r) http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com -- Eric Means [EMAIL PROTECTED] http://www.randomtree.org/eric

Re: [ADVANCED-DOTNET] Client Activated Object - Can't find ..ctor?

2006-07-03 Thread Eric Means
public, parameterless ctor? -- Patrick Steele Microsoft .NET MVP http://weblogs.asp.net/psteele -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Eric Means Sent: Friday, June 30, 2006 11:26 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject

[ADVANCED-DOTNET] Client Activated Object - Can't find ..ctor?

2006-06-30 Thread Eric Means
a, Int32 type) at My.Type..ctor(Boolean param) There is no InnerException. How should I go about debugging this? The site has FullTrust in the CAS policy (I've already verified that). Why is it not finding the constructor? -- Eric Means [EMAIL PROTECTED] http://www.randomtree.org/eric/

Re: [ADVANCED-DOTNET] Documenting Dlls

2006-06-23 Thread Eric Means
Actually, it may have been this one: http://www.gotdotnet.com/Workspaces/Workspace.aspx?id=112b5449-f702-46e2-87fa-86bdf39a17dd instead. Like I said, it was 2+ years ago. ;) On 6/24/06, Eric Means <[EMAIL PROTECTED]> wrote: IIRC (from when I used it, 2+ years ago) there's also an

Re: [ADVANCED-DOTNET] Documenting Dlls

2006-06-23 Thread Eric Means
Sorry, no. They changed it with 2005. For 2003 you'll have to use the add-in I linked in my previous message. On 6/23/06, Franklin Gray <[EMAIL PROTECTED]> wrote: I thought that XML Comments only worked with C#? Did they change that with 2003? Message from Eric Means <[E

Re: [ADVANCED-DOTNET] Documenting Dlls

2006-06-23 Thread Eric Means
ure. For > details > > on creating an XML file with documentation comments, see the following > > topics." from help files. > > > > I forgot to add that I'm using VB.net 2003. Is XML Comments available > in > > VB.net 2003? Anybody have an example? > > &

Re: [ADVANCED-DOTNET] Documenting Dlls

2006-06-23 Thread Eric Means
ttp://www.develop.com > > View archives and manage your subscription(s) at http://discuss.develop.com === This list is hosted by DevelopMentor(r) http://www.develop.com View archives and manage your subscription(s) at http://discuss.devel

Re: [ADVANCED-DOTNET] Retrieving the name of the type from a generic method...

2006-06-07 Thread Eric Means
ription(s) at > http://discuss.develop.com > > > > > -- > > Cheers, > Stoyan > > === > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develo

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

2006-06-06 Thread Eric Means
r no circumstances do we accept liability for any loss or damage which may result from your receipt of this message or any attachments. ** === This list is hosted by DevelopMentor(r) http://www.develop.com View arch

Re: [ADVANCED-DOTNET] Generics & Indexers

2006-05-23 Thread Eric Means
Thanks Paul === This list is hosted by DevelopMentor(r) http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com -- Eric Means [EMAIL PROTECTED] http://www.randomtree.org/eric/ === Thi

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

2006-04-19 Thread Eric Means
opMentor(r) http://www.develop.com > > > > View archives and manage your subscription(s) at > http://discuss.develop.com > > > > > -- > Ernst Kuschke > MVP - C# > http://dotnet.org.za/ernst > > === > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > -- Eric Means [EMAIL PROTECTED] http://www.randomtree.org/eric/ === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com

Re: [ADVANCED-DOTNET] FW: c# and regular expression

2006-04-07 Thread Eric Gunnerson
Is that really your code? I'd expect sqlSyntax = declare.Replace(sqlSyntax, ""); Eric -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Hevel, Shawn Sent: Friday, April 07, 2006 9:10 AM To: ADVANCED-DOTNET@DISCUSS.DEVE

Re: [ADVANCED-DOTNET] c# and regular expression

2006-04-07 Thread Eric Means
; > > > > Shawn Hevel, API, AIT > Lead Programmer Analyst > Information Technology Department > South Carolina Farm Bureau Insurance Companies > Phone: (803) 936-4331 > Fax: (803) 936-4629 > Work Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > Home Email: [EMAI

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

2006-04-05 Thread Eric Means
lti-threading) that > discusses the performance of ReaderWriterLock in .NET 2.0 (and, I'll > assume, 1.x) [1] > > [1] http://blogs.msdn.com/vancem/archive/2006/03/28/563180.aspx > > -- Peter > _ > http://www.peterRitchie.com/Blog/DotNetConfig.xsd > > On Wed,

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

2006-04-05 Thread Eric Means
nd manage your subscription(s) at > http://discuss.develop.com > -- Eric Means [EMAIL PROTECTED] http://www.randomtree.org/eric/ === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com

Re: [ADVANCED-DOTNET] Retrieving all available data on a Blocking TCP Listener Call...

2006-03-28 Thread Eric Means
Would it even matter, though? The client may/will have already closed the connection...! ;) On 3/28/06, Mark Smith <[EMAIL PROTECTED]> wrote: > > BTW, I think you are right Eric, I consider this a theoretical discussion > at > best -- the fact is that for client requests,

Re: [ADVANCED-DOTNET] Retrieving all available data on a Blocking TCP Listener Call...

2006-03-28 Thread Eric Means
t;[EMAIL PROTECTED]> wrote: > > On 3/28/06, Eric Means <[EMAIL PROTECTED]> wrote: > > > > The client's request should include a Content-Length header. Your > > webserver > > should continue waiting on data until it has read that number of bytes > &g

Re: [ADVANCED-DOTNET] Retrieving all available data on a Blocking TCP Listener Call...

2006-03-28 Thread Eric Means
method to get > all > of the data and know that my request has completed? > > Thanks, > Mike > > === > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(

Re: [ADVANCED-DOTNET] Howto create VS2005 project with both c# and c++

2006-03-24 Thread Eric Means
== > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > -- Eric Means [EMAIL PROTECTED] http://www.randomtree.org/eric/ === This list is hosted by DevelopMentor® h

Re: [ADVANCED-DOTNET] [C#]: Multiple SQL Servers, Multiple Projects

2006-03-23 Thread Eric Means
; Greg > > === > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > -- Eric Means [EMAIL PROTECTED] http://www.randomtree.org/eric/ ==

Re: [ADVANCED-DOTNET] C++/CLI XML doc comments

2006-03-10 Thread Eric Means
/columns/kate/article.php/c9167/ On 3/10/06, Eric Means <[EMAIL PROTECTED]> wrote: > > I'm not terribly familiar with C++/CLI, but I know that in C# you have to > make sure the compiler is set to produce the XML documentation file; the > settings (in VS 2005) are in Project Prop

Re: [ADVANCED-DOTNET] C++/CLI XML doc comments

2006-03-10 Thread Eric Means
This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > -- Eric Means [EMAIL PROTECTED] http://www.randomtree.org/eric/ === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com

Re: [ADVANCED-DOTNET] C++/CLI Dispose pattern

2006-03-08 Thread Eric Means
- > "Under capitalism, man exploits man. Under communism, it's just the > opposite." –John Kenneth Gailbraith > > Marc C. Brooks > mailto:[EMAIL PROTECTED] > http://musingmarc.blogspot.com > > === > This list is hosted by Develo

Re: [ADVANCED-DOTNET] Rethrowing an exception

2006-03-02 Thread Eric Means
me code > > > > throw(ex); // rethrow like this? > > throw; // or rethrow like this? > >} > > === > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > -- Eric Means [EMAIL PROTECTED] http://www.randomtree.org/eric/ === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com

Re: [ADVANCED-DOTNET] Who calls the async socket callback

2006-02-16 Thread Eric Means
nReceive/BeginSend. > Is it the worker thread pool or completion port thread ? > > === > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com &g

Re: [ADVANCED-DOTNET] .NET micro-benchmarking

2006-02-08 Thread Eric Gunnerson
They're put there so that there are instructions associated with the lines you might want to put breakpoints on. Eric -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Fabian Schmied Sent: Wednesday, February 08, 2006 11:

Re: [ADVANCED-DOTNET] Source Control - What do you use, and why?

2006-02-08 Thread Eric Means
gt; -- > "Under capitalism, man exploits man. Under communism, it's just the > opposite." –John Kenneth Gailbraith > > Marc C. Brooks > mailto:[EMAIL PROTECTED] > http://musingmarc.blogspot.com > -- Eric Means [EMAIL PROTECTED] http://www.randomtree.org/eric/

Re: [ADVANCED-DOTNET] Source Control - What do you use, and why?

2006-02-08 Thread Eric Means
u're doing > on a new version under source control during the current version's "code > freeze" without doing lots of extra work, at least look at it!) > > At 11:53 AM 2/8/2006, Eric Means wrote (in part) > >We're trying to decide between Perforce...TFS, and

Re: [ADVANCED-DOTNET] Source Control - What do you use, and why?

2006-02-08 Thread Eric Means
tware (in 1.0 > days) is just plain archaic. > > No comments on Vault, havne't used it... in the one place it would > have made sense (to "remote" a VSS 6 setup), we ended up using RDP for > the off-shore guys to hit "local" machines. > > M

Re: [ADVANCED-DOTNET] .NET micro-benchmarking

2006-02-08 Thread Eric Gunnerson
vast differences in access time between cache, main memory, and disk can easily overshadow raw code speed. My advice is to write code as simply as possible, use TDD so that you have unit tests and can therefore refactor as needed, and *measure* your performance early and often. Eric -

Re: [ADVANCED-DOTNET] Creating an object from a System.Type

2006-02-06 Thread Eric Means
> --Jekke > > === > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > -- Eric Means [EMAIL PROTECTED] http://www.randomtree.org/eric/ ==

Re: [ADVANCED-DOTNET] System.IO.Exception

2006-02-05 Thread Eric Means
Console.WriteLine("{0}: {1}", > ++lineNum, > args.Str); > > writer.Flush(); > > } > > } > > } > > } > &g

Re: [ADVANCED-DOTNET] Generic Return type:

2006-01-30 Thread Eric Means
Ack, sorry... actually, you just need to change the return type to Guid. Out of curiousity, why is this a generic function at all? You never use T at all except as the return type, and that's constrained already by the type of QuestionElement.Uid (which appears to be Guid)... On 1/30/06,

Re: [ADVANCED-DOTNET] C# XML Commenting

2006-01-30 Thread Eric Means
and manage your subscription(s) at > http://discuss.develop.com > > === > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com >

Re: [ADVANCED-DOTNET] Generic Return type:

2006-01-30 Thread Eric Means
} > } > } > > I am getting the compiler error: > > Cannot implicitly convert type 'System.Guid' to 'T' > > Does anyone know how I could define this Generic function? > > Thanks > > Paul > > ==

Re: [ADVANCED-DOTNET] Visual Studio 2005 consumes ALL computer memory (RAM and virtual)

2006-01-25 Thread Eric Means
s a .Net list, then your > > argument is totally invalid. > > > > I stand by my original post... That EmptyWorkingSet is indeed > > a correct and valid way of doing this. > > > > Dino > > === > This list is hosted by DevelopMentor(r)

Re: [ADVANCED-DOTNET] Visual Studio 2005 consumes ALL computer memory (RAM and virtual)

2006-01-25 Thread Eric Means
> > > Hardware: AMD Sempron 2800+ (2 GHz), 512 MB RAM > > > > > > > > Stano > > > > > > PS: Well. I know, 512 MB of RAM is not too much fo VS and very soon I > > will get 1 GB, but I don't thing that it will solve my problem. > >

Re: [ADVANCED-DOTNET] Nested transactions

2006-01-05 Thread Eric Means
gt; >Java, .NET, XML services > >http://blogs.tedneward.com > > > J. Merrill / Analytical Software Corp > > === > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at >

Re: [ADVANCED-DOTNET] Is this System.Assembly an executable or a library?

2006-01-04 Thread Eric Means
http://discuss.develop.com > > > > > -- > __ > - David Lanouette > - [EMAIL PROTECTED] > > === > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your su

[ADVANCED-DOTNET] .Net 2.0: Using Flags Enum values in Project Settings

2006-01-03 Thread Eric Means
I haven't been able to work out how to use multiple values from a Flags Enum in the new .Net Settings dialog. (Project > Properties > Settings). For example, the System.IO.WatcherChangeTypes enum, you can combine Created and Renamed to be notified of any files that are either created or renamed. H

Re: [ADVANCED-DOTNET] Possible defect in BeginWrite on FileStream

2005-12-19 Thread Eric Means
espite the fact that I've never actually needed it) I still think > >>it would be a mistake to put something this specialized into something > >>as generic as Stream. > >> > >>It's at best a poor match (and at worst, inappropriate) for most > >>imple

Re: [ADVANCED-DOTNET] Possible defect in BeginWrite on FileStream

2005-12-16 Thread Eric Means
saying that locking, Seeking, BeginWriteing, and unlocking > >is > > >> not good enough? > > >> > > >> Well, I guess it is good enough, just doesn't seem very elegant. > > >Would be > > >> nice if there was an offset in there so one "at

Re: [ADVANCED-DOTNET] Read and Write data from/to a serial port (such as COM1)

2005-11-29 Thread Eric Means
//www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > > === > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at > http://discu

Re: [ADVANCED-DOTNET] figuring out where to log to from a gac dll

2005-11-28 Thread Eric Means
elcome. I suppose the event log is an option but I'd have to discuss > > that > > with my partner on my project as logging to a text file is his idea. > > > > === > > This list is hosted by DevelopMentor(r) http://www.develop.com >

Re: [ADVANCED-DOTNET] Writing data to the beginning of a file

2005-11-22 Thread Eric Means
rash that shuts down the logging task. (But it's > probably more likely that the disk onto which the data is being written will > fail -- and there's not much you can do about that, other than to have > another place to write if the first place fails.) > > At 11:44 PM 11/20/200

Re: [ADVANCED-DOTNET] Writing data to the beginning of a file

2005-11-19 Thread Eric Means
7;t need to care about how long it takes to write the file. The writer thread can batch log messages until it has a certain size and rearrange them in memory to be most-recent-first, which will help a bit with I/O costs. You could use MSMQ to make the message delivery absolutely reliable, assum

Re: [ADVANCED-DOTNET] Appeal to the Possitive People on the Net Re: http://drpcdr.ca

2005-10-31 Thread Eric Means
> __ > > > Yahoo! FareChase: Search multiple travel sites in > > one click. > > > http://farechase.yahoo.com > > > > > > === > > > This list is hosted by DevelopMentor(r) > > http://www.devel

Re: [ADVANCED-DOTNET] Trouble creating COM components in Web application...

2005-10-26 Thread Eric Wild
. If it started OK the icon will spin. You can use the above script to test it out, or try it from the web. Eric > -Original Message- > From: Discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] Behalf Of Mike Andrews > Sent: Wednesday, October 26, 2005 11:06 AM &g

Re: [ADVANCED-DOTNET] AddHandler runtime error on remoted singleton

2005-09-08 Thread Eric Means
ect for my > application. > > Thanks very much! > > Rob > > === > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > -- Eric Means [EMAIL PROTECTED] http://www.randomtree.org/eric/ === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com

Re: [ADVANCED-DOTNET] AddHandler runtime error on remoted singleton

2005-09-07 Thread Eric Means
gt; === > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > -- Eric Means [EMAIL PROTECTED] http://www.randomtree.org/eric/ === This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com

Re: [ADVANCED-DOTNET] Most appropriate design pattern to use for ...

2005-03-29 Thread Eric Wild
Oh I forgot -- I like the cover too! I have yet to set the book face down. Eric > -Original Message- > From: Unmoderated discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] Behalf Of Eric Wild > Sent: Tuesday, March 29, 2005 2:05 PM > To: ADVANCED-DOTNET@DISC

Re: [ADVANCED-DOTNET] Most appropriate design pattern to use for ...

2005-03-29 Thread Eric Wild
way, definately worth the $50 Eric Wild > -Original Message- > From: Unmoderated discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] Behalf Of Reich, Joe > Sent: Tuesday, March 29, 2005 12:34 PM > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Subject: Re: Most

[ADVANCED-DOTNET] TextBox implementing NumberFormatInfo? CultureInfo?

2005-03-17 Thread Eric Hébert
I'm searching a way to implement or find a way to use a TextBox to be used to enter Currency data according to s NumberFormatInfo and CultureInfo class. What is the best way to do this??? Regular Expressions??? Something that exist??? Regards, Eric H

Re: [ADVANCED-DOTNET] Add-in Dont Appear in Outlook

2005-03-11 Thread Eric Wild
to create addin's for .NET, and also talks about the connectModes. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnout2k2/ht ml/odc_oladdinvbnet.asp Eric Wild > -Original Message- > From: Unmoderated discussion of advanced .NET topics. > [mailto:[EMAIL PR

Re: [ADVANCED-DOTNET] IL internals (castclass and isinst)

2005-02-21 Thread Eric Means
n is the type of > InvalidCastException(). Let's also assume that the cast is not known to > succeed. Certainly example two is more explicit and conveys more visually > about what will happen when the operation fails. > > Thanks > Fred Palmer > > ==

Re: [ADVANCED-DOTNET] synchronization

2005-02-09 Thread Eric Means
=== > This list is hosted by DevelopMentor® http://www.develop.com > > View archives and manage your subscription(s) at http://discuss.develop.com > -- Eric Means [EMAIL PROTECTED] http://www.randomtree.org/eric/ === This list is hosted by DevelopM

Re: [ADVANCED-DOTNET] How to change .net framework target

2005-02-07 Thread Eric Means
e project or for all proj from 2005 without having to > install visual studio 2003? > > Thanks and appreciate for your help! > > Thanks, > Sarvajith > > === > This list is hosted by DevelopMentor® http://www.develop.com > > View arch

Re: [ADVANCED-DOTNET] Installing a Windows Service

2005-02-04 Thread Eric Means
= > This list is hosted by DevelopMentorR http://www.develop.com > > View archives and manage your subscription(s) at http://discuss.develop.com > > === > This list is hosted by DevelopMentor® http://www.develop.com > > View archives and manage yo

Re: [ADVANCED-DOTNET] Disposing of objects

2005-01-26 Thread Eric Gunnerson
object would handle that cleanup. The difference is that finalization can happen on any object, but dispose can only happen on the user-visible object. Eric -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Julian Everett Sent

Re: [ADVANCED-DOTNET] Remoting -Events

2005-01-21 Thread Eric Means
s hosted by DevelopMentor. http://www.develop.com > > > > View archives and manage your subscription(s) at > > http://discuss.develop.com > > > > === > This list is hosted by DevelopMentor(r) http://www.develo

Re: [ADVANCED-DOTNET] Event performance

2005-01-18 Thread Eric Gunnerson
There are some delegate optimizations in Whidbey as well. IIRC, those make the differences between delegates and interfaces pretty much a wash. Eric -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Ben Kloosterman Sent

Re: [ADVANCED-DOTNET] When does the attribute contructor gets executed??

2005-01-18 Thread Eric Gunnerson
"Serialization" isn't really the right term. Attributes use a special format to save their data that isn't related to the .NET serialization infrastructure (s). We used "pickling" as the term, but I'm not sure where that came from. Eric -Original Messag

Re: [ADVANCED-DOTNET] Question on CLR

2005-01-10 Thread Eric Means
ds them. The .Net components also cannot be controlled by the Service Control Manager (the Control Panel applet for services). -- Eric Means [EMAIL PROTECTED] http://www.randomtree.org/eric/ === This list is hosted by DevelopMentor® http://www.deve

Re: [ADVANCED-DOTNET] Tcp/Ip Client successfully sends a message even after the Server has closed its socket

2005-01-03 Thread Eric Means
sender.Close(); > > > > } > > catch (ArgumentNullException ane) > > { > > Console.WriteLine("ArgumentNullException : > > {0}",ane.ToString()); > > } > > catch (SocketException s

Re: [ADVANCED-DOTNET] How do i capture a web page as an image file?

2004-12-21 Thread Eric Means
take the time to read and reply and I greatly > appreciate any suggestions. > > Mark > > === > This list is hosted by DevelopMentor® http://www.develop.com > Some .NET courses you may be interested in: > > Essential .NET: building applicatio

Re: [ADVANCED-DOTNET] ServiceControlManager within an NT Service

2004-12-03 Thread Eric Means
d in: > > Essential .NET: building applications and components with C# > November 29 - December 3, in Los Angeles > http://www.develop.com/courses/edotnet > > View archives and manage your subscription(s) at http://discuss.develop.com > -- Eric Means [EMAIL PROTECTED] http://w

Re: [ADVANCED-DOTNET] const modifier in method parameter - managed c++

2004-11-19 Thread Eric Means
Essential .NET: building applications and components with C# > November 29 - December 3, in Los Angeles > http://www.develop.com/courses/edotnet > > View archives and manage your subscription(s) at http://discuss.develop.com > -- Eric Means [EMAIL PROTECTED] http://www.randomtree.

Re: [ADVANCED-DOTNET] XML public property and constructor serialization issues.

2004-11-18 Thread Eric Means
evelop.com > Some .NET courses you may be interested in: > > Essential .NET: building applications and components with C# > November 29 - December 3, in Los Angeles > http://www.develop.com/courses/edotnet > > View archives and manage your subscription(s) at http://discuss.deve

Re: [ADVANCED-DOTNET] SQL Server Provider builtin optimizations?

2004-11-10 Thread Eric Means
= > This list is hosted by DevelopMentor® http://www.develop.com > Some .NET courses you may be interested in: > > Essential .NET: building applications and components with C# > November 29 - December 3, in Los Angeles > http://www.develop.com/courses/edot

Re: [ADVANCED-DOTNET] Theads....

2004-10-20 Thread Eric Means
most notably SQL Server 2005. Source: http://episteme.arstechnica.com/eve/ubb.x?a=tpc&s=50009562&f=6330927813&m=811002626631&r=488001136631#488001136631 -- Eric Means [EMAIL PROTECTED] http://www.randomtree.org/eric/ === This list is ho

Re: [ADVANCED-DOTNET] how to programmatically set scroll bar in the datagrid?

2004-10-15 Thread Eric C. Willman
/frlrfsystemwindowsformsdatagridclassgridvscrolledtopic.asp) Example: public ScrollToRow(int rowNum) { this.GridVScrolled(this, new ScrollEventArgs(ScrollEventType.LargeIncrement, rowNum)); } Eric C. Willman -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On

Re: [ADVANCED-DOTNET] how to programmatically set scroll bar in the datagrid?

2004-10-13 Thread Eric C. Willman
/frlrfsystemwindowsformsdatagridclassgridvscrolledtopic.asp) Example: public ScrollToRow(int rowNum) { this.GridVScrolled(this, new ScrollEventArgs(ScrollEventType.LargeIncrement, rowNum)); } -Eric === This list is hosted by DevelopMentor® http://www.develop.com Some .NET courses you may be interested in

Re: [ADVANCED-DOTNET] Reading an SQL Image with VB .NET

2004-10-11 Thread Eric Means
pull it off. On Mon, 11 Oct 2004 15:23:02 -0400, Jon Guerin <[EMAIL PROTECTED]> wrote: > Can someone point me to an example of saving an asp.net html page to an > image. > > Ultimately I want to save it to an sql table and later retrieve it and email > the image as a p

Re: [ADVANCED-DOTNET] Value and Reference Types confusion.

2004-07-12 Thread Eric Gunnerson
Inline... Eric -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Ankit Bhurat Sent: Monday, July 12, 2004 10:35 AM To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] Value and Reference Types confusion. Hi all, These days I am

Re: [ADVANCED-DOTNET] DataColumn length

2004-06-18 Thread Eric C. Willman
Are you looking for the DataColumn.MaxLength property (DataTable.Columns[x].MaxLength)? You cannot set it in the constructor, you have to change it on the DataColumn object after it is instantiated. Eric C. Willman -Original Message- From: Unmoderated discussion of advanced .NET topics

Re: [ADVANCED-DOTNET] Compiled Regular Expressions

2004-04-30 Thread Eric Gunnerson
o one assembly. I'm uninformed about how system.web.regularexpressions.dll is created. Eric -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Shawn A. Van Ness Sent: Thursday, April 29, 2004 9:49 PM To: [EMAIL PROTECTE

Re: [ADVANCED-DOTNET] Compiled Regular Expressions

2004-04-29 Thread Eric Gunnerson
(link below) can do timings of both the compilation and execution, and you can plug in different numbers to see when it makes sense to compile: http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=C 712F2DF-B026-4D58-8961-4EE2729D7322 Eric -Original Message- From

Re: [ADVANCED-DOTNET] Creating a delegate from reflection information

2004-03-03 Thread Eric Gunnerson
is an okay method if you're going to call it a bunch, but if you only want to call it once, InvokeMember() is a lot easier. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol /html/csharp02172004.asp Hope that helps Eric -Original Message- From: Moderated dis

Re: [ADVANCED-DOTNET] Casting Problem

2004-01-26 Thread Eric Gunnerson
Custom attribute class is compiled into a single assembly and not separately for each object. I will try to see what happens if all of the files are placed into a single folder, however that is not a perfect solution -Original Message- From: Eric Gunnerson [mailto:[EMAIL PROTECTED] Sent:

Re: [ADVANCED-DOTNET] Casting Problem

2004-01-23 Thread Eric Gunnerson
Assembly.Load should give you the same identity. Assembly.LoadFrom() *may* give you a different identity, though the runtime will try an assembly.Load() first, and if that succeeds, it would have the same identity. I'm presuming that the custom attribute class only exists in one dll, and that yo

Re: [ADVANCED-DOTNET] Problem Using LoadFrom()

2004-01-12 Thread Eric Gunnerson
IIRC, when you call LoadFrom(), it checks to see if it could use Load() instead, and if it could, it does. Load() would succeed locally but not if the type was somewhere else. You might be interested in Suzanne Cook's blog at http://blogs.msdn.com/suzcook -Original Message- From: Moderat

[ADVANCED-DOTNET] help with printer invoke

2004-01-09 Thread Eric
the printer settings (tray selection, orientation, etc.) are being ignored. Thanks for any help, Eric My Code (keep in mind this represents a lot of tweaking and messing around trying to figure out what's wrong): using System; using System.Drawing; using System.Collections;

Re: [ADVANCED-DOTNET] Best way to share an interface definition amoung components tier

2004-01-09 Thread Eric Gunnerson
this helps Eric -Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Bill Bassler Sent: Friday, January 09, 2004 3:53 AM To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] Best way to share an interface definition amoung components

Re: [ADVANCED-DOTNET] Re re SQL Server Emulator?

2004-01-08 Thread Eric V. Smith
etc without having things break > when they are actually supposed to get data from "somewhere". It sounds like you want to use a mock object pattern. A java example is http://javaboutique.internet.com/tutorials/mock_objects/, but the technique obviously applies elsewhere. Eric. ==

Re: [ADVANCED-DOTNET] Timers and Process Monitoring

2003-12-31 Thread Eric Gunnerson
A couple of ideas: 1) If you are already using a windows form, you can easily add a windows forms timer to your form. That timer occurs on the main UI thread, and can easily be used for update. 2) If you want to stick with the Timer you're using, you need to call Control.Invoke() (not BeginInvoke

Re: [ADVANCED-DOTNET] Repost Dot NET query

2003-12-05 Thread Eric Gunnerson
Depending on the requirements of your win32 dll, you may be able to use MC++ to accomplish what you want. -Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Amol Chavan Sent: Thursday, December 04, 2003 12:17 AM To: [EMAIL PROTEC

Re: [ADVANCED-DOTNET] How to use the Application Folder path in a Microsoft Instaler (MSI)

2003-12-04 Thread Eric Wild
Your talking at the time of the install? TARGETDIR is what the user selects as the directory to install the app. > -Original Message- > From: Moderated discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] Behalf Of Roberto > Pinillos > Sent: Wednesday, December 03, 2003 5:20 PM

[ADVANCED-DOTNET] FW: Exceptions from XmlSchema - can we do anything about these?

2003-11-20 Thread Eric Brown
ttp://www.w3.org/2000/xmlns/:xmlns' attribute is not declared. 2) The 'http://www.w3.org/2000/xmlns/:xsi' attribute is not declared. 3) The 'http://www.w3.org/2001/XMLSchema-instance:schemaLocation' attribute is not declared. Does anybody know if there'

Re: [ADVANCED-DOTNET] C# generics constraints syntax

2003-10-24 Thread Eric Gunnerson
I should probably note at this point that "where" is a contextual keyword - the same as "get", "put", and "value". All the enhancements we're doing in 2.0 use contextual keywords (though the PDC bits use yield, which is non-contextual, and will change to "yield return" in the final version). That

Re: [ADVANCED-DOTNET] namespace resolution

2003-10-06 Thread Eric Gunnerson
Peter, You can get into some conflicts sometimes if you have namespaces names that match class names or other namespace names. We do plan on providing a way to avoid having to use aliases in Whidbey, but in general, I think it's best to try to avoid name collisions. -Original Message- Fro

Re: [ADVANCED-DOTNET] System.Collections.Hashtable question...

2003-09-30 Thread Eric Gunnerson
My guess is that they it's scaled because it's fairly easy to tell people that they should use a load factor between 0 and 1. If the load factor ranged between 0 and 1 but the best value was 0.72, somebody would pass in something like 0.90 and then have problems when their hashtable didn't work.

Re: [ADVANCED-DOTNET] Advantages to castclass opcode over isinst

2003-09-03 Thread Eric Gunnerson
I haven't read Don's book, but I think he's comparing: If (obj is Employee) { Employee e = (Employee) obj; } To Employee e = obj as Employee; If (e != null) { //... } In the first case, there are two tests (on at the is, and one on the cast), and on the second, only a single test. --

Re: [ADVANCED-DOTNET] Prototyping Unmanaged C function in C#

2003-03-19 Thread Eric Gunnerson
There's no way to do what you want in C#. You could, however, write a wrapper in MC++ and then use the wrapper from your C# code. -Original Message- From: Eric Meek [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 6:17 PM To: [EMAIL PROTECTED] Subject: [ADVANCED-D

  1   2   >