Re: [Mono-list] Events using Remoting

2004-12-01 Thread =?ISO-8859-1?Q?Andr=E9s_Ot=F3n?=
Hello,

I cann't test it at MS.NET. I attach the solutio created with
monodevelop. The solution is called LinuxMeeting.

Well, you find inside three projects: Common, Server and Client.

Common: Used to shared the classes between Server and Client.
Client: ejem, the client ;-).
Server: Logicaly the server, sometimes I only say stupid ;-).

Works:
- Sever create the static class MainServer and share de Login class.
- Client get the Login do addUser and call to getServer.
- With the ServerHandler from getServer, the client create a channel
and next findChannel to get the ChannelHandler.
- When client try the event from ChannelHandler get a exception.

This solution has more classes but you can ignored it. My idea is:
Class |Class  Shared (MarshalByRefObject)
Sever |ServerHandler
Channel |ChannelHandler
User   |UserHandler

Well, this is a aproximation. And the code is only a test from idea to
see capabilities.

Regards.


On Mon, 29 Nov 2004 11:23:52 +0100, Lluis Sanchez [EMAIL PROTECTED] wrote:
 A simple console application that demonstrates the error would be really
 useful to understand what's the issue.
 Does it work with MS.NET? if it does, it is probably a bug in mono, and
 you should file a bug report in bugzilla.ximian.com (including the test
 case).
 
 Lluis.
 
 
 
 On dj, 2004-11-25 at 18:06 +0100, Andrés Otón wrote:
  Hello,
 
  I have a problem using events with MarshalByRefObject classes. I explain it:
  I have two programs server and client and one lib to share something 
  classes.
 
  At lib I have the abstract class A : MarshalByRefObject. The server
  register at http channel this class and implement it.
  The client get this class from server. This class A has a method to
  get a second class B, this is public abstract at common lib and
  MarshalByRefObject. Well at client I have a delegate, that is declared
  type at lib, that link with a method at client. To this point all
  works. B has a event and when the client execute:
 
  b.event += delegate;
 
  I get a exception error that say Couldn't bind to method '', where
  the method  is the method of the client that is linked with the
  delegate.
 
  I hope that my problem can be understand because my english is very poor 
  ;-).
 
  Thanks by all.
 
 
 


-- 
--
| Andrés Otón Urbano   | Jabber:Baxas en bulmalug.net|
| Estudiante Ing. de Telecomunicación  | Linux User: 297070  |  
| Universidad Politecnica de Cartagena |  andres.oton en gmail.com   |
--

-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o
- ¿Lastima? Sí, fue lastima lo que detuvo la mano de Bilbo.
  Lastima y misericordia: no matar sin necesidad.
-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o
- Muchos de los que viven merecen morir y algunos de los que
  mueren merecen la vida. ¿Puedes devolver la vida?.
  Entonces no te apresures a dispensar la muerte, pues ni el más
  sabio conoce el fin de todos los caminos.
-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o


LinuxMeeting.tar.gz
Description: application/gunzip


[Mono-list] OpenLDAP with mono

2004-12-01 Thread Amish Munshi
Greetings,

I am using mono 1.0.4 on Novell Linux desktop, using the article available at 

http://www.novell.com/coolsolutions/cooldev/features/
a_net_cplus_ldap_library_cdev.html

I am trying to connect to OpenLDAP using the following code

using Novell.Directory.Ldap;
using System;
namespace Munshi.Amish.LDAP
{
class amish
{
static void Main()
{
try {
LdapConnection ldapConn = new LdapConnection();
ldapConn.Connect(localhost,389);
ldapConn.Bind(cn=Manager,ou=my-domain,o=com,secret);
}
catch(Exception e)
{
Console.WriteLine(Error :  + e.ToString());
}
}
}
}

I get the following error and the program does not exit.

Unhandled Exception: System.ArgumentNullException: Argument cannot be null.
in 0x00078 System.String:FormatHelper 
(System.Text.StringBuilder,System.IFormatProvider,string,object[])
in 0x0003d System.String:Format (System.IFormatProvider,string,object[])
in 0x00175 Novell.Directory.Ldap.Utilclass.ResourcesHandler:getMessage 
(string,object[],System.Globalization.CultureInfo)
in 0x00013 Novell.Directory.Ldap.Utilclass.ResourcesHandler:getMessage 
(string,object[])
in 0x000bf Novell.Directory.Ldap.LdapException:getExceptionString (string)
in 0x00013 Novell.Directory.Ldap.LdapException:ToString ()
in 0x00075 Munshi.Amish.LDAP.amish:Main ()



