RE: [Mono-list] Language Clarification

2004-10-12 Thread B Anirban
Hey Devid, As Rafael has already mentioned, if you specify "Page Language= VB" in your aspx page VBCodeGenerator generates a corresponding VB file for that page. This page gets compiled on the fly when you try to access your asp .net application for the first time (even when you use precompiled cod

Re: [Mono-list] using Statement in c# and garbage collection.

2004-10-12 Thread Jonathan Gilbert
At 09:15 AM 13/10/2004 +0530, you wrote: > Hi, > > We know that using statement like the one below would > > using (MyResource myObject = new MyClass()) [snip] > gets translated to, > > MyClass myObject= new MyClass(); > > try [snip] > finally > { [snip] > } > > The problem I am

Re: [Mono-list] using Statement in c# and garbage collection.

2004-10-12 Thread Tom Larsen
On Tue, 2004-10-12 at 22:45, sarvesh wrote: Hi, We know that using statement like the one below would using (MyResource myObject = new MyClass()) { myObject.DoSomething(); } gets translated to, MyClass myObject= new MyClass(); try { myObject.DoSomething(); } finally { //

[Mono-list] using Statement in c# and garbage collection.

2004-10-12 Thread sarvesh
Hi,     We know that using statement like the one below would   using (MyResource myObject = new MyClass()) {     myObject.DoSomething();   } gets translated to,       MyClass myObject= new MyClass(); try {     myObject.DoSomething(); } finally {     // Check fo

Re: [Mono-list] HelloWorld.cs

2004-10-12 Thread Nick Loeve
Sorry... mcs -pkg:gtk-sharp helloworld.cs typing too quickly ;) On 13/10/2004, at 11:33 AM, Nick Loeve wrote: try compiling with: msc -pkg:gtk-sharp helloworld.cs Thats assuming you have GTK# installed On 13/10/2004, at 10:50 AM, Amrit Kohli wrote: I am still learning mono and C#, so

RE: [Mono-list] HelloWorld.cs

2004-10-12 Thread Amrit Kohli
Nick,   That did it.  Thanks for your help.   So, are both GTKSharp and GTK covered by the “-pkg:gtk-sharp” argument?   Is there somewhere I might look for clear documentation of the assemblies included with mono v1.0.2?   Thanks,   Amrit   Amrit Kohli [EMAIL PROTECTED]

Re: [Mono-list] HelloWorld.cs

2004-10-12 Thread Nick Loeve
Amrit, I am pretty sure you have to reference all assemblies except for System. so try: mcs -pkg:gtk-sharp -r:System.Drawing helloworld.cs On 13/10/2004, at 11:41 AM, Amrit Kohli wrote: Nick,   I tried this and it appears to have worked.  However, I’m now left with the following error messa

RE: [Mono-list] HelloWorld.cs

2004-10-12 Thread Amrit Kohli
Nick,   I tried this and it appears to have worked.  However, I’m now left with the following error message:   helloworld.cs(7) error CS0246: The namespace `System.Drawing' can not be found ( missing assembly reference?)     Try using -r:System.Drawing Compilation failed: 1 error(s),

Re: [Mono-list] HelloWorld.cs

2004-10-12 Thread Nick Loeve
try compiling with: msc -pkg:gtk-sharp helloworld.cs Thats assuming you have GTK# installed On 13/10/2004, at 10:50 AM, Amrit Kohli wrote: I am still learning mono and C#, so forgive me what is probably a very easy question for most of you.   I entered the following code from a HelloWorl

[Mono-list] HelloWorld.cs

2004-10-12 Thread Amrit Kohli
I am still learning mono and C#, so forgive me what is probably a very easy question for most of you.   I entered the following code from a HelloWorld type of application:   // helloworld.cs - Gtk# Tutorial example   namespace GtkSharpTutorial {   using Gtk;   using GtkSharp

Re: [Mono-list] Visual Studio .NET

2004-10-12 Thread Juan Cristóbal Olivares
If you get a MSDN subcription, you will receive all the software for a year. Juan C. Olivares www.juancri.com - Original Message - From: "Gert Kello" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 12, 2004 5:46 PM Subject: Re: [Mono-list] Visual Studio .NET > Instea

Re: [Mono-list] Visual Studio .NET

2004-10-12 Thread Gert Kello
Instead of You I would wait for Visual Studio 2005 to be released. Meantime, You could try out the different VS2005 express betas from http://lab.msdn.microsoft.com/vs2005/ Juan Cristóbal Olivares wrote: The price of US$ 40 should be Visual C# or something (only C#)... Visual Studio .NET include

Re: [Mono-list] Visual Studio .NET

2004-10-12 Thread Juan Cristóbal Olivares
The price of US$ 40 should be Visual C# or something (only C#)...Visual Studio .NET includes C#, VB.NET, JScript and J# All the licenses of VS.NET are per single deevloper.   more details @ microsoft :)   Juan Cristóbal Olivares www.juancri.com   - Original Message - From: A

RE: [Mono-list] Language Clarification

2004-10-12 Thread A Rafael D Teixeira
Hi David, There is two things you should know that affect your case: 1) as mentioned, Microsoft.VisualBasic is referenced for basically ANY VB.NET solution, because without it you would not be able to use language features like VB Modules or late-binding (Option Strict Off), also useful things li

[Mono-list] Visual Studio .NET

2004-10-12 Thread Amrit Kohli
Hello,   I am looking to purchase Visual Studio .NET.  I am new to the whole .NET framework.  When I did a search for Visual Studio, the search engine returned a link to a host of versions of Visual Studio .NET.  I am wondering if the package comes with Visual C/C++ as well as C#?  Given

RE: [Mono-list] Language Clarification

2004-10-12 Thread David P. Donahue
Likely. I recall that coming up before in my quest. When you say "by default" are you implying that there's a way to use other libraries instead? Regards, David P. Donahue [EMAIL PROTECTED] > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Dan M

RE: [Mono-list] Language Clarification

2004-10-12 Thread Dan Maltes
Is your Grid sample referencing anything in Microsoft.VisualBasic.dll? I believe VS.NET references this library by default when compiling VB.NET projects. -Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David P. Donahue Sent: Tuesday, October 12, 2

[Mono-list] Language Clarification

2004-10-12 Thread David P. Donahue
I realize that Mono focuses its development on C# as a whole, but I'm wondering something about other languages in general. I'm no expert on the core of .NET, but I was under the impression that one of its features is that code from any .NET language, when compiled, becomes a single common languag

Re: [Mono-list] Preprocessor

2004-10-12 Thread Jonathan Pryor
On Tue, 2004-10-12 at 05:41, Fabien Meghazi wrote: > Got a simple question and I'm not lucky with google for this. > I'm searching the preprocessor directive that allows to replace names > before compilation. I know it is possible in C but I don't remember > how to, I guess it's not DEFINE. > My go

[Mono-list] Preprocessor

2004-10-12 Thread Fabien Meghazi
Hi all, Got a simple question and I'm not lucky with google for this. I'm searching the preprocessor directive that allows to replace names before compilation. I know it is possible in C but I don't remember how to, I guess it's not DEFINE. My goal is to do this DIRECTIVE SERVAR HttpContext.Curre

[Mono-list] Lego.NET: An MSIL front-end for gcc [resend2]

2004-10-12 Thread Martin von Löwis
[resend since the original message appears to be lost] We are pleased to announce our first release of the LEGO.NET package, which allows to execute Microsoft IL code (as generated from C# and other languages) on the Lego Mindstorm hardware. This environment has a GCC front-end as its core, which