Re: [Mono-docs-list] Monodoc submit contributions

2004-10-15 Thread Miguel de Icaza
Hello, That part I get :-), what i meant was how does one's contributions get approved and posted to the monodoc's entries? what's your policy about this? The text must be original, and not copied from somewhere else. It should be factually correct, so I actually have to read what you

[Mono-list] Gtk-sharp and mono

2004-10-15 Thread Butler, Jennifer M.
All - I'm working on a project in Visual Studio .Net that uses Glade to produce a gtk-sharp gui. Everything works fine for me when I compile with .Net and run against the .Net GAC. But I also need this project to work in Linux, so I have been trying to make it run on Mono. I've tried several

RE: [Mono-list] Problem with xml.Serialization

2004-10-15 Thread RoBiK
Hi, I see another problem here. It is not an good idea to derive from ArrayList, because the XmlSerializer has special handling for ArrayList and also classes that derive from it. Instead you should Package the ArrayList indo another class (this may be for example a custom collection type). The

Re: Re: [Mono-list] System.Data.SqlClient.SqlException: 'int' isnot a recognized CURSOR option

2004-10-15 Thread Ing. Michal Skala
Hello, stored procedure is OK. When I manualy create the SqlCommand code, everything is OK. But when I uses SqlCommandGenerator, that is in CommandGenerator.cs file, the code is bad. I use this code already one+ year and on .NET Framework works. But in Mono fails. It seems that the

[Mono-list] [Off-topic] if else or switch ?

2004-10-15 Thread Fabien Meghazi
Hi all, I was wondering if mono would generate diferent code between a switch and an if else suite. I guess yes. But I would like to know wich of the two code would be faster ? (I know we are speaking of a few cpu cycles of difference, but I would like to know anyway) I would have benchmark this

Re: [Mono-list] [Off-topic] if else or switch ?

2004-10-15 Thread Stefan Matthias Aust
Fabien Meghazi schrieb: Method 3 :) left = or == 'l'; top = or == 't'; Both other methods disguise that you don't check the case that or isn't one of tlbr and that it could happen that you set neither left nor top. In general, I'd vote for the better communicating variant and/or the shorter

Re: [Mono-list] [Off-topic] if else or switch ?

2004-10-15 Thread Fabien Meghazi
Fabien Meghazi schrieb: Method 3 :) left = or == 'l'; top = or == 't'; I can't use this because I iterate chars of the string in a foreach. If the string is two char long, the second iteration will cancel the effect of the first one. ___

[Mono-list] mod_mono tell me lies

2004-10-15 Thread Gianluca Stella
Hi, i have a little problem with Apache2.0+mod_mono1.0.2. i have published my web app build with Visual Studio (no comment, pleaze). running, i get this error System.IO.FileNotFoundException: File '/home//htdocs/bin/agfBackOffice.dll' not found. in (unmanaged) (wrapper managed-to-native)

[Mono-list] mod_mono tell me lies [part 2]

2004-10-15 Thread Gianluca Stella
Hi, now i have noticed another thing: in the apache log (not in the log specific from the virtualhost) there is the following line: ** (/usr/local/bin/mod-mono-server.exe:18457): WARNING **: Could not find assembly , references from /home//htdocs/bin/agfBackOffice.dll (assemblyref_index=0)

[Mono-list] ** ERROR **: unknown operator: stobj

2004-10-15 Thread David P. Donahue
My recent efforts to get my VB web app running on Mono have included an attempt to begin porting it to C#. I just ported one page with a datagrid and some dynamically added template columns. However, when I try to browse to the page, I get an internal server error and the following line shows up

[Mono-list] Cross platform app on usb drive

2004-10-15 Thread Jared Blake
My company is looking to develop a lightweight application that would run completely on a usb drive. We want to be able to plug the usb drive in and run the app without having to go through any kind of install process. We want it to be cross platform and we are considering using mono/.NET to

Re: [Mono-list] [Off-topic] if else or switch ?

2004-10-15 Thread Marcus
Performance will depend on both the C# compiler used and the runtime/JIT. I have not tested four-way decisions, which is what you have, but I did test three-way decisions not too long ago. With Mono's C# compiler + mono runtime, if-statements were about 3 times faster than switch.

Re: [Mono-list] Can mono can be made case insensitive.

2004-10-15 Thread Jonathan Pryor
On Fri, 2004-10-15 at 08:24, Lokesh N wrote: Is mono case sensitive ? Mono is as case-sensitive as the underlying file-system. :-) (Meaning it's case-insensitive on Windows and case-sensitive on Unix and Unix-like systems.) If so can mono be made case insensitive Not likely. At least, not

Re: [Mono-list] Cross platform app on usb drive

2004-10-15 Thread Jared Blake
Thanks for the response. I don't think I was clear in the way I asked my question. I am curious if you can run a mono app from a usb key even if the mono framwork is not installed on the host machine. Could you put the necessary libraries on the key? Or could you run the entire framework from

[Mono-list] Where is glib-sharp?

2004-10-15 Thread Kevin White
I am trying to compile the example from http://www.gotmono.com/docs/gnome/bindings/gtk-sharp/packingdemonstrationprogram.html to learn how to use GTK# and am having a problem. When I type: mcs -pkg:gtk-sharp,glib-sharp -r:System.Drawing packer.cs I get errors that the glib-sharp.pc cannot be