If I use anonymous bind 
ldapConn.Bind(null,null);
then the program just freezes and does not exit.

I tried this on mono 1.0.2 on SuSE 9.2 and the effect the same. What could be 
wrong?


Amish.



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] compiling mono on ubuntu

2004-12-01 Thread Philipp Knecht
Hi Paul

First thanks for your compling pages. When i compile
from svn for the first time i'll check them again.

 expect, though.  The OP probably meant either
 /usr/local/bin or /usr/local.

Oops i meant /usr/local/

Have fun

Phil










___
Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: 
http://mail.yahoo.de
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono on OpenBSD - again

2004-12-01 Thread Dick Porter
On Wed, 2004-12-01 at 02:02 +, Marc Matteo wrote:
 Here's a backtrace with 1.1.2, compiled from source.

Please open a bug on http://bugzilla.ximian.com so we don't forget about
these traces.

 Yuck... threads :)

Agreed :)

- Dick



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Minimal requrements

2004-12-01 Thread Paolo Molaro
On 12/01/04 George Birbilis wrote:
  With mono you can create reduced versions of the assemblies so that
  they match your requirements. We're investigating a tool to do
  this automatically, in the meantime you can experiment by
  tweaking the build files to build only the classes you need.
 
 but since .NET supports dynamic class loading, removing stuff can be a
 potential source of runtime errors (class not found)
 
 the problem is you can't run an app through a tool to tell you which classes
 it uses, since it might be loading some by name and using them
 programmatically via interfaces those plugin classes implement

Sure, that's why the tool also takes a list of classes and methods
you want included anyway, even if there are no direct references to
them. We need this, because, for example, some classes are used
by the runtime and they are not referenced anywhere by IL code.
This tool is not used to create a version of the mono libraries that can 
run any app: the default build does that. The tool is useful in two
scenarios:
*) people using bundles to embed the mono runtime: they just want one or 
two apps and don't need all the functionality of corlib/System etc.
so they can build a reduced version and ship a much smaller bundle.
*) people using mono in embedded systems who want to run a well
defined set of apps: they can download to the device just the code
needed to run those apps.
There is also an additional potential use: instead of putting lots
of ugly conditional compilation checks in the sources to get
versions of the libraries compatible with the 1.0, 1,1, 2.0, CF etc
we could have a description of the API in a separate file and feed that
to the tool, so we'd always compile the full corlib and the tool is used
to extract the subset needed. Of course we still need some conditional
compilation #ifs, but this way they could be vastly reduced. This
still needs to be investigated.
In the plugin case, you'd list the plugins together with the app that
requires them: this way all the code needed by the plugins is
considered, too.

I wrote a quick prototype a few days ago: it operates at the type level
(because that way I just needed to feed the build system a different
list of files to compile, without any change to the tools) so it's very coarse,
but it reduced the corlib size by 20%.
The real version should work like this:
*) start from the Main() method of all the apps needed
*) parse the IL code of the methods
*) queue each referenced method so it's parsed later
*) queue each type to be considered later
*) record which types have the constructor invoked
*) record the referenced fields
*) record attributes etc
*) record virtual and interface method calls
*) for each type that can be constructed, queue the methods in the type
that could be invoked through a virtual or interface call
*) queue the .cctor for the type if needed
*) repeat until the worklist is empty

The tool should take a list of types or methods that should be considered
'roots' beside the Main entry points: this process is a sort of garbage 
collection for IL assemblies. There are a few details missing, like handling 
properties, but that is just a SMOP.
Once we have collected all the info, we get a list of:
[assembly]type index
[assembly]method index
[assembly]field index
etc.
We can write it to a file and it's an easy change to get monodis to skip
disassembling the listed types, methods and fields.
The resulting IL file is compiled using ilasm and you get back an
assembly which contains just what is needed to run the list of apps
provided.
Of course it's important that monodis/ilasm can roundtrip the assemblies
correctly: people who want to help with this project could try
roundtripping mcs, corlib, System etc and file and fix the bugs that
may be found in the process.
Miguel, as you see, there is also no perl script involved (though of course
I used it for my prototype;-).

 as for a CF-compatible version of Mono, it would be nice to have, since one
 would be able to build IL code that is working on both Linux-based and
 PocketPC-based devices without changes

