Re: [Mono-list] Problems Building 2.0.1

2008-11-11 Thread Paul
Hi,

> I'm having trouble building 2.0.1.  I'm getting this:
> 
> mini.c: In function `mono_op_imm_to_op':
> mini.c:1863: warning: control reaches end of non-void function
> gcc: Internal error: Terminated (program cc1)
> Please submit a full bug report.
> See http://bugzilla.redhat.com/bugzilla> for instructions.

Which version of fedora are you using? I know it builds fine for f9 and
f10/rawhide.

TTFN

Paul

-- 
Sie können mich aufreizen und wirklich heiß machen!


signature.asc
Description: This is a digitally signed message part
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] MySqlDataAdapter.Fill uses strings for binary columns - any help? Are Binary Guids doable?

2008-11-11 Thread Pxtl

Found a partial fix - the latest version of MySql.Data is sufficiently
compatible with Mono 1.9.1

However, it does have one problem - without converting to byte array (that
is, changing Guid.NewGuid().ToByteArray() to Guid.NewGuid() results in the
guid being stored incorrectly.  If you run a unit test to check of the data
coming back matches the data sent in, it will fail.

So I have a solution, but with the current framework it could produce a
horrifying hidden failure for those who don't know about this flaw.

Caveat emptor.


Pxtl wrote:
> 
> I'm just getting started with Mono/MySQL and I'm hitting a wall with using
> Guids.
> 
> The following code demonstrates the problem:
> 
> 
>   MySqlConnection conn = new
> MySqlConnection(@"Server=localhost;Database=qa;uid=asp_net;pwd=password;");
>   conn.Open();
>   using(MySqlCommand cmd = new MySqlCommand(@"
> delete from service_types;
> insert into service_types(id, name) values(?id, 'test');", conn))
>   {
>   cmd.Parameters.AddWithValue("?id", 
> Guid.NewGuid().ToByteArray());
>   cmd.ExecuteNonQuery();
>   }
>   
>   using(MySqlCommand cmd = new MySqlCommand(@"
> select * from service_types", conn))
>   {
>   MySqlDataAdapter ad = new MySqlDataAdapter(cmd);
>   DataTable res = new DataTable();
>   ad.Fill(res);
>   entryPopulate.Text = 
> res.Rows[0]["id"].GetType().ToString();
>   }
> 
> 
> "id" is a Binary(16) column, as is recommended for storing Guids.
> 
> The problem: while the Guid goes into the database just fine, it comes
> back as a "System.String".  This makes it impossible to fetch any binary
> data - particularly guids - out of the database.  I've tried it with the
> InnoDB and MyISAM storage engines, and it's always a String.
> 
> I'm using 1.9.1, with Connector/NET 5.0.8, which is what is available in
> the Ubuntu package managers.  Is there a download for newer Connector/NET
> Mono-compatible DLLs that I could be using for my project?  So far I've
> been finding this version of Connector/NET to be barely functional - no
> MySqlDataAdapter.Update(), it doesn't work with SqlDataSource, and it
> doesn't seem to work with binary data.
> 
> Help!
> 

-- 
View this message in context: 
http://www.nabble.com/MySqlDataAdapter.Fill-uses-strings-for-binary-columns---any-help---Are-Binary-Guids-doable--tp20408334p20453641.html
Sent from the Mono - General mailing list archive at Nabble.com.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Problems Building 2.0.1

2008-11-11 Thread Abe Gillespie
Hi All,

I'm having trouble building 2.0.1.  I'm getting this:

mini.c: In function `mono_op_imm_to_op':
mini.c:1863: warning: control reaches end of non-void function
gcc: Internal error: Terminated (program cc1)
Please submit a full bug report.
See http://bugzilla.redhat.com/bugzilla> for instructions.
make[4]: *** [mini.lo] Error 1
make[4]: Leaving directory `/usr/local/src/mono-2.0.1/mono/mini'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/local/src/mono-2.0.1/mono/mini'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/mono-2.0.1/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mono-2.0.1'
make: *** [all] Error 2

Thank you for any help.

-Abe
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] How to start a C# winforms project?

2008-11-11 Thread Chris Howie
On Tue, Nov 11, 2008 at 4:48 PM, Jerry Houston <[EMAIL PROTECTED]> wrote:
> At the risk of perpetuating a not-very-useful thread, one might ask what's the
> difference between "not seriously considering using mono professionally" and
> "reduced to a toy/hobby/not-serious project"?

The difference is that the latter sounds incredibly dismissive ("those
guys over there doing their thing nobody cares about") vs constructive
("something useful but not for me right at the moment").  It may not
seem like a huge difference, but one borders on trolling and the other
doesn't.  I'm open to other peoples' interpretations on this.

Not trying to hijack the thread, I promise.  :)

> If I'm going to create and modify winforms using Visual Studio and .NET,
> what's the point in using mono for anything, other than running the finished
> products?

Running finished products in itself is quite an accomplishment given
the complexity and size of something like the CLI and .NET framework.
Again, it may not be useful to you, but don't knock it.

> But I'm hopeful.  That's why I hang around.  I want to look into the Gtk# on
> Windows idea, too.  Depending on what's required to make it work, that sounds
> interesting as well.

In my own experience, using the Medsphere Gtk# runtime packages is
pretty much all you need to get your stuff running on Windows.  I've
had pretty good luck with it too.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] How to start a C# winforms project?

2008-11-11 Thread Adam Tauno Williams
On Tue, 2008-11-11 at 13:22 -0800, Jerry Houston wrote:
> On Tuesday 11 November 2008 03:45:31 kuse wrote:
> > But why don't use Gtk# then? There are a GUI-designer for it and works on
> > all plattforms.
> I need to divide my programming life between Windows (professional) and Linux 
> (personal), and wasn't aware that Gtk# was available on Windows.  
> Where can I find out more?  

Monodoc has basic documentation for the Gtk# widgets.  It should be
pretty straight forward for anyone used to working with widget sets.

> I don't need to install cygwin, do I?  

No.



> When I've 
> done that before, I've ended up with circa 1998 code on my computer.

Well, there is nothing inherently bad about old code.  So long as it is
good old code.


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] How to start a C# winforms project?

2008-11-11 Thread Jerry Houston
On Tuesday 11 November 2008 13:30:39 Chris Howie wrote:
>
> Perhaps your wording could be improved then.  Saying that you're not
> going to "take mono seriously" effectively means that in your mind
> Mono is reduced to a toy/hobby/not-serious project just because MD
> doesn't have a winforms designer (a pretty big technical challenge).
> That's how I interpreted it anyway, and in my experience that's what
> it means to not take something seriously.
>
> May I propose that what you meant to convey is that you are "not
> seriously considering using Mono professionally?"

At the risk of perpetuating a not-very-useful thread, one might ask what's the 
difference between "not seriously considering using mono professionally" and 
"reduced to a toy/hobby/not-serious project"?

I'm planning on considering using mono professionally, even if only for 
development utilities (our commercial products require Windows).  But it's not 
there for me yet, as it's just too much trouble to use for developing portable 
winform applications.  

If I'm going to create and modify winforms using Visual Studio and .NET, 
what's the point in using mono for anything, other than running the finished 
products?

But I'm hopeful.  That's why I hang around.  I want to look into the Gtk# on 
Windows idea, too.  Depending on what's required to make it work, that sounds 
interesting as well.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] How to start a C# winforms project?

2008-11-11 Thread Chris Howie
On Tue, Nov 11, 2008 at 4:26 PM, Jerry Houston <[EMAIL PROTECTED]> wrote:
> On Tuesday 11 November 2008 07:23:15 Chris Howie wrote:
>> >
>> > I'm looking forward to seeing this functionality in monodevelop some day.
>> > That's when I'll be able to begin taking mono seriously.
>>
>> That's about the most trollish thing I've heard in a while.
>
> Then you must not get out much.
>
> Just about everything I write includes winforms.  It's a pain to create them
> and modify them on Windows, to work with them on Linux.
>
> Thus, I'll be glad to see a winform designer in monodevelop.  I understand
> it's coming before long, and that's got me excited.

Perhaps your wording could be improved then.  Saying that you're not
going to "take mono seriously" effectively means that in your mind
Mono is reduced to a toy/hobby/not-serious project just because MD
doesn't have a winforms designer (a pretty big technical challenge).
That's how I interpreted it anyway, and in my experience that's what
it means to not take something seriously.

May I propose that what you meant to convey is that you are "not
seriously considering using Mono professionally?"

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] How to start a C# winforms project?

2008-11-11 Thread Jerry Houston
On Tuesday 11 November 2008 07:23:15 Chris Howie wrote:
> >
> > I'm looking forward to seeing this functionality in monodevelop some day.
> > That's when I'll be able to begin taking mono seriously.
>
> That's about the most trollish thing I've heard in a while.

Then you must not get out much.  

Just about everything I write includes winforms.  It's a pain to create them 
and modify them on Windows, to work with them on Linux.

Thus, I'll be glad to see a winform designer in monodevelop.  I understand 
it's coming before long, and that's got me excited.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] How to start a C# winforms project?

2008-11-11 Thread Jerry Houston
On Tuesday 11 November 2008 03:45:31 kuse wrote:
>
> But why don't use Gtk# then? There are a GUI-designer for it and works on
> all plattforms.

I need to divide my programming life between Windows (professional) and Linux 
(personal), and wasn't aware that Gtk# was available on Windows.  

Where can I find out more?  I don't need to install cygwin, do I?  When I've 
done that before, I've ended up with circa 1998 code on my computer.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] SSL and SMTP

2008-11-11 Thread Sebastien Pouliot
On Tue, 2008-11-11 at 12:14 -0500, Abe Gillespie wrote:
> Hmm ... yeah, was afraid of that.  I attempted this before but was
> unsuccessful due to not importing the entire chain???  (if that's even
> the correct terminology)  I admit I'm pretty ignorant on the subject.

Look at the source code for mozroots [1] and certmgr [2] in particular
the --ssl option

[1] /mcs/tools/security/mozroots.cs
[2] /mcs/tools/security/certmgr.cs

> I need to import the certs for the account on which the Mono / asp.net
> process runs (the Apache account I assume); I auto-send emails when
> people sign up for an account on my site and when they make purchases.
>  I'm aware of this FAQ:  http://www.mono-project.com/FAQ:_Security but
> are there any other resources specific to my case (sending email via
> SSL from asp.net)?

Do something like:
(a) try sending email
(b) catch exception
(c) download using *http* (like [2]) the certificate required for the
site
(d) install them (like [1] and [2])
(e) re-send email

Sebastien

> 
> Thanks for all the help.
> -Abe
> 
> On Tue, Nov 11, 2008 at 12:03 PM, Gonzalo Paniagua Javier
> <[EMAIL PROTECTED]> wrote:
> > On Tue, 2008-11-11 at 11:46 -0500, Abe Gillespie wrote:
> >> Nope, same problem.  Are you sure you don't already have the proper
> >> certificates installed and it would therefore succeed?
> >
> > I do have the mozilla certificates. That's why it works.
> > Your callback is never called on MS and is never called on Mono. So
> > looks like your only option for that to work is to import those
> > certificates into the "mono" store.
> >
> > -Gonzalo
> >
> >
> >
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] NUnit Tests for ToolLocationHelper

2008-11-11 Thread Michael Franz
Hi,

Here are two tests for ToolLocationHelper.  I would have written tests for
the entire class but I have not been able to figure out what the results
should be.

I have also attached the patches to that will allow ToolLocationHelper to
pass the tests and adding the class to the build tests.

Let me know if I did not create these correctly.

Thanks
Michael


ToolLocationHelperTest.cs
Description: Binary data


ToolLocationHelper.patch
Description: Binary data


sources.patch
Description: Binary data
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] SSL and SMTP

2008-11-11 Thread Abe Gillespie
Hmm ... yeah, was afraid of that.  I attempted this before but was
unsuccessful due to not importing the entire chain???  (if that's even
the correct terminology)  I admit I'm pretty ignorant on the subject.

I need to import the certs for the account on which the Mono / asp.net
process runs (the Apache account I assume); I auto-send emails when
people sign up for an account on my site and when they make purchases.
 I'm aware of this FAQ:  http://www.mono-project.com/FAQ:_Security but
are there any other resources specific to my case (sending email via
SSL from asp.net)?

Thanks for all the help.
-Abe

On Tue, Nov 11, 2008 at 12:03 PM, Gonzalo Paniagua Javier
<[EMAIL PROTECTED]> wrote:
> On Tue, 2008-11-11 at 11:46 -0500, Abe Gillespie wrote:
>> Nope, same problem.  Are you sure you don't already have the proper
>> certificates installed and it would therefore succeed?
>
> I do have the mozilla certificates. That's why it works.
> Your callback is never called on MS and is never called on Mono. So
> looks like your only option for that to work is to import those
> certificates into the "mono" store.
>
> -Gonzalo
>
>
>
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] SSL and SMTP

2008-11-11 Thread Gonzalo Paniagua Javier
On Tue, 2008-11-11 at 11:46 -0500, Abe Gillespie wrote:
> Nope, same problem.  Are you sure you don't already have the proper
> certificates installed and it would therefore succeed?

I do have the mozilla certificates. That's why it works.
Your callback is never called on MS and is never called on Mono. So
looks like your only option for that to work is to import those
certificates into the "mono" store.

-Gonzalo


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] SSL and SMTP

2008-11-11 Thread Abe Gillespie
Nope, same problem.  Are you sure you don't already have the proper
certificates installed and it would therefore succeed?

-Abe

On Tue, Nov 11, 2008 at 11:33 AM, Gonzalo Paniagua Javier
<[EMAIL PROTECTED]> wrote:
> On Tue, 2008-11-11 at 11:29 -0500, Abe Gillespie wrote:
>> I've successfully used the ICertificatePolicy hack before to connect
>> to https but this doesn't seem to work for sending Gmail.  Please see
>> the following code:
> [...]
>>
>> // Send the message.
>> SmtpClient smtp = new SmtpClient("smtp.gmail.com");
>> smtp.EnableSsl = true;
>
> Try adding: "smtp.Port = 587;" there. It works fine for me that way.
>
> -Gonzalo
>
>
>
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] SSL and SMTP

2008-11-11 Thread Gonzalo Paniagua Javier
On Tue, 2008-11-11 at 11:29 -0500, Abe Gillespie wrote:
> I've successfully used the ICertificatePolicy hack before to connect
> to https but this doesn't seem to work for sending Gmail.  Please see
> the following code:
[...]
> 
> // Send the message.
> SmtpClient smtp = new SmtpClient("smtp.gmail.com");
> smtp.EnableSsl = true;

Try adding: "smtp.Port = 587;" there. It works fine for me that way.

-Gonzalo


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] SSL and SMTP

2008-11-11 Thread Abe Gillespie
I've successfully used the ICertificatePolicy hack before to connect
to https but this doesn't seem to work for sending Gmail.  Please see
the following code:

using System;
using System.Net;
using System.Net.Mail;

namespace Tester
{
class Program
{
static void Main(string[] args)
{
var from = new MailAddress("[EMAIL PROTECTED]");
var to = new MailAddress("[EMAIL PROTECTED]", "Sr. To");
var mail = new MailMessage(from, to);

// Set the content.
mail.Subject = "Subject";
mail.Body = "Test";

// Send the message.
SmtpClient smtp = new SmtpClient("smtp.gmail.com");
smtp.EnableSsl = true;
smtp.Credentials = new NetworkCredential("[EMAIL PROTECTED]",
"p4ssw0rd");

// No worky???
ServicePointManager.CertificatePolicy = new
TrustAllCertificatePolicy();

smtp.Send(mail);
}
}

public class TrustAllCertificatePolicy : ICertificatePolicy
{
public TrustAllCertificatePolicy() { }

public bool CheckValidationResult(
ServicePoint sp, X509Certificate cert, WebRequest req, int problem)
{
return true;
}
}
}

I'm getting the typical certificate exception:

System.IO.IOException: The authentication or decryption has failed.
---> System.InvalidOperationException: SSL authentication error:
RemoteCertificateChainErrors
  at System.Net.Mail.SmtpClient.c__38 (System.Object
sender, System.Security.Cryptography.X509Certificates.X509Certificate
certificate, System.Security.Cryptography.X509Certificates.X509Chain
chain, SslPolicyErrors sslPolicyErrors) [0x0]

Is there any way to do this w/o the need of importing the certificate chain?

Thanks.
-Abe
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Parsing email

2008-11-11 Thread Stéphane Zanoni
No problem Peter.  I haven't tried the latest version, but in the past
the libraries have been quit stable, I've only ever submitted two
performance fixes.  The versions I have used have compiled and worked
fine.  I'm sure it compiled on Mono as it was 100% managed, I don't
think it has ever been a problem for us.  

Might want to post something to the forum?
http://www.lumisoft.ee/Forum/default.aspx?g=topics&f=3


Stéphane 


>>> Peter Hagen <[EMAIL PROTECTED]> 11/11/2008 12:31 AM >>>
Thanx Stéphane

it looks like Lumisoft library does what I need, but I can't seem to
get
it compiled. Do you know if it compiles on Mono at this moment, and
what
version do you use?

cheers

Peter

On Mon, 2008-11-10 at 17:02 -0700, Stéphane Zanoni wrote:
> The .msg files are not Mime, so I can't imagin using GMime-Sharp
would work for you.  Plus the Lumisoft library is 100% managed and works
fine with Mime.
> 
> 
> >>> "Jorge Bastos" <[EMAIL PROTECTED]> 11/10/2008 4:32 PM >>>
> Sorry my ignorance,
> Howto transform this to a .NET assembly?
> 
> 
> > -Original Message-
> > From: Jeffrey Stedfast [mailto:[EMAIL PROTECTED] 
> > Sent: segunda-feira, 10 de Novembro de 2008 23:26
> > To: Jorge Bastos
> > Cc: mono-list@lists.ximian.com 
> > Subject: Re: [Mono-list] Parsing email
> > 
> > You could try GMime-Sharp (make sure it is version 2.4.x), it's a
> > binding to the GMime C library which can parse MIME messages.
> > 
> > I don't have any monodoc docs written for it, but it's pretty close
to
> > the C API which is documented at
> > http://library.gnome.org/devel/gmime/stable/ 
> > 
> > You can download the source from
> > http://ftp.gnome.org/pub/GNOME/sources/gmime/2.4/ 
> > 
> > Jeff
> > 
> > On Mon, 2008-11-10 at 23:01 +, Jorge Bastos wrote:
> > > I'm sure they all work.
> > > In fact I've seen them already, but they are all commercial and
> > that's not an option for me now.
> > > I have no problem to buy software, in fact I have a lot of it
that I
> > buyed, but right now it's not a good time to invest.
> > >
> > >
> > >
> > > > -Original Message-
> > > > From: Stphane Zanoni [mailto:[EMAIL PROTECTED] 
> > > > Sent: segunda-feira, 10 de Novembro de 2008 17:58
> > > > To: Jorge Bastos; 'mono-list'
> > > > Subject: Re: [Mono-list] Parsing email
> > > >
> > > > I believe the .msg files use the OLE 2 Compound Document
format
> > > > (proprietary format for MAPI?).
> > > >
> > > > A quick google for "parse msg files" or ".net .msg format"
returned
> > a
> > > > couple results, nothing jumps out in the open/shared source
realm.
> > > >
> > > > 100% managed (mono support) + purchasable source:
> > > > http://www.independentsoft.de/msg/index.html 
> > > >
> > > >
http://www.aspose.com/categories/utility-components/aspose.network- 
> > for-
> > > > .net/default.aspx
> > > >
> > > >
> > > > java options (may be portable?) -->
> > > > http://www.rgagnon.com/javadetails/java-0613.html 
> > > >
> > > >
> > > > If you do find something that works, let me know.
> > > >
> > > >
> > > > Stphane
> > > >
> > > >
> > > > >>> "Jorge Bastos" <[EMAIL PROTECTED]> 11/10/2008 9:43 AM
>>>
> > > > And about the .msg one's?
> > > >
> > > >
> > > > > -Original Message-
> > > > > From: Stphane Zanoni [mailto:[EMAIL PROTECTED] 
> > > > > Sent: segunda-feira, 10 de Novembro de 2008 16:23
> > > > > To: Jorge Bastos; 'mono-list'
> > > > > Subject: Re: [Mono-list] Parsing email
> > > > >
> > > > > eml are just MIME.822 formatted, the Lumisoft library has
well
> > > > > developed Mime parsing capabilities.
> > > > >
> > > > >
> > > > > >>> "Jorge Bastos" <[EMAIL PROTECTED]> 11/10/2008 7:29
AM
> > >>>
> > > > > Sorry not .eml, but .msg msoutlook 2003/2007
> > > > >
> > > > >
> > > > > > -Original Message-
> > > > > > From: [EMAIL PROTECTED]
[mailto:mono-list-
> > > > > > [EMAIL PROTECTED] On Behalf Of Jorge Bastos
> > > > > > Sent: segunda-feira, 10 de Novembro de 2008 14:26
> > > > > > To: 'mono-list'
> > > > > > Subject: Re: [Mono-list] Parsing email
> > > > > >
> > > > > > Can this library parse the .eml messages from MSOutlook
> > 2003/2007?
> > > > > >
> > > > > >
> > > > > >
> > > > > > > -Original Message-
> > > > > > > From: [EMAIL PROTECTED]
[mailto:mono-list-
> > > > > > > [EMAIL PROTECTED] On Behalf Of Damien
> > > > > > > Sent: segunda-feira, 10 de Novembro de 2008 14:22
> > > > > > > To: Peter Hagen; mono-list@lists.ximian.com 
> > > > > > > Subject: Re: [Mono-list] Parsing email
> > > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > The Lumisoft Net library :
> > > > > > > http://www.lumisoft.ee/lsWWW/Download/Downloads/Net/ 
> > > > > > >
> > > > > > > Cheers,
> > > > > > >
> > > > > > > Damien
> > > > > > >
> > > > > > > 2008/11/10 Peter Hagen <[EMAIL PROTECTED]>:
> > > > > > > > Hi all
> > > > > > > >
> > > > > > > > does anyone know if there is a existing library or
function
> > > > for
> > > > > > > parsing
> > > > > > > > email messages? For example to easily get the
attachments?
> > > > > >

Re: [Mono-list] How to start a C# winforms project?

2008-11-11 Thread Chris Howie
On Tue, Nov 11, 2008 at 5:41 AM, Jerry Houston <[EMAIL PROTECTED]> wrote:
> Well, there *is* the frustration aspect.  Developing any non-trivial winform
> app without using a designer (even a primitive one, such as in VS 2003) is a
> tedious process involving a lot of trial-and-error.  And the tendency is to
> get things "just working," rather than polished looking.
>
> It might be educational to build something like a message box class that way,
> once in your life, but wouldn't be very practical for even hobbyist-level
> winform app development.
>
> I'm looking forward to seeing this functionality in monodevelop some day.
> That's when I'll be able to begin taking mono seriously.

That's about the most trollish thing I've heard in a while.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] How to start a C# winforms project?

2008-11-11 Thread Petit Eric
2008/11/11 Doug Blank <[EMAIL PROTECTED]>:
> On Tue, Nov 11, 2008 at 4:42 AM, kuse <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> arcull wrote:
>> >
>> > Hi all. I am brand new to monodevelop and would like to get some
>> > experience with C# and .net via mono. I've seen there are nice project
>> > templates for Gtk# project, but can't see one based on winforms. I mean,
>> > if I choose a Gtk# project, I get a predefinded application with gui
>> > interface, while selecting C# blank project, does not contain any gui
>> > interface. Did I miss something or do I have to desing winforms based
>> > project from scratch? Thanks for your help.
>> >
>>
>> I don't think there any any predefined templates for Win-forms application
>> cuase there is no GUI-designer for Win-forms (yet?), but nothing stops you
>> from creating a blank solution and work with the System.Windows.Forms
>> namespace.
>
> Wouldn't it be trivial to add a Winforms template project, with a main form,
> menu, and maybe an About dialogue? I don't understand what the the lack of a
> GUI-designer for Winforms has to do with the lack of a starting point.
> (Perhaps this being used as a way to "encourage" people to use GTK... but
> some of us need to use Winforms on Mono, so it is just annoying.)
>
> Isn't there a way to create a Winforms project in VS and then migrate it to
> Mono?
yes i folowed this way to write MonoOSC and CsObexftp :
https://sourceforge.net/users/surfzoid/
>
> -Doug
>
>
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>



-- 

Cordially.

Small Eric Quotations of the days:
---
If one day one reproaches you that your work is not a work of
professional, say you that:
Amateurs built the arch of Noah, and professionals the Titanic.
---

Few people are done for independence, it is the privilege of the powerful ones.
---

No key was wounded during the drafting of this message.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] How to start a C# winforms project?

2008-11-11 Thread Doug Blank
On Tue, Nov 11, 2008 at 4:42 AM, kuse <[EMAIL PROTECTED]> wrote:

>
>
>
> arcull wrote:
> >
> > Hi all. I am brand new to monodevelop and would like to get some
> > experience with C# and .net via mono. I've seen there are nice project
> > templates for Gtk# project, but can't see one based on winforms. I mean,
> > if I choose a Gtk# project, I get a predefinded application with gui
> > interface, while selecting C# blank project, does not contain any gui
> > interface. Did I miss something or do I have to desing winforms based
> > project from scratch? Thanks for your help.
> >
>
> I don't think there any any predefined templates for Win-forms application
> cuase there is no GUI-designer for Win-forms (yet?), but nothing stops you
> from creating a blank solution and work with the System.Windows.Forms
> namespace.


Wouldn't it be trivial to add a Winforms template project, with a main form,
menu, and maybe an About dialogue? I don't understand what the the lack of a
GUI-designer for Winforms has to do with the lack of a starting point.
(Perhaps this being used as a way to "encourage" people to use GTK... but
some of us need to use Winforms on Mono, so it is just annoying.)

Isn't there a way to create a Winforms project in VS and then migrate it to
Mono?

-Doug
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] How to start a C# winforms project?

2008-11-11 Thread kuse



Jerry Houston-2 wrote:
> 
> On Tuesday 11 November 2008 01:42:12 kuse wrote:
>>
>> I don't think there any any predefined templates for Win-forms
>> application
>> cuase there is no GUI-designer for Win-forms (yet?), but nothing stops
>> you
>> from creating a blank solution and work with the System.Windows.Forms
>> namespace.
> 
> Well, there *is* the frustration aspect.  Developing any non-trivial
> winform 
> app without using a designer (even a primitive one, such as in VS 2003) is
> a 
> tedious process involving a lot of trial-and-error.  And the tendency is
> to 
> get things "just working," rather than polished looking.  
> 
> It might be educational to build something like a message box class that
> way, 
> once in your life, but wouldn't be very practical for even hobbyist-level 
> winform app development. 
> 
> I'm looking forward to seeing this functionality in monodevelop some day.  
> That's when I'll be able to begin taking mono seriously.
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 

But why don't use Gtk# then? There are a GUI-designer for it and works on
all plattforms.

-- 
View this message in context: 
http://www.nabble.com/How-to-start-a-C--winforms-project--tp20434762p20437933.html
Sent from the Mono - General mailing list archive at Nabble.com.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] How to start a C# winforms project?

2008-11-11 Thread arcull



arcull wrote:
> 
> Hi all. I am brand new to monodevelop and would like to get some
> experience with C# and .net via mono. I've seen there are nice project
> templates for Gtk# project, but can't see one based on winforms. I mean,
> if I choose a Gtk# project, I get a predefinded application with gui
> interface, while selecting C# blank project, does not contain any gui
> interface. Did I miss something or do I have to desing winforms based
> project from scratch? Thanks for your help.
> 

Uff, that's a pity :( , but thanks anyway guys.
-- 
View this message in context: 
http://www.nabble.com/How-to-start-a-C--winforms-project--tp20434762p20437735.html
Sent from the Mono - General mailing list archive at Nabble.com.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Fwd: ...(something wrong with bugzilla)

2008-11-11 Thread Petit Eric
Hi
I don't know why, but i receive a bugzilla email notification without
subject and with strange content , see below !!


-- Forwarded message --
From:  <>
Date: 2008/11/11
Subject:
To:


; from=novell.com; dkim=neutral  (no  sig)
Received: from 137.65.250.171  (EHLO monroe.provo.novell.com) (137.65.250.171)
 by mta196.mail.mud.yahoo.com with SMTP; Mon, 10 Nov 2008 19:21:55 -0800
Received: from molor.provo.novell.com ([137.65.248.47])
   by monroe.provo.novell.com with ESMTP; Mon, 10 Nov 2008 20:21:26 -0700
Received: by molor.provo.novell.com (Postfix, from userid 30)
   id AF8CD245390; Mon, 10 Nov 2008 20:21:26 -0700 (MST)
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [Bug 431723] Cannot build GTK applications with sln format
X-Bugzilla-Reason: CC
X-Bugzilla-Type: newchanged
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: MonoDevelop
X-Bugzilla-Component: general
X-Bugzilla-Keywords:
X-Bugzilla-PartnerID:
X-Bugzilla-Business-Priority:
X-Bugzilla-Severity: Critical
X-Bugzilla-Who: [EMAIL PROTECTED]
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P5 - None
X-Bugzilla-Assigned-To: [EMAIL PROTECTED]
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: CC
X-Bugzilla-Groups:
In-Reply-To: <[EMAIL PROTECTED]/>
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
Message-Id: <[EMAIL PROTECTED]>
Date: Mon, 10 Nov 2008 20:21:26 -0700 (MST)

https://bugzilla.novell.com/show_bug.cgi?id=431723

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=431723#c8


Mike Kestner <[EMAIL PROTECTED]> changed:

  What|Removed |Added

CC|
|[EMAIL PROTECTED]




--- Comment #8 from Mike Kestner <[EMAIL PROTECTED]>  2008-11-10
20:21:22 MST ---
*** Bug 443224 has been marked as a duplicate of this bug. ***

https://bugzilla.novell.com/show_bug.cgi?id=443224

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.



-- 

Cordially.

Small Eric Quotations of the days:
---
If one day one reproaches you that your work is not a work of
professional, say you that:
Amateurs built the arch of Noah, and professionals the Titanic.
---

Few people are done for independence, it is the privilege of the powerful ones.
---

No key was wounded during the drafting of this message.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] How to start a C# winforms project?

2008-11-11 Thread Jerry Houston
On Tuesday 11 November 2008 01:42:12 kuse wrote:
>
> I don't think there any any predefined templates for Win-forms application
> cuase there is no GUI-designer for Win-forms (yet?), but nothing stops you
> from creating a blank solution and work with the System.Windows.Forms
> namespace.

Well, there *is* the frustration aspect.  Developing any non-trivial winform 
app without using a designer (even a primitive one, such as in VS 2003) is a 
tedious process involving a lot of trial-and-error.  And the tendency is to 
get things "just working," rather than polished looking.  

It might be educational to build something like a message box class that way, 
once in your life, but wouldn't be very practical for even hobbyist-level 
winform app development. 

I'm looking forward to seeing this functionality in monodevelop some day.  
That's when I'll be able to begin taking mono seriously.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] How to start a C# winforms project?

2008-11-11 Thread Paul F. Johnson
Hi,

> > Hi all. I am brand new to monodevelop and would like to get some
> > experience with C# and .net via mono. I've seen there are nice project
> > templates for Gtk# project, but can't see one based on winforms. I mean,
> > if I choose a Gtk# project, I get a predefinded application with gui
> > interface, while selecting C# blank project, does not contain any gui
> > interface. Did I miss something or do I have to desing winforms based
> > project from scratch? Thanks for your help.
> >
> 
> I don't think there any any predefined templates for Win-forms application
> cuase there is no GUI-designer for Win-forms (yet?), but nothing 
> stops you from creating a blank solution and work with the 
System.Windows.Forms
> namespace.

VS.NET doesn't provide you with any predefined templates - it allows you to 
add widgets to a window.

TTFN

Paul
--
It's only me, only me and no-one else.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] How to start a C# winforms project?

2008-11-11 Thread kuse



arcull wrote:
> 
> Hi all. I am brand new to monodevelop and would like to get some
> experience with C# and .net via mono. I've seen there are nice project
> templates for Gtk# project, but can't see one based on winforms. I mean,
> if I choose a Gtk# project, I get a predefinded application with gui
> interface, while selecting C# blank project, does not contain any gui
> interface. Did I miss something or do I have to desing winforms based
> project from scratch? Thanks for your help.
> 

I don't think there any any predefined templates for Win-forms application
cuase there is no GUI-designer for Win-forms (yet?), but nothing stops you
from creating a blank solution and work with the System.Windows.Forms
namespace.
-- 
View this message in context: 
http://www.nabble.com/How-to-start-a-C--winforms-project--tp20434762p20436249.html
Sent from the Mono - General mailing list archive at Nabble.com.

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list