RE: Vb.net Modules or classes

2010-06-06 Thread Greg Keogh
Hi Tom, is it quiet in here or is my email on the fritz? Modules were weird and unclear abstractions in the old VB days that irritated and confused me. They still do, so whenever I make a new VB project I delete the Module and I create classes. I'm probably biased here because I come from a

RE: Vb.net Modules or classes

2010-06-06 Thread Ian Thomas
Greg Over the years, there have been some discussions on this, eg Joel Spolksky at http://tinyurl.com/26x7xg5 - and Microsoft does have some words in several places (I haven't chased them up). Erik Meier's explanations might be worth looking for. The joelonsoftware discussion is from 2006,

RE: Vb.net Modules or classes

2010-06-06 Thread Bill McCarthy
Hi Greg, Ian, all As Ian says a Module is a Shared class. In C# a similar concept is a static class which I think they introduced in Visual C# 2005 or maybe it was 2008. VB's implementation is basically the same but there is also an implicit namespace import inside a project such that the

RE: Vb.net Modules or classes

2010-06-06 Thread Ian Thomas
It is interesting to read the VB Reference (MSDN or VB Developer Center) on the Class and the Module statements. Class: http://msdn.microsoft.com/en-US/library/wa0hwf23(v=VS.80).aspx Module: http://msdn.microsoft.com/en-us/library/aaxss7da(v=VS.80).aspx In particular, there is a small

RE: Vb.net Modules or classes

2010-06-06 Thread Greg Keogh
Chaps, I think we've answered Tom's question in a way, eventually, I hope. He was suspicious of using Modules, and you've confirmed my suspicions that Modules are aliases for static classes that don't need to be qualified. No other .NET compliant language I know of hides what's going on underneath

Discounts for TechEd tickets

2010-06-06 Thread David Connors
Howdy, Each year there is a group discount available for members of usergroups attending TE. acoat tells me that we can be included in the same discount regime. Is there any interest from list members for a discount ticket to TE 2010 *w* *here you were previously not eligible because you are

Re: Discounts for TechEd tickets

2010-06-06 Thread Jason Finch
+1 On Mon, Jun 7, 2010 at 9:03 AM, David Connors da...@codify.com wrote: Howdy, Each year there is a group discount available for members of usergroups attending TE. acoat tells me that we can be included in the same discount regime. Is there any interest from list members for a

Re: Vb.net Modules or classes

2010-06-06 Thread Tom Rutter
Cheers guys, very helpful. On Sun, Jun 6, 2010 at 8:19 PM, Greg Keogh g...@mira.net wrote: Aha! Here’s the statement that sums it all up with legal clarity: http://msdn.microsoft.com/en-us/library/7825002w(v=VS.80).aspx *This means that variables in a standard module are effectively