Sure: since you look familiar with the CF version, you're likely the best
person to contribute the needed support. There are three issues:
*) excluding from the compilation the classes/methods that are not present
in the CF: you can just use a NET_COMPACTF #define
*) adding the code for types and methods that our assemblies don't provide
*) make the pubtokens and versions match (we have already some code to
deal with this issue, it should be easy, Sebastien has the details).

Thanks.

lupus

-- 
-
[EMAIL PROTECTED] debian/rules
[EMAIL PROTECTED] Monkeys do it better
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] is HTML validated???

2004-12-01 Thread =?UTF-8?B?UGF2b2wgU3TDoXJlayBQU8W9?=
hallo there,
i have one problem... i need make html input tag make disabled... So i 
want to do this

trtdstrongPriorita:/strong/tdtdinput type=text % 
IsDissabled(true); % ...

but i get this error
Server Error in '/itnovycas' Application
Parser Error
Description: Error parsing a resource required to service this request. 
Review your source file and modify it to fix this error.

Error message: expecting ''. Got ''
File name: /var/www/mono/serviceevent_edit.aspxLine: 161
Source Error:
form name=mainForm action=serviceevent_save.aspx method=POST 
enctype=application/x-www-form-urlencoded
input type=hidden name=Id value=% 
Response.Write(dbServiceEventData.Id);%
table cellspacing=0 border=0 cellpadding=2 align=center
   trtdstrongPriorita:/strong/tdtdinput type=text % 
IsDissabled(true); % name=Priority value=% 
Response.Write(dbServiceEventData.Priority);% maxlength=50 
class=EditBoxinput  type=button name=f value=... class=combo 
onclick=openDialog('Priority');/td/tr
   trtdstrongVytvoren:/strong/tdtdinput type=hidden 
name=CreationDT value=% 
Response.Write(dbServiceEventData.CreationDT.ToString(dd.MM. 
HH:mm));% maxlength=50 class=EditBox% 
Response.Write(dbServiceEventData.CreationDT.ToString(dd.MM. 
HH:mm));%/td/tr
   trtdstrongStredisko:/strong/tdtdinput type=text 
name=Department value=% 
Response.Write(dbServiceEventData.Department);% maxlength=50 
class=EditBoxinput type=button name=f value=... class=combo 
onclick=openDialog('Department');/td/tr
   trtdstrongVloil:/strong/tdtdinput type=text 
name=Person value=% Response.Write(dbServiceEventData.Person);% 
maxlength=101 class=EditBoxinput type=button name=f 
value=... class=combo onclick=openDialog('employee'); return 
true;/td/tr

where is problem???
thanx
Pavol
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] System.DirectoryServices - Was: (no subject)

2004-12-01 Thread Adam Tauno Williams
 I would recommend using Novell.Directory.Ldap instead of
 System.DirectoryServices.
 It is a pure managed library for LDAP and is included within Mono.  It works
 on Mono and .NET Framework.

Agree.  I've written a fair about of LDAP related stuff using Mono, and while I
think the DirectoryServices is a nicer API it is filled with bugs and
limitations.  The Directory.Ldap assembly is much more stable.
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] OpenLDAP with mono

2004-12-01 Thread Jonathan Stowe
On Wed, 2004-12-01 at 08:17, Amish Munshi wrote:
 Greetings,
 
 I am using mono 1.0.4 on Novell Linux desktop, using the article available at 
 
 http://www.novell.com/coolsolutions/cooldev/features/
 a_net_cplus_ldap_library_cdev.html
 
 I am trying to connect to OpenLDAP using the following code
 
 using Novell.Directory.Ldap;
 using System;
 namespace Munshi.Amish.LDAP
 {
   class amish
   {
   static void Main()
   {
   try {
   LdapConnection ldapConn = new LdapConnection();
   ldapConn.Connect(localhost,389);
   ldapConn.Bind(cn=Manager,ou=my-domain,o=com,secret);
   }
   catch(Exception e)
   {
   Console.WriteLine(Error :  + e.ToString());
   }
   }
   }
 }
 
 I get the following error and the program does not exit.
 
 Unhandled Exception: System.ArgumentNullException: Argument cannot be null.
 in 0x00078 System.String:FormatHelper 
 (System.Text.StringBuilder,System.IFormatProvider,string,object[])
 in 0x0003d System.String:Format (System.IFormatProvider,string,object[])
 in 0x00175 Novell.Directory.Ldap.Utilclass.ResourcesHandler:getMessage 
 (string,object[],System.Globalization.CultureInfo)
 in 0x00013 Novell.Directory.Ldap.Utilclass.ResourcesHandler:getMessage 
 (string,object[])
 in 0x000bf Novell.Directory.Ldap.LdapException:getExceptionString (string)
 in 0x00013 Novell.Directory.Ldap.LdapException:ToString ()
 in 0x00075 Munshi.Amish.LDAP.amish:Main ()


I think if you take the try{} catch{} out you will get a clearer idea of
where the problem lies - this exception appears to be from
LdapException.ToString() which whilst a problem is meaning you are not
seeing what the underlying problem is.


 
 If I use anonymous bind 
 ldapConn.Bind(null,null);
 then the program just freezes and does not exit.
 
 I tried this on mono 1.0.2 on SuSE 9.2 and the effect the same. What could be 
 wrong?
 
 
 Amish.
 
 
 
 ___
 Mono-list maillist  -  [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/mono-list
-- 

This e-mail is sponsored by http://www.integration-house.com/

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] is HTML validated???

2004-12-01 Thread Gonzalo Paniagua Javier
On Wed, 2004-12-01 at 12:32 +0100, Pavol Strek PS wrote:
 hallo there,
 
 i have one problem... i need make html input tag make disabled... So i 
 want to do this
 
 trtdstrongPriorita:/strong/tdtdinput type=text % 
 IsDissabled(true); % ...

There are 2 errors. One is that you're missing a '=' and the second is
already in bugzilla as http://bugzilla.ximian.com/show_bug.cgi?id=53400

-Gonzalo



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Installing Mono on Fedora Core 3

2004-12-01 Thread Geraldo Dal Berto Jr.
I dropped development for mono for a while. Tried ubuntu but there the
monodevelop package gives you the trouble.

We are developers having trouble to get our runtime working on a major
distro. 

Poor end-users!!! ;-)

On Wed, 2004-12-01 at 16:37 +1300, Mark Derricutt wrote:
 Would be nice to see an official set of FC3 RPMS/repository come out 
 soon wake up novell...
 ___
 Mono-list maillist  -  [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Installing Mono on Fedora Core 3

2004-12-01 Thread Paul Johnson
Hi,

 I dropped development for mono for a while. Tried ubuntu but there the
 monodevelop package gives you the trouble.

Mono 1.0.4 and the current developer versions work equally well on FC3
and FC rawhide (I run both)

 We are developers having trouble to get our runtime working on a major
 distro. 

The only problem with monodevelop and the 1.1.2 branch is that
Mono.Posix breaks it due to the developers changing Mono.Posix and
monodevelop only supporting the older version (and by that, I mean
1.0.4).

There is nothing to stop someone building from svn or the tarballs.
Instructions are on my website for both. Debian and derivative versions
are catered for as well.

TTFN

Paul

www.all-the-johnsons.co.uk/mono/mono-building.html

(a page will be coming soon for a virgin build on a virgin box)
-- 
I'm gonna hit the highway like a battering ram with a Cilla Black fan on
the bike - Meatloaf

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] RH8 box

2004-12-01 Thread Dan Maltes
I've got an RH8 box I want to get Mono 1.0.4 release installed on.  Can I
run the binaries as is, or will I need to rebuild and if so, what glib
version do I need?  If this is gonna be a big pain, should I just upgrade to
RH9 instead?

-Dan


___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Installing Mono on Fedora Core 3

2004-12-01 Thread Miguel de Icaza
Hello,

 http://gfabio.blog.free.fr/?2004/11/23/88-mono-rpms-srpms-for-fedora-core-3
   
 
 Would be nice to see an official set of FC3 RPMS/repository come out 
 soon wake up novell...

Well, the story is like this.

The Mono group in Novell's main output is the tarballs that make up the
release.   As a service to the community, Novell prepares packages for
the distributions in main use, but this is just an extra. 

You will notice that we did not build packages for SUSE 9.2 or Fedora
Core 3, because they just came out, so they likely have very few
users.  

If Mono is not available for your distribution, you should   ask your
distribution directly about providing packages for Mono.  This way you
will ensure that your Mono packages are configured properly for your
system.

In addition to that, we will likely give a priority to SUSE/Novell Linux
distributions, as we are promoting this brand of Linux.

Miguel.
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] 64bit with Mono

2004-12-01 Thread Miguel de Icaza
Hello,

 I would like to know the status of 64bit mono. How stable/tested is the 
 runtime (mono). I would like to know about 64bit computing in general 
 including x86_64 and IA64.
 Please share some experience of using mono on 64bit.

x86_64, SPARCv9 are supported 64 bit ports;   IA64 is not.

From an end-user perspective, there are no differences (other than
pointer are 64-bit), but your code will get this transparently.

Miguel.
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Installing Mono on Fedora Core 3

2004-12-01 Thread Miguel de Icaza
Hello,

  We are developers having trouble to get our runtime working on a major
  distro. 
 
 The only problem with monodevelop and the 1.1.2 branch is that
 Mono.Posix breaks it due to the developers changing Mono.Posix and
 monodevelop only supporting the older version (and by that, I mean
 1.0.4).

We have reverted this decision.   If there are still problems, we would
like to hear about them, so we can fix the regression.

Sorry about this poor decision making;  We assumed few or no users of
Mono.Posix when we did the change, and we were *very* wrong.

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Zebra printers on mono

2004-12-01 Thread Sergio Duran
I'm working on a project that will involve printing some tickets with
bar codes, using some Z4M Zebra printers, I would like to know if any
of you have previously worked with those kind of printers, and if
there is a .net solution already implemented, if not.. I would like to
know a way to get the job done.

Thanks.
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Zebra printers on mono

2004-12-01 Thread andav

I work with the Zebra printers all the time in C# but I have to use pinvoke.
The only solution I have found that is already implemented in .NET is the PrintBoy SDK which costs ~300.00.

I have never attempted either of these using mono before, only with the MS .NET Compact Framework.

Dont expect much help at all from Zebra themselves.

I would be interested in hearing about anything else you find.

Anthony

-- Original message --  I'm working on a project that will involve printing some tickets with  bar codes, using some Z4M Zebra printers, I would like to know if any  of you have previously worked with those kind of printers, and if  there is a .net solution already implemented, if not.. I would like to  know a way to get the job done.   Thanks.  ___  Mono-list maillist - [EMAIL PROTECTED]  http://lists.ximian.com/mailman/listinfo/mono-list 


[Mono-list] Fwd: from Skala - .NET Technologies MONO

2004-12-01 Thread Erik Dasque
FYI

Begin forwarded message:

From: Vaclav Skala [EMAIL PROTECTED]>
Date: December 1, 2004 10:11:40 AM EST
To: [EMAIL PROTECTED]>
Subject: from Skala - .NET Technologies  MONO

x-tad-smallerDear friends,/x-tad-smaller 
x-tad-smallerwe organize .NET Technologies event (/x-tad-smallerx-tad-smallerhttp://dotnet.zcu.cz/x-tad-smallerx-tad-smaller) and we would like to welcome contributions from the MONO people and also we are looking for reviewers of papers./x-tad-smaller 
x-tad-smallerShall I ask you to let me know whom should I contact to spread information about the event and get MONO people into contact?/x-tad-smallerx-tad-smaller /x-tad-smaller 
x-tad-smallerI thank you very much beforehand/x-tad-smallerx-tad-smallerYours/x-tad-smaller 
x-tad-smallervaclav Skala/x-tad-smallerx-tad-smaller/x-tad-smallerx-tad-smallerProf.Ing.Vaclav Skala, CSc./x-tad-smaller 
x-tad-smallerUniversity of West Bohemia  /x-tad-smallerx-tad-smallerhttp://www.zcu.cz/x-tad-smallerx-tad-smallerComputer Science Dept.   /x-tad-smallerx-tad-smallerhttp://www-kiv.zcu.cz/x-tad-smallerx-tad-smallerSecretary:  /x-tad-smallerx-tad-smaller[EMAIL PROTECTED]/x-tad-smallerx-tad-smallerCentre for Computer Graphics and Visualization    /x-tad-smallerx-tad-smallerhttp://herakles.zcu.cz/x-tad-smallerx-tad-smallerUniverzitni 8, Box 314/x-tad-smallerx-tad-smallerCZ 306 14 Plzen/x-tad-smallerx-tad-smallerCzech Republic/x-tad-smallerx-tad-smallere-mail: /x-tad-smallerx-tad-smaller[EMAIL PROTECTED]/x-tad-smallerx-tad-smallerURL: /x-tad-smallerx-tad-smallerhttp://herakles.zcu.cz/x-tad-smallerx-tad-smallerWSCG URL: /x-tad-smallerx-tad-smallerhttp://wscg.zcu.cz/x-tad-smallerx-tad-smaller.NET Technologies URL: /x-tad-smallerx-tad-smallerhttp://dotnet.zcu.cz/x-tad-smallerx-tad-smaller---/x-tad-smallerx-tad-smallerDirect Tel. +420-37-763-2473/x-tad-smallerx-tad-smallerDirect Fax. +420-37-763-2457/x-tad-smallerx-tad-smallerTel.secretary: +420-37-763-2461, 2462, 2463/x-tad-smallerx-tad-smallerFax Department: +420-37-763-2402/x-tad-smaller 
 


RE: [Mono-list] Zebra printers on mono

2004-12-01 Thread Daniel Morgan
I don't know of any...

Are you interested in a cross-platform solution that works on Windows,
Linux, Mac OS X, etc...?

GnomePrint# works on Linux (from what I hear); however, it does not work on
Windows.

I can't remember if it does, but GnomePrint# maybe included in gtk#. 

Unless you p/invoke into the gdi print stuff yourself on Windows.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sergio Duran
Sent: Wednesday, December 01, 2004 2:14 PM
To: [EMAIL PROTECTED]
Subject: [Mono-list] Zebra printers on mono


I'm working on a project that will involve printing some tickets with bar
codes, using some Z4M Zebra printers, I would like to know if any of you
have previously worked with those kind of printers, and if there is a .net
solution already implemented, if not.. I would like to know a way to get the
job done.

Thanks.
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Mono and FreeBSD???

2004-12-01 Thread Richard Norman


Anyone had success with this version? There seems to be a lot of work on WIndows and lots of Linux distros, but I had not heard much about the BSD's except the occasional message about OpenBDS recently.

I have been thinking about giving it (FreeBSD) a wirl with GNOME and Mono, but was not sure if it was worth the effort...

What say the Mono community...

Richard Norman
Web/Application Developer

http://www.jazzynupe.net/blog/

P.S. - If there is some web or "simple" documentation work that could be done, I would be willing to help when I can.


Re: [Mono-list] Installing Mono on Fedora Core 3

2004-12-01 Thread Todd Berman
On Wed, 2004-12-01 at 13:11 -0500, Miguel de Icaza wrote:
 Hello,
 
   We are developers having trouble to get our runtime working on a major
   distro. 
  
  The only problem with monodevelop and the 1.1.2 branch is that
  Mono.Posix breaks it due to the developers changing Mono.Posix and
  monodevelop only supporting the older version (and by that, I mean
  1.0.4).
 
 We have reverted this decision.   If there are still problems, we would
 like to hear about them, so we can fix the regression.
 
 Sorry about this poor decision making;  We assumed few or no users of
 Mono.Posix when we did the change, and we were *very* wrong.
 

Actually, MonoDevelop from SVN works perfectly fine with 1.1.2. There
are some (being resolved) issues with MonoDevelop and Mono 1.1.2.99
(running from SVN HEAD)

No released version of MonoDevelop supports the 1.1.x series, as that
series was *not* in existence when MonoDevelop 0.5.1 was released
originally (Although by the time the packages were made, it did, when
the tarball was pushed, it did not).

So, to recap:

MonoDevelop 0.5.1 works perfectly on Mono 1.0.x (stable mono)
MonoDevelop SVN works perfectly on Mono 1.0.x (stable) and Mono 1.1.x
(unstable)
MonoDevelop currently will not build against Mono from SVN trunk,
however I except that situation to be rectified within the next 24 hours
or so.

Also note that these supposed Mono.Posix 1.1.2 changes happened after
1.1.2, so it is highly unlikely that 1.1.2 has any issues with that API.

--Todd 

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Sqlite parameter support

2004-12-01 Thread Ecmel Ercan
Hi,

Are there any plans to implement (or merge the patch submitted some time
ago) parameter support for the Sqlite ADO.NET provider?



___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] OpenLDAP with mono

2004-12-01 Thread Amish Munshi
On Wednesday 01 December 2004 18:09, Jonathan Stowe wrote:
 I think if you take the try{} catch{} out you will get a clearer idea of
 where the problem lies - this exception appears to be from
 LdapException.ToString() which whilst a problem is meaning you are not
 seeing what the underlying problem is.


The output does not change irrespective of weather the try block exists (why 
does the catch block not catch the exception?)

Finally I got the solution for this.
I should have used dc=example,dc=com, I did not have the tree ou=example,o=com 
in ldap. you are free to hit me for this one
There are 2 problems still. 
1. The Error could have been a little more descriptive of the problem
2. The program does not terminate, it just keeps running. Adding 
ldapConn.Disconnect() does not terminate the application either.

Thanks for the help, Although I wouldnt put this into production, I can 
atleast continue my studies/development work.

Amish.
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono and FreeBSD???

2004-12-01 Thread Miguel Mendez
On Wed, 01 Dec 2004 16:10:01 -0800
Richard Norman [EMAIL PROTECTED] wrote:

Hi,

 I have been thinking about giving it (FreeBSD) a wirl with GNOME and
 Mono, but was not sure if it was worth the effort...

Check this out: http://forge.novell.com/modules/xfmod/project/?bsd-sharp

Cheers,
-- 
Miguel Mendez [EMAIL PROTECTED] | lea gfx_lib(pc),a1
http://www.energyhq.es.eu.org| moveq   #0,d0
PGP Key: 0xDC8514F1  | move.l  4.w,a6
Note: All HTML mail goes to /dev/null| jsr -552(a6)

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Zebra printers on mono

2004-12-01 Thread David Makovsky (Yakeen)
Hi,
to your problem with printing to zebra.
Problem is that you don't have priner drivers. But natively supports ZPL 
language.
is text oriented language and there you can describe paper size, 
orientation, define barcodes,
strings, send graphics in PCX or TIFF. The language is pretty powerfull. 
There is also possibility
to beahave like windows drivers for theese printers, they are converting 
whole layout to bitmap,
sends firstly only text info about label, inits bitmap at position eg 
1,1 and sends binary data, after
that sends command for end picture and page.

Hope this help, if you cannot find any ZPL specification write me, I can 
support you with one

David Makovsky
Daniel Morgan wrote:
I don't know of any...
Are you interested in a cross-platform solution that works on Windows,
Linux, Mac OS X, etc...?
GnomePrint# works on Linux (from what I hear); however, it does not work on
Windows.
I can't remember if it does, but GnomePrint# maybe included in gtk#. 

Unless you p/invoke into the gdi print stuff yourself on Windows.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sergio Duran
Sent: Wednesday, December 01, 2004 2:14 PM
To: [EMAIL PROTECTED]
Subject: [Mono-list] Zebra printers on mono
I'm working on a project that will involve printing some tickets with bar
codes, using some Z4M Zebra printers, I would like to know if any of you
have previously worked with those kind of printers, and if there is a net
solution already implemented, if not.. I would like to know a way to get the
job done.
Thanks.
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list
 

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono and FreeBSD???

2004-12-01 Thread Tom McLaughlin
On Thu, 2004-12-02 at 07:58 +0100, Miguel Mendez wrote:
 On Wed, 01 Dec 2004 16:10:01 -0800
 Richard Norman [EMAIL PROTECTED] wrote:
 
 Hi,
 
  I have been thinking about giving it (FreeBSD) a wirl with GNOME and
  Mono, but was not sure if it was worth the effort...
 
 Check this out: http://forge.novell.com/modules/xfmod/project/?bsd-sharp
 
 Cheers,

Many of the ports from the BSD# CVS repo were merged into the regular
FreeBSD ports tree over the weekend with a few stragling ports this
weekend.  

I started BSD# because a) I wanted to learn a language (all I know is
Bourne script and I really need to learn something more) and b) because
the latest available version in the ports tree when I started was out of
date.  The BSD# repo is now basically a place for testing port changes
before I send-pr them.  If your interested in the development of Mono
and want to hack it for FreeBSD to make it better then use the BSD#
tree, if you just want to try it out then you can use the regular
FreeBSD ports tree.

I'm not the regular FreeBSD port maintainer for Mono.  He's been
unavailable to maintain it so I just stepped in.  As you cans see above
I'm very in experienced and I'm just learning everything as I go.
Jeremy Messenger [EMAIL PROTECTED] has been helping me a lot with Mono
but more help is always appreciated.  Thanks.

Tom

-- 

BSD# Project - Porting Mono to FreeBSD
http://forge.novell.com/modules/xfmod/project/?bsd-sharp

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list