Re: [Mono-list] SDRSharp errors CS0234 and CS0246

2013-06-01 Thread Daniel Morgan

How well does SDR Sharp work on Mono on Linux?  Does it work with the SoftRock 
SDR?  

I'm tempted to buy one of those SoftRock SDRs.  Can't beat it for US$21.

On May 17, 2013, at 7:24 PM, Daniel Lo Nigro  wrote:

> They should be able to replicate the same issue in Visual Studio by setting 
> the active build configuration to Release x64.
> 
> 
> On Sat, May 18, 2013 at 9:17 AM, jbernsm  wrote:
>> Thanks very much, that took care of it!  I will inform the SDRsharp mailing
>> list!
>> 
>> 
>> Ankit Jain wrote
>> > On Fri, May 17, 2013 at 2:07 PM, Ankit Jain <
>> 
>> > radical@
>> 
>> > > wrote:
>> >
>> >> Maybe you wanted to build it with Release and x86? It is disabled for
>> >> x64 also.
>> >>
>> >
>> > You can do that with:
>> >   xbuild foo.sln /p:Configuration=Release /p:Platform=x86
>> >
>> > -Ankit
>> 
>> 
>> 
>> 
>> 
>> --
>> View this message in context: 
>> http://mono.1490590.n4.nabble.com/SDRSharp-errors-CS0234-and-CS0246-tp4659682p4659698.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 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


Re: [Mono-list] Oracle Managed Data Provider (ODP.NET)

2012-10-22 Thread Daniel Morgan
Hey Paco.  Long time no see.  

I added the feature requests for mono and a fully managed odp.net driver.  The 
fully managed driver isn't so fully managed after all.  There are DllImports to 
kernel32.dll.  But still, i tried running it on mono on windows, and it still 
failed. Some globaliztion Functionality missing in mono maybe.

Sent from my iPhone

On Oct 22, 2012, at 9:32 AM, "Francisco T. Martinez"  
wrote:

> 
> I received some email from Oracle trumpeting their new Beta Oracle Managed 
> Data Provider! It took little time to realize that this new driver does not 
> seem to work with Mono.
> 
> Well, there might be a forum to petition for a solution to the above:
> 
> Feature request (Support ODP.NET on Mono) awaiting community votes
> (Note: the link above may require you to login to the Oracle Technology 
> Network (OTN) but it is a free membership)
> 
> When I voted, there were only 51 entries. Really? Come on fellow Monos, give 
> it your ALL and upvote this feature request so that everyone can see just how 
> much interest there is in the Mono project.
> 
> Thank you in advance for your participation...
> 
> 
> 
> 
> This message was sent using IMP, the Internet Messaging Program.
> ___
> 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] Oracle Managed ODP.NET Beta

2012-09-30 Thread Daniel Morgan
The beta for the fully managed edition of the ODP.NET provider fails to work on 
Mono.

Oracle Data Provider for .NET, Managed Driver Beta 11.2.0.3.50
http://www.oracle.com/technetwork/database/windows/downloads/odpmbeta-1696432.html


I am running Mono on Windows 7 32-bit.
Mono is version 2.11.4 for Windows.

Managed ODP.NET is designed to work on .NET 4.0.  I have Visual Studio 2010 SP1 
and Oracle 11g Release 2 for Windows 32-bit.

The example works on .net 4.0, but the program throws an exception on Mono.

The exception is a TypeInitializationException for 
OracleInternal.ServiceObjects.OracleGlobalizationImpl.
TimeZoneNotFoundException.

Or do I have something not setup correctly?

Here is the exception:

D:\projects\oracle_managed\oracle_managed\bin\Debug>mono oracle_managed.exe
Error: System.TypeInitializationException: An exception was thrown by the type i
nitializer for OracleInternal.ServiceObjects.OracleGlobalizationImpl ---> System
.TimeZoneNotFoundException: Exception of type 'System.TimeZoneNotFoundException'
 was thrown.
  at System.TimeZoneInfo.get_Local () [0x0] in :0
  at OracleInternal.ServiceObjects.OracleGlobalizationImpl.InitFromClient (Oracl
eInternal.ServiceObjects.OracleGlobalizationImpl implObj) [0x0] in :0
  at OracleInternal.ServiceObjects.OracleGlobalizationImpl..cctor () [0x0] i
n :0
  --- End of inner exception stack trace ---
  at OracleInternal.ServiceObjects.OracleConnectionImpl.AlterSessionOnConnect (O
racle.ManagedDataAccess.Client.OracleConnection con) [0x0] in :0
  at Oracle.ManagedDataAccess.Client.OracleConnection.Open () [0x0] in :0
Press RETURN to exit.

Also, why is the Mono Windows Installer 90MB.  That is huge to download.
Also, why are you including all the static libraries (they have a one letter 
file extension of .a)?
Most users/developers of Mono do not use these static libraries.  

If developers need these archives, is it possible to create a separate 
installer that includes those static archives?  I think the people who need it 
might be those who build mono or gtk# on windows.

Here is the sample program I ran to use Oracle.ManagedDataAccess.dll

using System;
using Oracle.ManagedDataAccess.Client;
using Oracle.ManagedDataAccess.Types;

namespace Connect
{
    class Program
    {
        static void Main(string[] args)
        {
            try
            {
                // Please replace the connection string attribute settings
                string constr = "Data 
Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=testdb11)));User
 ID=scott;Password=tiger";

                OracleConnection con = new OracleConnection(constr);

               
                con.Open();
                Console.WriteLine("Connected to Oracle Database {0}", 
con.ServerVersion);

                /*
                OracleCommand cmd = con.CreateCommand();
                cmd.CommandText = "SELECT view_name FROM all_views WHERE rownum 
< 5";
                OracleDataReader reader = cmd.ExecuteReader();
                Console.WriteLine("Views");
                int viewCount = 0;
                while (reader.Read())
                {
                    string viewName = 
reader.GetString(reader.GetOrdinal("view_name"));
                    Console.WriteLine("View: {0}", viewName);
                    viewCount++;
                }
                Console.WriteLine("View count: {0}", viewCount);
                */
                con.Dispose();

                Console.WriteLine("Press RETURN to exit.");
                Console.ReadLine();
            }
            catch (Exception ex)
            {
                Console.WriteLine("Error: {0}", ex);

                Console.WriteLine("Press RETURN to exit.");
                Console.ReadLine();
            }
        }
    }
}___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] GTKsharp 3

2012-09-12 Thread Daniel Morgan
Mike Kestner is the maintainer of Gtk#.  However, I agree.  If he does not have 
time no more, then someone should become the new maintainer of gtk#.

Gtk# can be found here at Github.  You will see changes have been made for gtk+ 
3.0.   And you will see custom files have been moved to partial classes.
https://github.com/mono/gtk-sharp 


We have been waiting a long time for a preview of Gtk# 3.0.  



 From: Daniel Hughes 
To: Andres G. Aragoneses  
Cc: Mono-list@lists.ximian.com 
Sent: Wednesday, September 12, 2012 8:54 PM
Subject: Re: [Mono-list] GTKsharp 3
 

I have managed to gain the following information from this bug report:

https://bugzilla.gnome.org/show_bug.cgi?id=648121 

The banshee port to GTK# 3 is complete they are just waiting for a release of 
GTK # 3 (as of 3 months ago, from Comment 8)

Mike is the maintainer of GTK# but he doesn't have any time to work on 
it (according to Comment 7). I'm not sure who this Mike is but if he doesn't 
have time to maintain it, is the project then in need of a new maintainer?

I still have not been able to establish where the GTK# 3 code is hosted. If I 
knew that I could start trying to port my application, submit bug reports and 
even contribute any fixes I require. 

I would also like to know who is in a position to issue a release. I can't see 
why a release shouldn't happen straight away so that us app developers and go 
ahead and attempt to port our applications. The most effect way to kill a 
opensource project (or any project) is to never release.

On Thu, Sep 13, 2012 at 2:23 AM, Andres G. Aragoneses  wrote:
On 12/09/12 08:46, Mathias Tausig wrote:
>
>On Tuesday 11. September 2012 11:53:03 Andrew York wrote:
>>
>>How far along is XWT? I'm don't mind trying out something in beta for
>>>fun, but I'm not smart enough to make major contributions. Is XWT far
>>>enough along for the average end developer to start having fun with?
>>>
>>I recently tried it for a new project. It is actually very stable and very
>>comfortable to work with, but the problem is, that is still missing a lot of
>>features that you would expect from something you want to use productively
>>(like message boxes, window-close event, open file dialog, password entry 
>>field)
>>
>
>
>
If everybody thought like that, nobody would use any library or framework at 
all.
>
>Decent helpers usually have about 80% of what you need. That is already a huge 
>saving if you can use the helper instead of writing your own. You just need to 
>write the other 20%[1]
>
>* As for us, we used it and had to implement couple of things which were 
>merged recently from our pull-requests: progress bars and status-icon widget. 
>So please, go ahead and implement MessageBoxes and PasswordTextEntries.
>
>Cheers
>
>
>___
>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 maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Which GUI?

2012-09-10 Thread Daniel Morgan
Are you interested in a web or client-side GUI?

http://www.mono-project.com/Gui_Toolkits 



ASP.NET WebForms.  Use a JavaScript library to do your drawing.  Maybe use an 
HTML5 canvas?
Microsoft ASP.NET MVC might be included since it is MVC is open source.

Moonlight (Silverlight) is dead, but it is open-source.

System.Windows.Forms is cross-platform on Mono, but only external contributors 
have been maintaining it.
The System.Drawing layer that provides the drawing capabilities for 
System.Windows.Forms is based on libgdiplus (on Linux).  On Windows, the native 
Win32 API is used.

There is no working Windows Presentation Foundation for Mono, but you might 
find something in Olive in git.

Gtk# - this is being maintained by Xamarin - has to be - it is used as the GUI 
in MonoDevelop which they use for their commercial products.
http://www.mono-project.com/GtkSharp 


http://www.mono-project.com/GtkSharpTutorials 


There is the Gdk drawing layer, but most are using Cairo these days. 
Gtk# is C# bindings to the Gtk+ toolkit found here:
http://www.gtk.org/ 


There might be some OpenGL framework that works on Mono.  I can't remember.  
Was it OpenTK or Tao or SDL.NET?

OpenTK
http://www.opentk.com/ 


SDL.NET
http://cs-sdl.sourceforge.net/ 


Tao Framework
http://sourceforge.net/projects/taoframework/ 


Mono Game
http://monogame.codeplex.com/ 





 From: mrEmpty 
To: mono-list@lists.ximian.com 
Sent: Monday, September 10, 2012 8:07 AM
Subject: [Mono-list] Which GUI?
 
Hello.

Ok, so I've had a couple of hours to test Mono and MonoDevelop, seems rather
nice, re-wrote out webservice in it from scratch in 3 hours, took 3 days in
Flash.  So that's nice :)

But, I need advice.  Which GUI toolkit to use?  A lot of our team come from
flash, so are used to creating sprites in code, then loading images onto
them if needed.  I personally like to draw everything in code, keep it fast. 
I'm wondering the best choice of GUI SDK to go with?  For example, if I
wanted a window and a simple way to draw a square on it, then click that
square and have it animate.  I can't find anything online.

Regards.



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Which-GUI-tp4656530.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 maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono for mips endian little 32 bit

2012-09-07 Thread Daniel Morgan
I think one of the mono runtime hackers could better answer your question, but 
I will try.

See this link for Supported Platforms for Mono
http://www.mono-project.com/Supported_Platforms 

You will see MIPS on Linux.  MIPS is only supported by the community.
http://www.mono-project.com/Mono:MIPS 

Mono Runtime
http://www.mono-project.com/Mono:Runtime 

Porting Mono to a new Platform
http://www.mono-project.com/Porting

Mono Runtime Documentation
http://www.mono-project.com/Mono:Runtime:Documentation

Mono JIT porting guide. by Paolo Molaro and Zoltan Varga 
http://www.mono-project.com/Mono:Runtime:Documentation:MiniPorting

Compiling Mono
http://www.mono-project.com/Compiling 






 From: Erty Hackward 
To: mono-list@lists.ximian.com 
Sent: Friday, September 7, 2012 3:27 AM
Subject: [Mono-list] Mono for mips endian little 32 bit
 
Hello!

I would like to use mono on set-top box linux device. It has mipsel 32bit
processor from Sigma.
I can't find binaries for the JIT. Is there any place where I can download
it?

I have cross-compilers for the mips.
I've tried to compile mono 2.11.3 manually, but failed.
It says "cannot run test program while cross compiling".
Here is my configure options:


Can you point me an instruction of how to compile mono for mips or where I
can take the binaries?



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Mono-for-mips-endian-little-32-bit-tp4656512.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 maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] rlwrap with sqlsharp

2012-08-24 Thread Daniel Morgan
No idea.

The sqlsharp SQL query tool needs a complete rewrite.  But, it also needs to 
stay lean because it is included with Mono.

If someone did such a rewrite, I would use getline.cs found in the csharp tool 
as Mono.Terminal.LineEditor.  This would be able to provide the command history 
you're looking for.

https://github.com/mono/mono/blob/master/mcs/tools/csharp/getline.cs


What would be funny is if someone created a SQL query tool for Mono but has a 
TUI sort of like Midnight Commander.  

I suppose there should have been a \EDIT command which would allow you to edit 
your query in your favorite text editor, such as, vi or emacs.



 From: Philip Rose 
To: mono-list@lists.ximian.com 
Sent: Wednesday, August 22, 2012 12:42 PM
Subject: [Mono-list] rlwrap with sqlsharp
 

Hello,

Does anyone know how to use rlwrap with sqlsharp?  I can't seem to get it 
working.

Thanks!








___
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


Re: [Mono-list] Alternative to embedded Windows Media Player

2012-03-11 Thread Daniel Morgan
Oops.  I meant to sent this to the mono-list.

I would do an internet search for Banshee music player.   Hopefully, you have 
your application written in 
layers:  user interface layer separate from your media player layer and 
your business logic in-between.  

Banshee

http://banshee.fm/

Even though Banshee uses the gtk+ GUI, you could learn how it uses Gstreamer 
for media playback.  Banshee has a version for Linux, Mac, and 
Windows.  Of course, the version of Mac and Windows is of only alpha 
quality.


Banshee Development

http://banshee.fm/download/development/

Gstreamer

http://gstreamer.freedesktop.org/

I would like to know if there are any other multimedia apps running on Mono 
and/or Gtk# ?



 From: KeithBoynton 
To: mono-list@lists.ximian.com 
Sent: Thursday, March 8, 2012 9:20 AM
Subject: [Mono-list] Alternative to embedded Windows Media Player
 
I have a Windows .NET C# Winforms application that I'm looking to port to
OS-X (Lion) using Mono.

At the moment the application using an embedded Windows Media Player control
to play some MP3s. I expose the play, pause, stop, volume and location bar
(for jumping around the clips) controls on the form and also
programmatically set the media URLs and control the clip location and
volume. I also use the playstate and locationchanged events.

When trying to run my app on mono on OS-X I get the following error:
COM/ActiveX support is not implemented

I think this is probably expected and I need an alternative to Windows Media
Player that I can embed on my form to play MP3s.

I've searched around and there seems to be a few options but nothing seems
well covered/documented.

Does anyone know of an alternative to WMP that can be embedded in a form
exposing some of the controls but also allowing programmatic control?

Any help would be greatly appreciated.

--
View this message in context: 
http://mono.1490590.n4.nabble.com/Alternative-to-embedded-Windows-Media-Player-tp4456518p4456518.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 maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Jay download

2012-03-05 Thread Daniel Morgan
Jay is not only used for Mono's C# compiler, but it is also used for the 
expression parsing in System.Data and is used for ILASM.

Jay is included with Mono.   It is the source tree at mono/mcs/jay

GPGP is a generator for LALR(1) parsers.  It accepts a “YACC/BISON-like” input  
specification and produces a C# output file.
http://gppg.codeplex.com/

cslex
http://www.cybercom.net/~zbrad/DotNet/Lex/Lex.htm





 From: Nilo Roberto da Cruz Paim 
To: mono-list@lists.ximian.com 
Sent: Monday, March 5, 2012 12:23 PM
Subject: [Mono-list] Jay download
 
Hi All,

I'm  newbie using mono and don't know if this question has been already 
answered...

Where can I download jay? I would like to port some software of mine that was 
developed using flex/bison and read that jay is a port of yacc.

Anyway, has someone knowledge about some tool, similar to lex (flex) and yacc 
(bison) that I could use?

TIA,
Nilo
Brasil
___
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


Re: [Mono-list] Problem accessing an Access database in C#

2011-10-15 Thread Daniel Morgan
OLE-DB in namespace System.Data.OleDb is not supported on Mono.  OLE-DB is not 
maintained. There are some old bindings internally to libgda; however, libgda 
breaks backwards compatibility all the time.  Going this route is a big waste 
of time.


Because OleDb is part of the System.Data.dll assembly, we cannot simply remove 
it.

You could try creating your own C# bindings to mdbtools.  You can do an 
internet search to see if someone has.  But, I think this is a waste of time 
too.


Maybe there is an ODBC driver to mdbtools.  If there is, you can use the ODBC 
functionality in Mono's System.Data.Odbc.

My suggestion would be to convert your Access database to a DBMS that Mono has 
support for, such as, a SQLite database.You can use Mono's Mono.Data.Sqlite 
provider or use the provider from the sqlite.org 

http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki

There is even a fully managed C# implementation of SQLite called C#-Sqlite:
http://code.google.com/p/csharp-sqlite/





From: Paul Johnson 
To: mono-list@lists.ximian.com
Sent: Saturday, October 15, 2011 12:47 PM
Subject: [Mono-list] Problem accessing an Access database in C#


Hi,

I seem to have hit a problem when try to drag data from an Access file. I know 
I can do it as I've populated some combo boxes using pretty much the same code, 
however, the code below is returning nothing and I cannot see why!

Any help would be appreciated

8--->
    private void searchInformation(List detail, List opts)
    {
    int id = 0;
    string commandString = "Select TutorID from TutorNames WHERE Name = 
'" + detail[0] + "'";
    OleDbCommand objCommand = new OleDbCommand(commandString, conn);
    conn.Open();
    OleDbDataReader reader = objCommand.ExecuteReader();
    while (reader.Read() == true)
    {
    try
    {
    id = (int)reader["TutorID"];
    }
    catch (Exception e)
    { }
    }
    conn.Close();

    if (id == 0)
    {
    MessageBox.Show(detail[0] + " doesn't exist on the database", 
"Database", MessageBoxButtons.OK, MessageBoxIcon.Error);
    return;
    }
    MessageBox.Show(detail[0] + " exists, ID = " + id.ToString(), 
"Database");
<---8

details[0] contains the name to be searched for (directly from a TextBox). 
TutorID exists in the TutorNames table and for test purposes, I'm using data 
that I know exists.

The only thing I can think of is that there are some escape characters at the 
end of the text (either being passed in or in the database) - everything else 
seems valid.

I have tried 

"Select * from TutorNames where Name = '" + details[0] + "'" to see if I can 
see TutorID, but nothing is being returned.

Additionally, I've tried another tack using a DataSet and DataTable in a 
similar way to the ways shown on MSDN, but still nothing.

Any clues would be appreciated!

Thanks

Paul

___
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


Re: [Mono-list] Mono Project: Next Steps

2011-07-07 Thread Daniel Morgan
I'm not sure if git contains all the history all the way back to the beginning 
when the mono repository originally existed in cvs then svn then git.


Here is an archive of release tarballs for Mono:

http://ftp.novell.com/pub/mono/archive

Here is an old archive of release tarballs for Mono that go back the beginning:

http://ftp.novell.com/pub/mono/archive/old/





From: jmalcolm 
To: mono-list@lists.ximian.com
Sent: Wednesday, July 6, 2011 2:18 PM
Subject: Re: [Mono-list] Mono Project: Next Steps


Daniel Morgan wrote:
> 
> Can you include the old and ancient releases of mono too?
> 

I just wanted to flag that old releases are in the GitHub repo as well. It
seems to go back continuously to at least Mono-1.0 although there is a
branch called MONO_0.28 that has files from 2002/2003.

This recent experience shows the wisdom in having this historical record
available in more than one place.

PS.

I am extremely happy that Xamarin is moving to create a Mono website that is
not controlled by Novell. Probably the most important thing to move to safer
ground is Bugzilla. I know that Novell uses it for other things but I still
worry that it could disappear. The forums and mailing lists are still
ximian.com as well which I am sure stayed with Novell. I hope that
MonoDevelop finds a new home too.

--
View this message in context: 
http://mono.1490590.n4.nabble.com/Mono-Project-Next-Steps-tp3649110p3649558.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 maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono Project: Next Steps

2011-07-06 Thread Daniel Morgan
Can you include the old and ancient releases of mono too?

Case for keeping old releases:

Just last night I could not figure out to get jay to work for me in a 
mono-2.10.2 release.  I was trying to build your csharp and Mono-CSharp without 
using mono's build system.  So, I found an ancient release of mcs 0.12 tarball 
and used it to figure out how to use jay correctly.  The older releases of 
mono/mcs tarballs were simple compared to the complex build rules that we have 
now.  Unzips faster too.




From: Miguel de Icaza 
To: mono-list@lists.ximian.com; mono-devel-l...@lists.ximian.com; 
mono-announce-l...@lists.ximian.com
Sent: Wednesday, July 6, 2011 11:27 AM
Subject: [Mono-list] Mono Project: Next Steps


Hello folks,

   Some of you have been asking about the upcoming release of Mono 2.12.

   We hit a little bit of a bump in the road with the layoff of the Mono team, 
but we have now re-constituted the team at Xamarin and we are getting back to 
speed.  Our first priority at Xamarin is to ensure that our amazing team of 
hackers remains employed, so we are focused on creating amazing products for 
the mobile space.   Of course, our products are entirely based on Mono, and as 
you can see from the commits to the various Mono modules, a lot of our energy 
goes into improving Mono.

   To get the 2.12 release to your hands, here’s what we still need to do:

(a) We need to be able to build packages
(b) We need to be able to host the software
(c) We need to adopt the branching and release procedures.

   During the transition to Xamarin, we lost our build engineer. But luckily at 
Xamarin we’ve hired Alex Corrado, a very talented developer who’s created a new 
build system for Mono.  The good news is that we are making progress and we are 
now able to build Linux and MacOS packages.   Next, Alex is working on Windows 
builds.  We are not there yet, but we will be there in the next couple of weeks.

   Once we have packages, we will setup a new website for the Mono project 
where we can host the software and the other project resources, like a wiki, 
forums, etc.  So we are working on a separate domain to host both a Mono web 
site and the software, and that should be up in the next week or two.

   Once we have something ready, we will share the information with the rest of 
the world and give access to the new Wiki to the various maintainers to help us 
keep the content up to date. 

Thank you for your patience and your love for Mono!

Miguel
___
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


Re: [Mono-list] Connecting to Oracle as SYSDBA

2010-11-23 Thread Daniel Morgan
The API of System.Data.OracleClient nor its connection string provide a way for 
you to connect as sysdba.  This is a known limitation.   If you were using .net 
on windows, I would suggest for you to use odp.net from oracle.   However, 
odp.net does not work on mono.

DBA Privilege is not a valid connection string parameter for 
System.Data.OracleClient.  

There is data direct's oracle provider which may work on mono and it may have 
the ability to connect as sysdba.


--- On Mon, 11/22/10, Marc Puts  wrote:

> From: Marc Puts 
> Subject: [Mono-list] Connecting to Oracle as SYSDBA
> To: mono-list@lists.ximian.com
> Date: Monday, November 22, 2010, 4:35 PM
> Hi list,
> 
> I'm trying to create a privileged connection to an Oracle
> database using 
> the following line:
> 
> using System.Data.OracleClient;
> ...
> var con = new System.Data.OracleConnection("Data 
> Source=192.168.5.1/TMP;User ID=sys;Password=xx;DBA
> Privilege=SYSDBA");
> 
> 
> However, this line throws an ArgumentException: "Connection
> parameter 
> not supported: 'DBA PRIVILEGE'".
> 
> I've also tried creating a connection string using the 
> OracleConnectionStringBuilder class, but it also doesn't
> seem to feature 
> privileged connections.
> 
> Connecting as a normal user (without the DBA Privilege
> part) works with 
> no problems.
> 
> I'm using Mono 2.6.7 on Ubuntu 10.10.
> 
> Any pointers on how to do this?
> Thanks!
> 
> Regards,
> Marc
> ___
> 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


Re: [Mono-list] Connecting to a database (VB)

2010-11-02 Thread Daniel Morgan
My explaination is how to use Mono's SqlClient with Integrated Security 
currently.  If you can inspect the packets on your machine, you might be able 
to discover how to get it to work locally.

I have verified a long time ago that Mono's SqlClient can connect to SQL Server 
using Integrated Security.  You have to specify the windows domain userid and 
password because there is no way that I know of to get this info from the 
Windows operationg system. 

To understand this more, read about Domain Logins in FreeTDS.
http://www.freetds.org/userguide/domains.htm

To support NTLM locally, you would need to modify Mono.Data.Tds Tds.cs

If client receives type 2 message from the server with the Negotiate Local Call 
(0x4000) flag, then you will need to do things differently to support local 
authentication. 

http://davenport.sourceforge.net/ntlm.html#localAuthentication





--- On Mon, 11/1/10, ma...@manfbraun.de  wrote:

> From: ma...@manfbraun.de 
> Subject: RE: [Mono-list] Connecting to a database (VB)
> To: "'Daniel Morgan'" , "'mono-list'" 
> , p...@all-the-johnsons.co.uk
> Date: Monday, November 1, 2010, 1:17 PM
> Hello !
> 
> Sorry, I'll really NOT bother you, but I don't trust your
> statement.
> 
> I am administering Windows since the beginning and using
> and developing lots
> of admin tools in C#. What NTLM gives you finally, is an
> access token,
> containing different SIDs [your user, groups, rights etc.].
> If it does not
> contain a "real" domain, it is usually - on windows [even
> with SqlClient] so
> far - able to authenticate to a windows's machine local
> domain. If your
> computer is named "X", you should be able to connect to
> "X\myUser" on this
> local domain with "Integrated Security".
> 
> If this is not working, I would feel bad about mono.
> Or is there something, I think fundamentally wrong??
> I do not have the time shortly, but I'll definitively
> setup
> a XP-VM with mono to try this out later!
> 
> Naturally, as I wrote, specifying "Integrated Security" AND
> specifying
> username and password WILL NEVER work [wether local domain
> nor real domain].
> 
> br++mabra
> 
> 
> -Original Message-
> From: mono-list-boun...@lists.ximian.com
> [mailto:mono-list-boun...@lists.ximian.com]
> On Behalf Of Daniel Morgan
> Sent: Monday, November 01, 2010 3:35 PM
> To: mono-list; p...@all-the-johnsons.co.uk
> Subject: Re: [Mono-list] Connecting to a database (VB)
> 
> Mono's SqlClient supports Integrated Security (NTLM), but
> you must be on a
> true windows domain.  A workgroup does not count. You
> also have to give your
> windows domain user id and password.  On Mono's
> SqlClient, you have to give
> your windows domain credentials because Mono is not
> integrated with your
> Windows workstation, nor SQL Server, nor the Windows server
> where the SQL
> Server instance is running.  
> 
> --- On Sun, 10/31/10, Paul F. Johnson 
> wrote:
> 
> > From: Paul F. Johnson 
> > Subject: [Mono-list] Connecting to a database (VB)
> > To: "mono-list" 
> > Date: Sunday, October 31, 2010, 11:16 AM
> > Hi,
> > 
> > I have set up a really simple MS SQL database and am
> trying
> > to connect
> > to it using VB.
> > 
> > Currently, my code looks like this
> > 
> > Dim connstr as String = "Data
> > Source=localhost\SQLEXPRESS;"+"Initial
> > Catalog="Database1\Table1;"+"Integrated
> Security=SSPI;"
> > Dim sql as String = Nothing
> > Dim tables as New ArrayList
> > Dim sqldata as new DataSet
> > Try
> > Dim connect as new SqlConnection(connstr)
> > connect.Open()
> > Dim sqlcomm as new SqlCommand(sql, connect)
> > sqlcomm.CommandText = "Select Name where (Age > 25
> and
> > Hometown =
> > Liverpool);"
> > Dim sqlad = new SqlDataAdapter
> > sqlad.SelectCommand = sqlcomm
> > For i = 0 to 3
> >   sqlad.TableMappings.Add("Table",
> > tables(i).ToString())
> > Next
> > sqlad.Fill(sqldata)
> > connect.Close()
> > Catch ex as SqlException
> > WriteLine("Error " + ex.Message.ToString())
> > End Try
> > 
> > Nothing amazing. The problem is the connection string
> -
> > I've googled
> > around and nothing seems to fit. The exception thrown
> is
> > that it can't
> > log in for user pb5\paul. If I add User Id=paul or
> User
> > Id=pb5\paul, it
> > still won't connect.
> > 
> > What is wrong?
> > 
> > TTFN
> > 
> > Paul
> > 
> > -- 
> > Vertraue mir, ich weiss, was ich mache...
> > 
> > ___
> > 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 maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Connecting to a database (VB)

2010-11-01 Thread Daniel Morgan
Mono's SqlClient supports Integrated Security (NTLM), but you must be on a true 
windows domain.  A workgroup does not count. You also have to give your windows 
domain user id and password.  On Mono's SqlClient, you have to give your 
windows domain credentials because Mono is not integrated with your Windows 
workstation, nor SQL Server, nor the Windows server where the SQL Server 
instance is running.  

--- On Sun, 10/31/10, Paul F. Johnson  wrote:

> From: Paul F. Johnson 
> Subject: [Mono-list] Connecting to a database (VB)
> To: "mono-list" 
> Date: Sunday, October 31, 2010, 11:16 AM
> Hi,
> 
> I have set up a really simple MS SQL database and am trying
> to connect
> to it using VB.
> 
> Currently, my code looks like this
> 
> Dim connstr as String = "Data
> Source=localhost\SQLEXPRESS;"+"Initial
> Catalog="Database1\Table1;"+"Integrated Security=SSPI;"
> Dim sql as String = Nothing
> Dim tables as New ArrayList
> Dim sqldata as new DataSet
> Try
> Dim connect as new SqlConnection(connstr)
> connect.Open()
> Dim sqlcomm as new SqlCommand(sql, connect)
> sqlcomm.CommandText = "Select Name where (Age > 25 and
> Hometown =
> Liverpool);"
> Dim sqlad = new SqlDataAdapter
> sqlad.SelectCommand = sqlcomm
> For i = 0 to 3
>   sqlad.TableMappings.Add("Table",
> tables(i).ToString())
> Next
> sqlad.Fill(sqldata)
> connect.Close()
> Catch ex as SqlException
> WriteLine("Error " + ex.Message.ToString())
> End Try
> 
> Nothing amazing. The problem is the connection string -
> I've googled
> around and nothing seems to fit. The exception thrown is
> that it can't
> log in for user pb5\paul. If I add User Id=paul or User
> Id=pb5\paul, it
> still won't connect.
> 
> What is wrong?
> 
> TTFN
> 
> Paul
> 
> -- 
> Vertraue mir, ich weiss, was ich mache...
> 
> ___
> 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


Re: [Mono-list] GStreamer#

2010-10-19 Thread Daniel Morgan
Forget about Gstreamer#.  As far as I know, nobody is maintaining it.

Take a look at the Banshe Project to see how they use Gstreamer.
http://banshee.fm/contribute/write-code/

libbanshee might be a native library that wraps gstreamer.  Banshee then uses 
libanshee.

--- On Tue, 10/19/10, carbos  wrote:

> From: carbos 
> Subject: [Mono-list] GStreamer#
> To: mono-list@lists.ximian.com
> Date: Tuesday, October 19, 2010, 1:53 PM
> 
> When I try to create a Gst.Pipeline object in my program,
> a
> DllNotFoundException is thrown for
> "gstreamersharpglue-0.10.dll". I'm
> running Arch linux with mono 2.6.4. I looked in my gsharp
> build directory
> and found "libgstreamersharpglue-0.10.la", so I assume it's
> looking for the
> .dll when it should be looking for the .la. Do I need to
> modify the
> GStreamer# source to look for the .la instead?
> 
> Unhandled Exception: System.TypeInitializationException: An
> exception was
> thrown by the type initializer for Gst.Pipeline --->
> System.DllNotFoundException: gstreamersharpglue-0.10.dll
>   at (wrapper managed-to-native)
> Gst.Pipeline:gstsharp_gst_pipeline_get_stream_time_offset
> ()
>   at Gst.Pipeline..cctor () [0x0] in  unknown>:0 
>   --- End of inner exception stack trace ---
>   at MusicPlayer..ctor () [0x6] in
> /home/jruhl/Projects/ExtremePlayer/ExtremePlayer/MusicPlayer.cs:13
> 
>   at MainWindow..ctor () [0x00095] in
> /home/jruhl/Projects/ExtremePlayer/ExtremePlayer/MainWindow.cs:37
> 
> -- 
> View this message in context: 
> http://mono.1490590.n4.nabble.com/GStreamer-tp3002495p3002495.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 maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] MonoDroid Beta

2010-10-04 Thread Daniel Morgan
Can you reconsider me and invite me into the MonoDroid beta please?

Or the next beta, please open it publicly to anyone who registers?

--- On Fri, 10/1/10, Daniel Morgan  wrote:

> From: Daniel Morgan 
> Subject: [Mono-list] MonoDroid Beta
> To: mono-list@lists.ximian.com
> Date: Friday, October 1, 2010, 10:29 AM
> I was hoping to get a invite to the
> MonoDroid beta, but I haven't even though I signed up.
> 
> Originally when I signed up, I had answered one of the
> questions that I did not download the Android SDK.
> 
> However, this has changed.  I have since download the
> Android SDK and been playing with the virutal machine. 
> 
> 
> I want to create Android apps using C#.



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


[Mono-list] MonoDroid Beta

2010-10-01 Thread Daniel Morgan
I was hoping to get a invite to the MonoDroid beta, but I haven't even though I 
signed up.

Originally when I signed up, I had answered one of the questions that I did not 
download the Android SDK.

However, this has changed.  I have since download the Android SDK and been 
playing with the virutal machine.  

I want to create Android apps using C#.


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


Re: [Mono-list] Recommended approach for embedding VLC in a Mono app?

2010-05-14 Thread Daniel Morgan
Personally, I think the banshee project should release their C# bindings to 
gstreamer and other media systems so others could use it in their projects.

--- On Fri, 5/14/10, Steve Ricketts  wrote:

> From: Steve Ricketts 
> Subject: Re: [Mono-list] Recommended approach for embedding VLC in a Mono app?
> To: mono-list@lists.ximian.com
> Date: Friday, May 14, 2010, 10:27 AM
> 
> Interesting thought.  Actually, I hired a programmer
> to develop an audio
> library that uses GStreamer for some special audio format
> conversions.  I'll
> ask him what it would take to build the video capabilities
> as well.  I'm
> going to need to be able to play, pause, position, mute
> audio, change video
> size (full screen or pseudo full screen), and get state
> change events.  Is
> that all possible with GStreamer?   I was
> thinking VLC (or now MPlayer)
> would have those capabilities already built in, but I had
> no idea it would
> be this hard to incorporate them into C#/Mono.
> -- 
> View this message in context: 
> http://mono.1490590.n4.nabble.com/Recommended-approach-for-embedding-VLC-in-a-Mono-app-tp2216492p2216661.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 maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Class status page for OracleCommandBuilder.DeriveParameters shows it implemented but throws not implemented error

2010-05-04 Thread Daniel Morgan
I would imagine you would look up view SYS.ALL_ARGUMENTS to get the arguments 
on a stored procedure.  You would have to translate the oracle type string to 
an OracleType .net type.  

Here is sample code to look up ALL_ARGUMENTS.

// get procedures/functions for a given stored package and get 
the
// arguments for each procedure/function
private void GetPackageProcedures (MetaProcedure pkg) 
{
if (con.State != ConnectionState.Open)
con.Open();

// GET ARGUMENTS FOR PROCEDURES/FUNCTIONS FOR PACKAGES
string sql = 
"SELECT OBJECT_NAME, OVERLOAD, 
NVL(ARGUMENT_NAME,'(RETURN)') AS ARGUMENT_NAME, " +
"   POSITION, SEQUENCE, " +
"   IN_OUT AS DIRECTION, " +
"   DECODE(TYPE_NAME, NULL, DATA_TYPE, 
TYPE_OWNER || '.' || TYPE_NAME) AS DATA_TYPE " +
"FROM SYS.ALL_ARGUMENTS " +
"WHERE OWNER = '" + pkg.Owner + "' " +
"AND PACKAGE_NAME = '" + pkg.Name + "' " +
"AND DATA_LEVEL = 0 " +
"ORDER BY OBJECT_NAME, OVERLOAD, POSITION, 
SEQUENCE, DATA_LEVEL";

IDbCommand cmd = con.CreateCommand ();
cmd.CommandText = sql;

IDataReader reader = cmd.ExecuteReader ();

// Notes:
// 1. an Oracle stored package can overloaded functions 
or procedures
// 2. stand-alone functions or procedures can not be 
overloaded
// 3. a procedure with no arguments will still have one 
row - data_type will be null
string previousProcName = "~";
string previousOverload = "~";
MetaProcedure proc = null;
string procType = "Procedures";
while (reader.Read ()) {
string procName = reader.GetString (0);
string argName = reader.GetString (2);

string overload = String.Empty;
if (!reader.IsDBNull (1))
overload = reader.GetString (1);

string direction = String.Empty;
if (!reader.IsDBNull (5))
direction = reader.GetString (5);

string dataType = String.Empty;
if (!reader.IsDBNull (6)) 
dataType = reader.GetString (6);

if (!procName.Equals (previousProcName) || 
!previousOverload.Equals (overload)) {
if (argName.Equals ("(RETURN)") && 
(!dataType.Equals (String.Empty))) {
procType = "Functions";
direction = String.Empty;
}
else
procType = "Procedures";

proc = new MetaProcedure (String.Empty, 
procName, procType);
pkg.Procedures.Add (proc);

previousProcName = procName;
previousOverload = overload;
}

if (!dataType.Equals (String.Empty)) {
MetaProcedureArgument arg = new 
MetaProcedureArgument (pkg.Owner, procName, procType,
argName, direction, dataType);
proc.Arguments.Add (arg);
}
}
reader.Close ();
reader = null;
}

// get arguments for stand-alone stored procedures/functions
private void GetProcedureArguments (MetaProcedure proc) 
{
if (con.State != ConnectionState.Open)
con.Open();

// GET ARGUMENTS FOR STAND-ALONE PROCEDURES/FUNCTIONS
string sql = "SELECT OBJECT_NAME, OVERLOAD, 
NVL(ARGUMENT_NAME,'(RETURN)') AS ARGUMENT_NAME, " +
"   POSITION, SEQUENCE, " +
"   IN_OUT AS DIRECTION, " +
   

Re: [Mono-list] libtool: link: unsupported hardcode properties

2009-12-24 Thread Daniel Morgan
Make sure g++ installed.  Installing gcc does not mean g++ gets installed too.  
And make sure libtool is installed.

Do a make clean and run ./configure again.


--- On Thu, 12/24/09, vasyav  wrote:

> From: vasyav 
> Subject: [Mono-list]  libtool: link: unsupported hardcode properties
> To: mono-list@lists.ximian.com
> Date: Thursday, December 24, 2009, 4:01 AM
> 
> Hi.
> 
> I downloaded mono-2.6.1.tar.bz2 for build it on debian
> lenny. Building
> stoped:
> 
> ../../doltlibtool --quiet   --mode=compile
> gcc  -g -O2 -c -o
> mdb-debug-info64.lo mdb-debug-info64.s
> CC    mini-posix.lo
> LD    libmono.la
> libtool: link: unsupported hardcode properties
> libtool: link: See the libtool documentation for more
> information.
> libtool: link: Fatal configuration error.
> make[4]: *** [libmono.la] Ошибка 1
> 
> All google answer not help to me.
> 
> May some body have solution?
> 
> 
> -- 
> View this message in context: 
> http://old.nabble.com/libtool%3A-link%3A-unsupported-hardcode-properties-tp26893383p26893383.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 maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] [Mono-aspnet-list] sqlite questions?

2009-11-03 Thread Daniel Morgan
Npgsql developers have re-licensed Npgsql under the BSD license.
http://fxjr.blogspot.com/2007/08/npgsql-license-changed-to-bsd_27.html

Npgsql
http://npgsql.projects.postgresql.org/

Plus, Npgsql has (copied from the Npgsql web page):

# Support for .Net 2.0 and 3.5
# Entity Framework (EF): In order to use it, you have to download a special 
build with the 3.5 suffix in its name on our download page.
# Improved performance for large resultsets:Different from Npgsql1, Npgsql2 
doesn't read all table contents before returning control to user code. This 
makes Npgsql much more memory efficient when dealing with large tables. 
# ASP.Net Providers

--- On Tue, 11/3/09, Marek Habersack  wrote:

> From: Marek Habersack 
> Subject: Re: [Mono-list] [Mono-aspnet-list] sqlite questions?
> To: "william leader" 
> Cc: "Dale E. Moore" , Mono-list@lists.ximian.com, 
> "monodevelop-list" , 
> mono-aspnet-l...@lists.ximian.com
> Date: Tuesday, November 3, 2009, 3:58 AM
> william leader wrote:
...
> Much better choice, as
> somebody else suggested, is PostgreSQL - 
>   its .NET driver (Npgsql) is LGPL, has all the
> features you mentioned (membership, profile, role) 
> and is shipped with Mono. 
...


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


Re: [Mono-list] [ANN] DeveelDB 0.9.6 released!

2009-10-30 Thread Daniel Morgan
Antonello ,
I downloaded the source and the windows binaries.

Where is the installations directions?  An install.txt or readme.txt file?

Do you have any examples?
Example SQL scripts to create a database with sample tables, views, etc...?
Example C# client application that connects to the datasbase and retrieves and 
displays the data?  Just a simple example.

How do you create a new database and/or create a new user or change the 
password of a user?   Have this in a readme, install, or a manual text file.  

How do you install the db server?  

How do you start the db server? or shut it down?

A command-line console program for administrating and executing SQL commands on 
the database would be nice.

I would also suggest upgrading to .net 2005 or .net 2008.
Both Mono and Microsoft are moving away from .net 1.1.

I would also support ADO.NET 2.0, such as, the provider factory.

I would like to try it out, but I don't even know where to start.

Some example SQL statements would be good too:
create a table, insert some data into table, select some data, update some 
data, delete some data.  

Basically, can you provide some "basics", such as, examples and some 
installation directions to get started?

Thanks,
Daniel

--- On Thu, 10/22/09, Antonello Provenzano  wrote:

> From: Antonello Provenzano 
> Subject: [Mono-list] [ANN] DeveelDB 0.9.6 released!
> To: mono-list@lists.ximian.com, monodevelop-l...@lists.ximian.com, 
> devee...@googlegroups.com
> Date: Thursday, October 22, 2009, 8:51 AM
> Hi All!
> 
> I'm glad to announce the first official release of
> DeveelDB, the
> .NET/Mono embedded relational database management system.
> This is the
> first fully working and functional version of the project:
> you can
> download a copy at the following addresses
> 
> Linux:
> http://deveeldb.googlecode.com/files/deveeldb-0.9.6-bin-linux.tar.gz
> Windows:      
> http://deveeldb.googlecode.com/files/deveeldb-0.9.6-bin-win32.zip
> 
> If you wish to start contributing to the project, please
> feel free to
> refer to the website http://db.deveel.com, where you will find
> all the
> information concerning the project.
> 
> I wish you will enjoy using DeveelDB, as much as I enjoyed
> doing it!
> 
> 
> Cheers!
> Antonello
> ___
> 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


Re: [Mono-list] mono oracle support and Nhibernate

2009-10-22 Thread Daniel Morgan
Go for it.

No one is working on GetSchema right now.

Sent from my iPhone

On Oct 22, 2009, at 10:53 PM, srf  wrote:


Well its a start  but nhibernate calls it also for Indexes and Keys since it
needs that information also. How can I find out if anyone is working on that
or not. If not I can add those , I just dont want to do it if someone else
is already working on it.

thanks

scott

Daniel Morgan-3 wrote:

There is GetSchema support for tables, table columns, views.  

Indexes, keys, procedures, and procedure arguments are a TODO.

This is in svn and will be in Mono 2.6 whenever it is released.

Sent from my iPhone

On Oct 22, 2009, at 4:07 PM, srf  wrote:


I was wondering if anyone is currently working on completing a lot of the
methods not implemented in the oracle client project. The main one I was
looking for was the OracleConnection.GetSchema methods . Without this
method
Nhibernate wont work with oracle properly under mono. If not, then I was
going to try and dive into it and support for that method and see what
other
problems I run into using oracle with mono. Is there very many people
using
oracle with mono too?

thanks

scott
-- 
View this message in context:
http://www.nabble.com/mono-oracle-support-and-Nhibernate-tp26016360p26016360.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 maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list



-- 
View this message in context: 
http://www.nabble.com/mono-oracle-support-and-Nhibernate-tp26016360p26020201.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 maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mono oracle support and Nhibernate

2009-10-22 Thread Daniel Morgan
There is GetSchema support for tables, table columns, views.  

Indexes, keys, procedures, and procedure arguments are a TODO.

This is in svn and will be in Mono 2.6 whenever it is released.

Sent from my iPhone

On Oct 22, 2009, at 4:07 PM, srf  wrote:


I was wondering if anyone is currently working on completing a lot of the
methods not implemented in the oracle client project. The main one I was
looking for was the OracleConnection.GetSchema methods . Without this method
Nhibernate wont work with oracle properly under mono. If not, then I was
going to try and dive into it and support for that method and see what other
problems I run into using oracle with mono. Is there very many people using
oracle with mono too?

thanks

scott
-- 
View this message in context: 
http://www.nabble.com/mono-oracle-support-and-Nhibernate-tp26016360p26016360.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 maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono and Oracle OCI character set encoding

2009-09-09 Thread Daniel Morgan
When you use OCIUnicodeToCharSet, you are suppose to call it twice.  

1. To get the size of the buffer.  See null being passed in.
2. To fill the buffer using the size you got from 1.

485  // Get size of buffer
486 status = OciCalls.OCIUnicodeToCharSet (statement.Parent, null, svalue, 
out rsize);
487 // Fill buffer
488 status = OciCalls.OCIUnicodeToCharSet (statement.Parent, bytes, svalue, 
out rsize);


--- On Wed, 9/9/09, James Dalton  wrote:

> From: James Dalton 
> Subject: [Mono-list]  Mono and Oracle OCI character set encoding
> To: mono-list@lists.ximian.com
> Date: Wednesday, September 9, 2009, 1:18 PM
> 
> We are looking into moving from Microsoft.Net to Mono
> (probably on openSUSE),
> one of the stumbling blocks has been working with Oracle.
> For Windows we use
> the ODP.Net provider, we looked into using
> System.Data.OracleClient, but
> neither version supports as much as ODP.Net, so we are
> rolling our own Mono
> to OCI code. I've gotten some things working, but I'm
> stumped trying to get
> string bind variables to work correctly. I have no problem
> with ref cursors
> and getting strings from ref cursors, just sending strings
> as a parameter in
> a stored procedure. 
> 
> I'm pretty sure my problem is with character set encoding,
> what C# sees and
> and PL/SQL sees don't match (the PL/SQL text is
> garbage.)  I've tried
> different means of marshalling the strings and nothing is
> working what I
> have right now is (which should work according to the OCI
> docs):
> 
> internal static extern int OCIBindByName(IntPtr stmtp,
>          
>            
>         out IntPtr bindpp,
>            
>            
>     IntPtr errhp,
>            
>            
>     string placeholder,
>            
>            
>     int placeh_len,
>            
>            
>     ref IntPtr valuep,
>            
>            
>     int value_sz,
>            
>            
>     [MarshalAs (UnmanagedType.U2)]
> OciDataType dty,
>            
>            
>     ref short indp,
>            
>            
>     IntPtr alenp,
>            
>            
>     IntPtr rcodep,
>            
>            
>     uint maxarr_len,
>            
>            
>     IntPtr curelp,
>            
>            
>     uint mode);
> 
> and
> 
>    parameterDef.DataType =
> OciDataType.String;
>    parameterDef.ValueSource = parameter;
> 
>    size =
> Encoding.UTF8.GetMaxByteCount(size) + 1;
>    parameterDef.BindSource =
> OciCalls.AllocateClear(size);
>    if (paramDirection !=
> ParameterDirection.Out)
>    {
>       parameter += "\0";
>       int status =
> OciCalls.OCIUnicodeToCharSet(OciSession.OciEnvironmentHandle,
> parameterDef.BindSource, size, parameter, parameter.Length,
> IntPtr.Zero);
>     }
>    parameterDef.Indicator = new short[1];
>   if (string.IsNullOrEmpty(parameter) ||
> paramDirection ==
> ParameterDirection.Out)
>       parameterDef.Indicator[0] = -1;
>    else
>       parameterDef.Indicator[0] = 0;
>    OciCalls.OCIBindByName(OciStatementHandle,
> out
> parameterDef.OciBindHandle, 
>   
>                
>     
>    OciSession.OciErrorHandle, ":" +
> parameterName, parameterName.Length + 1, 
>    ref parameterDef.BindSource, size,
> parameterDef.DataType, ref
> parameterDef.Indicator[0], 
>    IntPtr.Zero, IntPtr.Zero, 0, IntPtr.Zero,
> 0);
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Mono-and-Oracle-OCI-character-set-encoding-tp25368213p25368213.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 maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono and Oracle OCI character set encoding

2009-09-09 Thread Daniel Morgan
I was considering forking System.Data.OracleClient myself to get missing 
features that are found in ODP.NET, but I haven't.  

Are you keeping this fork in some public source code repository?  This would 
allow others to contribute patches.

--- On Wed, 9/9/09, James Dalton  wrote:

> From: James Dalton 
> Subject: [Mono-list]  Mono and Oracle OCI character set encoding
> To: mono-list@lists.ximian.com
> Date: Wednesday, September 9, 2009, 1:18 PM
> 
> We are looking into moving from Microsoft.Net to Mono
> (probably on openSUSE),
> one of the stumbling blocks has been working with Oracle.
> For Windows we use
> the ODP.Net provider, we looked into using
> System.Data.OracleClient, but
> neither version supports as much as ODP.Net, so we are
> rolling our own Mono
> to OCI code. I've gotten some things working, but I'm
> stumped trying to get
> string bind variables to work correctly. I have no problem
> with ref cursors
> and getting strings from ref cursors, just sending strings
> as a parameter in
> a stored procedure. 
> 
> I'm pretty sure my problem is with character set encoding,
> what C# sees and
> and PL/SQL sees don't match (the PL/SQL text is
> garbage.)  I've tried
> different means of marshalling the strings and nothing is
> working what I
> have right now is (which should work according to the OCI
> docs):
> 
> internal static extern int OCIBindByName(IntPtr stmtp,
>          
>            
>         out IntPtr bindpp,
>            
>            
>     IntPtr errhp,
>            
>            
>     string placeholder,
>            
>            
>     int placeh_len,
>            
>            
>     ref IntPtr valuep,
>            
>            
>     int value_sz,
>            
>            
>     [MarshalAs (UnmanagedType.U2)]
> OciDataType dty,
>            
>            
>     ref short indp,
>            
>            
>     IntPtr alenp,
>            
>            
>     IntPtr rcodep,
>            
>            
>     uint maxarr_len,
>            
>            
>     IntPtr curelp,
>            
>            
>     uint mode);
> 
> and
> 
>    parameterDef.DataType =
> OciDataType.String;
>    parameterDef.ValueSource = parameter;
> 
>    size =
> Encoding.UTF8.GetMaxByteCount(size) + 1;
>    parameterDef.BindSource =
> OciCalls.AllocateClear(size);
>    if (paramDirection !=
> ParameterDirection.Out)
>    {
>       parameter += "\0";
>       int status =
> OciCalls.OCIUnicodeToCharSet(OciSession.OciEnvironmentHandle,
> parameterDef.BindSource, size, parameter, parameter.Length,
> IntPtr.Zero);
>     }
>    parameterDef.Indicator = new short[1];
>   if (string.IsNullOrEmpty(parameter) ||
> paramDirection ==
> ParameterDirection.Out)
>       parameterDef.Indicator[0] = -1;
>    else
>       parameterDef.Indicator[0] = 0;
>    OciCalls.OCIBindByName(OciStatementHandle,
> out
> parameterDef.OciBindHandle, 
>   
>                
>     
>    OciSession.OciErrorHandle, ":" +
> parameterName, parameterName.Length + 1, 
>    ref parameterDef.BindSource, size,
> parameterDef.DataType, ref
> parameterDef.Indicator[0], 
>    IntPtr.Zero, IntPtr.Zero, 0, IntPtr.Zero,
> 0);
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Mono-and-Oracle-OCI-character-set-encoding-tp25368213p25368213.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 maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] does mono support int32

2009-09-08 Thread Daniel Morgan
Functions in vb.net require parentheses.  Also, the conversion will fail if 
there was an overflow.  You did not specify the exact error message.

--- On Tue, 9/8/09, Adam Tauno Williams  wrote:

> From: Adam Tauno Williams 
> Subject: Re: [Mono-list] does mono support int32
> To: "mono-list" 
> Date: Tuesday, September 8, 2009, 7:04 AM
> > My project is using int32 like
> > dim loginBranchNo As Int32
> > or
> > iLoginBranchNo = Convert.ToInt32
> > I am getting some error , please contact to system
> administrator. Priviosly
> > I have removed some windows specific function from my
> project.
> > so I want to know is there any problem with Int32 in
> mono.
> 
> I doubt it;  I use "int" and "Convert.ToInt32" in my
> app
> 
> without any issues.  I don't know
> VB at all, but "iLoginBranchNo = Convert.ToInt32" seems
> rather odd.
> Shouldn't it be something like -
> iLoginBranchNo = 15; or iLoginBranchNo =
> Convert.ToInt32("15");
> 
> ___
> 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


Re: [Mono-list] Monotouch Package

2009-08-14 Thread Daniel Morgan
You have to signup for the MonoTouch Beta here.

http://spreadsheets.google.com/viewform?hl=en&formkey=dHRXeFI5b1NjUWdRRkpiSmxkanh6T1E6MA..

--- On Fri, 8/14/09, kumar sethuraman  wrote:

> From: kumar sethuraman 
> Subject: [Mono-list] Monotouch Package
> To: mono-list@lists.ximian.com
> Date: Friday, August 14, 2009, 2:45 AM
> Hi,
> I am unable to
> download the monotouch installer from 
> http://www.go-mono.com/monotouch-download/monotouch-0.9-20090810-0.pkg. 
> Please guide me how to get the
> login credetials to download 
> monotouch-0.9-20090810-0.pkg
>  
> Thank you
> Kumar
> 
> -Inline Attachment Follows-
> 
> ___
> 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] Fw: Re: GetUpdateCommand/ExecuteNonQuery adapter.Update

2008-12-09 Thread Daniel Morgan



--- On Tue, 12/9/08, Daniel Morgan <[EMAIL PROTECTED]> wrote:

> From: Daniel Morgan <[EMAIL PROTECTED]>
> Subject: Re: [Mono-list]  GetUpdateCommand/ExecuteNonQuery adapter.Update
> To: "Wolfgang Mauer" <[EMAIL PROTECTED]>
> Date: Tuesday, December 9, 2008, 9:35 AM
> If you are using gmcs and the .net 2.0 profile or higher,
> you should be using the built-in provider factories in
> System.Data.  
> 
> You would only use the provider factory stuff from
> Mono.Data if you are using mcs and the .net  1.1 profile. 
> Mono.Data.ProviderFactory is deprecated and should only be
> used with .net 1.1 software.
> 
> DbcommandBuilder does not exist in the .net 1.1 profile. 
> DbCommandBuilder is a data type found in the .net 2.0
> profile; therefore, you should be using the gmcs to compile
> and DbProviderFactory found in System.Data.  
> 
> http://msdn.microsoft.com/en-us/library/dd0w4a2z.aspx
> 
> 
> 
> 
> --- On Tue, 12/9/08, Wolfgang Mauer
> <[EMAIL PROTECTED]> wrote:
> 
> > From: Wolfgang Mauer <[EMAIL PROTECTED]>
> > Subject: [Mono-list]  GetUpdateCommand/ExecuteNonQuery
> adapter.Update
> > To: mono-list@lists.ximian.com
> > Date: Tuesday, December 9, 2008, 7:18 AM
> > Hi all,
> > can someone can tell me what is the "right"
> way
> > to sync a dataset with the 
> > database.
> > I have try'd some diffrent ways with MySql and
> Npgsql
> > but in all ways Update 
> > was not possible.
> > the filling of a dataset was no problem.
> > i use the ProviderFactory from Mono.Data
> > 
> > Just do a adapter.Update has no effect
> > 
> > with 
> > CommandBuilder and GetUpdateCommand/ExecuteNonQuery
> > 
> > Provider provider =
> > ProviderFactory.Providers["Mysql.Data"];
> > DbCommandBuilder builder = 
> >
> (DbCommandBuilder)provider.CreateCommandBuilder(this.adapter);
> > DbCommand updateCommand = builder.GetUpdateCommand();
> > exception => "Cannot 
> > cast from source to destination type" ???
> > 
> > the selectcommand of the adapter is valid an a
> adapte.fill
> > work right.
> > 
> > any Help
> > 
> > -- 
> > Top-Soft
> > Softwareentwicklung
> > Inhaber: Wolfgang Mauer
> > Reitesweg 9, 96103 Hallstadt
> > Tel.: +49 (0)951 / 2221520
> > Fax: +49 (0)951 / 2221521
> > ___
> > 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


Re: [Mono-list] Solved:- Oracle Client Connection: Connection parameter not supported

2008-10-21 Thread Daniel Morgan
The documentation on the wiki was updated based on a commit (check-in) to 
mono's subversion repository.  However, this commit was done after the branch 
for mono-2.0 was done. 

I will try to back-port this and other fixes for oracle to the mono 2.0 branch.


--- On Tue, 10/21/08, Gary Hodgson <[EMAIL PROTECTED]> wrote:

> From: Gary Hodgson <[EMAIL PROTECTED]>
> Subject: [Mono-list] Solved:- Oracle Client Connection: Connection parameter 
> not supported
> To: mono-list@lists.ximian.com
> Date: Tuesday, October 21, 2008, 8:17 AM
> I post the following on the off-chance it saves some time
> for anyone who may
> be having the same problem.
> 
> I was connecting to an Oracle (10g) database using the
> instructions here:
> http://mono-project.com/Oracle, and everything was going
> swimmingly until I
> had to use a connection string as per the instructions at
> "Connection String
> Format using TNS network description which does not use a
> tnsnames.ora
> file".  I.e. using a connection string that looked
> like this:
> 
> string connectionString = "User
> ID=user;Password=password;Data
> Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=host)(PORT=1521))(CONNECT_DATA
> = (SID = database)(SRVR=DEDICATED)))";
>  
> 
> Under MS.NET this would work ok, but under Mono it would
> throw the
> following:
> 
> Unhandled Exception: System.ArgumentException: Connection
> parameter not
> supported: 'database)(SRVR'
>   at
> System.Data.OracleClient.OracleConnection.SetProperties
> (System.Collections.Specialized.NameValueCollection
> parameters) [0x0]
>   at
> System.Data.OracleClient.OracleConnection.SetConnectionString
> (System.String connectionString, Boolean persistSecurity)
> [0x0]
>   at System.Data.OracleClient.OracleConnection..ctor
> (System.String
> connectionString) [0x0]
>   at (wrapper remoting-invoke-with-check)
> System.Data.OracleClient.OracleConnection:.ctor (string)
> 
> 
>   
> With hindsight it's annoyingly obvious that by wrapping
> the data source in
> quotes solves the problem, i.e. 
> 
> string connectionString = "User
> ID=user;Password=password;Data Source=  \' 
> (DESCRIPTION=
> (ADDRESS=(PROTOCOL=TCP)(HOST=host)(PORT=1521))(CONNECT_DATA
> =
> (SID = database)(SRVR=DEDICATED)))  \'   ";
>   
> 
> -- 
> View this message in context:
> http://www.nabble.com/Solved%3A--Oracle-Client-Connection%3A-Connection-parameter-not-supported-tp20087966p20087966.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 maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] [Mono-dev] Idea for use MonoCharge under Windows

2008-09-10 Thread Daniel Morgan
This will not work if the runtime changes - more specifically, one of the 
internal calls changes.  If so, then the mono runtime will need to be re-built.

If you're going to build the latest, you might as well learn Subversion and 
Cygwin.


--- On Wed, 9/10/08, Petit Eric <[EMAIL PROTECTED]> wrote:

> From: Petit Eric <[EMAIL PROTECTED]>
> Subject: [Mono-dev] Idea for use MonoCharge under Windows
> To: "Mono mailing list" , "mono-devel" <[EMAIL 
> PROTECTED]>
> Date: Wednesday, September 10, 2008, 12:09 PM
> Hi
> Here it is a simple idea to convert "recharge.sh"
> in batch for windows.
> Like this MonopWin32 can be updated with mono charge from
> dailly build :
> (of course my absolute path need to be adjusted)
> @echo off
> echo Mono version 1.9.1 Build 2
> echo Prepending
> 'C:\PROGRA~1\MONO-1~1.1\bin' to PATH
> PATH=C:\PROGRA~1\MONO-1~1.1\bin;%PATH%
> 
> FOR %%F IN (*.dll) DO (
> mono
> D:\temp\SharpDevelop\monocharge-20080910\monocharge-20080910\2.0\gacutil.exe
> -i %%F
> )
> pause



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


[Mono-list] Approving Patches for Mono 2.0 Branch

2008-09-04 Thread Daniel Morgan
Mono's wiki has a good explanation.  Basically, it is our source code 
management.  When I say trunk, I mean the latest.  Then Mono project has an 
anonymous subversion server which allows anyway to check out code.

http://www.mono-project.com/SVN

I suppose I should backport my fixes to the Mono 2.0 branch. I don't know how 
to do that.  Nor do I know who to ask for approval for my patches.


--- On Thu, 9/4/08, sumesh0710 <[EMAIL PROTECTED]> wrote:

> From: sumesh0710 <[EMAIL PROTECTED]>
> Subject: Re: [Mono-list] re f cursor issue in oracle stored procedure invoked 
> from mono
> To: mono-list@lists.ximian.com
> Date: Thursday, September 4, 2008, 3:15 PM
> Really!!..but how do i make work this stuff in my machine?
> What is svn?.I am
> a newbie.
> 
> 
> Daniel Morgan-3 wrote:
> > 
> > Ok.  I fixed your bug.  I just committed it to svn
> trunk.  It was revision
> > 112250.
> > 
> > The bug was with an output parameter that is a ref
> cursor from a stored
> > procedure when calling ExecuteReader.  ExecuteReader
> is used by
> > DbDataAdapter to fill a DataSet.  
> > 
> > --- On Wed, 9/3/08, sumesh0710
> <[EMAIL PROTECTED]> wrote:
> > 
> >> From: sumesh0710 <[EMAIL PROTECTED]>
> >> Subject: Re: [Mono-list] re f cursor issue in
> oracle stored procedure
> >> invoked from mono
> >> To: mono-list@lists.ximian.com
> >> Date: Wednesday, September 3, 2008, 5:37 AM
> >> Thanks for the reply. I tried using execute
> reader, but the
> >> outputparameter
> >> value was null. In my case I used 
> >> 
> >> cmdSp = New OracleCommand("test", con)
> >> cmdSp.CommandType = CommandType.StoredProcedure 
> >> I will try as ur code. Is your mono version is
> latest? I
> >> saw in release
> >> notes of mono 1.9.1, that there is ref cursor
> support,
> >> which means no cursor
> >> support in previous versions?
> >> 
> >> 
> >> Daniel Morgan-3 wrote:
> >> > 
> >> > DbDataAdapter uses ExecuteReader and the
> returned
> >> reader to populate the
> >> > data table.  If you try your example with
> >> ExecuteReader and then try to
> >> > get the data reader from the parameter, it
> will fail
> >> because you will have
> >> > DBNull.Value.  At least this is what you get
> on .net
> >> 2.0.
> >> > 
> >> > My advice is to use ExecuteNonQuery(), then
> get the
> >> data reader from the
> >> > parameter.  Then manually load a data table. 
> 
> >> > 
> >> > Here is an example that works for me on .net
> 2.0 and
> >> mono:
> >> > 
> >> > // test.cs
> >> > // gmcs test.cs /r:System.Data.dll
> >> /r:System.Data.OracleClient.dll
> >> > using System;
> >> > using System.Data;
> >> > using System.Data.Common;
> >> > using System.Data.OracleClient;
> >> > 
> >> > public class test
> >> > {
> >> > public static void Main(string[] args)
> >> > {
> >> >
> Console.WriteLine("Start.");
> >> > OracleConnection con = new
> >> OracleConnection("Data
> >> > source=testdb;user
> >> id=someuser;password=somepass");
> >> > con.Open();
> >> > OracleCommand cmdSp =
> con.CreateCommand();
> >> > cmdSp.CommandText = "BEGIN\n
> >> SP_TEST_REF_CURSOR(:crsdata);
> >> > \nEND;\n";
> >> > DataSet ds = new DataSet();
> >> > OracleParameter oprCursor = new
> >> OracleParameter("crsdata",
> >> > OracleType.Cursor);
> >> > oprCursor.Direction =
> >> ParameterDirection.Output;
> >> > cmdSp.Parameters.Add(oprCursor);
> >> > 
> >> >  cmdSp.ExecuteNonQuery();
> >> > 
> >> >  OracleDataReader reader =
> >> (OracleDataReader)oprCursor.Value;
> >> > 
> >> >  Console.WriteLine("Build DataSet from
> reader
> >> that holds a REF CURSOR");
> >> > 
> >> >  DataTable schema = reader.GetSchemaTable();
> >> > DataTable newTable = new DataTable();
> >> > if (reader.FieldCount > 0)
> >> > {
> >> > foreach (DataRow row in
> schema.Rows)
> >> > {
>

Re: [Mono-list] re f cursor issue in oracle stored procedure invoked from mono

2008-09-04 Thread Daniel Morgan
Ok.  I fixed your bug.  I just committed it to svn trunk.  It was revision 
112250.

The bug was with an output parameter that is a ref cursor from a stored 
procedure when calling ExecuteReader.  ExecuteReader is used by DbDataAdapter 
to fill a DataSet.  

--- On Wed, 9/3/08, sumesh0710 <[EMAIL PROTECTED]> wrote:

> From: sumesh0710 <[EMAIL PROTECTED]>
> Subject: Re: [Mono-list] re f cursor issue in oracle stored procedure invoked 
> from mono
> To: mono-list@lists.ximian.com
> Date: Wednesday, September 3, 2008, 5:37 AM
> Thanks for the reply. I tried using execute reader, but the
> outputparameter
> value was null. In my case I used 
> 
> cmdSp = New OracleCommand("test", con)
> cmdSp.CommandType = CommandType.StoredProcedure 
> I will try as ur code. Is your mono version is latest? I
> saw in release
> notes of mono 1.9.1, that there is ref cursor support,
> which means no cursor
> support in previous versions?
> 
> 
> Daniel Morgan-3 wrote:
> > 
> > DbDataAdapter uses ExecuteReader and the returned
> reader to populate the
> > data table.  If you try your example with
> ExecuteReader and then try to
> > get the data reader from the parameter, it will fail
> because you will have
> > DBNull.Value.  At least this is what you get on .net
> 2.0.
> > 
> > My advice is to use ExecuteNonQuery(), then get the
> data reader from the
> > parameter.  Then manually load a data table.  
> > 
> > Here is an example that works for me on .net 2.0 and
> mono:
> > 
> > // test.cs
> > // gmcs test.cs /r:System.Data.dll
> /r:System.Data.OracleClient.dll
> > using System;
> > using System.Data;
> > using System.Data.Common;
> > using System.Data.OracleClient;
> > 
> > public class test
> > {
> > public static void Main(string[] args)
> > {
> > Console.WriteLine("Start.");
> > OracleConnection con = new
> OracleConnection("Data
> > source=testdb;user
> id=someuser;password=somepass");
> > con.Open();
> > OracleCommand cmdSp = con.CreateCommand();
> > cmdSp.CommandText = "BEGIN\n
> SP_TEST_REF_CURSOR(:crsdata);
> > \nEND;\n";
> > DataSet ds = new DataSet();
> > OracleParameter oprCursor = new
> OracleParameter("crsdata",
> > OracleType.Cursor);
> > oprCursor.Direction =
> ParameterDirection.Output;
> > cmdSp.Parameters.Add(oprCursor);
> > 
> > cmdSp.ExecuteNonQuery();
> > 
> > OracleDataReader reader =
> (OracleDataReader)oprCursor.Value;
> > 
> > Console.WriteLine("Build DataSet from reader
> that holds a REF CURSOR");
> > 
> > DataTable schema = reader.GetSchemaTable();
> > DataTable newTable = new DataTable();
> > if (reader.FieldCount > 0)
> > {
> > foreach (DataRow row in schema.Rows)
> > {
> > string columnName =
> row["ColumnName"].ToString();
> > Type columnType =
> (Type)row["DataType"];
> > newTable.Columns.Add(columnName,
> columnType);
> > }
> > while (reader.Read())
> > {
> > object[] values = new
> object[newTable.Columns.Count];
> > reader.GetValues(values);
> > newTable.Rows.Add(values);
> > }
> > }
> > 
> > reader.Close();
> > 
> > Console.WriteLine("Add DataTable to
> DataSet");
> > ds.Tables.Add(newTable);
> > 
> > Console.WriteLine("Show Result");
> > Console.WriteLine("Columns in
> DataTable");
> > foreach (DataColumn column in
> ds.Tables[0].Columns)
> > {
> > Console.WriteLine("  ColumnName:
> " + column.ColumnName);
> > Console.WriteLine("  DataType:
> " +
> > column.DataType.ToString());
> > }
> > Console.WriteLine("Rows in
> DataTable");
> > foreach (DataRow row in ds.Tables[0].Rows)
> > {
> > for (int c = 0; c <
> ds.Tables[0].Columns.Count; c++)
> > {
> > Console.WriteLine("Column "
> + c.ToString());
> > if (row[c].Equals(DBNull.Value))
> > Console.WriteLine(" Value
> is DBNull.Value");
> >   

Re: [Mono-list] re f cursor issue in oracle stored procedure invoked from mono

2008-09-02 Thread Daniel Morgan
DbDataAdapter uses ExecuteReader and the returned reader to populate the data 
table.  If you try your example with ExecuteReader and then try to get the data 
reader from the parameter, it will fail because you will have DBNull.Value.  At 
least this is what you get on .net 2.0.

My advice is to use ExecuteNonQuery(), then get the data reader from the 
parameter.  Then manually load a data table.  

Here is an example that works for me on .net 2.0 and mono:

// test.cs
// gmcs test.cs /r:System.Data.dll /r:System.Data.OracleClient.dll
using System;
using System.Data;
using System.Data.Common;
using System.Data.OracleClient;

public class test
{
public static void Main(string[] args)
{
Console.WriteLine("Start.");
OracleConnection con = new OracleConnection("Data source=testdb;user 
id=someuser;password=somepass");
con.Open();
OracleCommand cmdSp = con.CreateCommand();
cmdSp.CommandText = "BEGIN\n SP_TEST_REF_CURSOR(:crsdata); \nEND;\n";
DataSet ds = new DataSet();
OracleParameter oprCursor = new OracleParameter("crsdata", 
OracleType.Cursor);
oprCursor.Direction = ParameterDirection.Output;
cmdSp.Parameters.Add(oprCursor);

cmdSp.ExecuteNonQuery();

OracleDataReader reader = (OracleDataReader)oprCursor.Value;

Console.WriteLine("Build DataSet from reader that holds a REF CURSOR"); 
   

DataTable schema = reader.GetSchemaTable();
DataTable newTable = new DataTable();
if (reader.FieldCount > 0)
{
foreach (DataRow row in schema.Rows)
{
string columnName = row["ColumnName"].ToString();
Type columnType = (Type)row["DataType"];
newTable.Columns.Add(columnName, columnType);
}
while (reader.Read())
{
object[] values = new object[newTable.Columns.Count];
reader.GetValues(values);
newTable.Rows.Add(values);
}
}

reader.Close();

Console.WriteLine("Add DataTable to DataSet");
ds.Tables.Add(newTable);

Console.WriteLine("Show Result");
Console.WriteLine("Columns in DataTable");
foreach (DataColumn column in ds.Tables[0].Columns)
{
Console.WriteLine("  ColumnName: " + column.ColumnName);
Console.WriteLine("  DataType: " + column.DataType.ToString());
}
Console.WriteLine("Rows in DataTable");
foreach (DataRow row in ds.Tables[0].Rows)
{
for (int c = 0; c < ds.Tables[0].Columns.Count; c++)
{
Console.WriteLine("Column " + c.ToString());
if (row[c].Equals(DBNull.Value))
Console.WriteLine(" Value is DBNull.Value");
else
{
Console.WriteLine(" Value: " + row[c].ToString());
Console.WriteLine(" Value Type: " + 
row[c].GetType().ToString());
}
}
}

con.Close();
con = null;
Console.WriteLine("Success!");
}
}






--- On Tue, 9/2/08, sumesh0710 <[EMAIL PROTECTED]> wrote:

> From: sumesh0710 <[EMAIL PROTECTED]>
> Subject: [Mono-list] re f cursor issue in oracle stored procedure invoked 
> from mono
> To: mono-list@lists.ximian.com
> Date: Tuesday, September 2, 2008, 10:27 AM
> Hi,
> OS - Linux Version 2.6.9-42.0.0.0.1( Red hat version
> 3.4.6-3.1)
> Oracle - 9.2.0
> mono - 1.2.4
> 
> I have a simple procedure which has a ref cursor as
> parameter as follows.
> 
> CREATE OR REPLACE PROCEDURE
> "DARSTRAN"."TEST" (crsdata out
> sys_refcursor)
> as
> 
> BEGIN
> open crsdata for select sysdate from dual;
> END;
> 
> If i execute this from proc from sql plus. It works fine.
> Also in windows
> OS, if i call from an application developed in vb.net it
> will work. But same
> code executed in mono in Linux OS shows below error while
> filling into
> dataset.
> ora- 01403: no data found.
> 
> Code used is
> 
> cmdSp = New OracleCommand("test", con)
> cmdSp.CommandType = CommandType.StoredProcedure
> ds = New DataSet
> oprCursor = New OracleParameter("crsdata",
> OracleType.Cursor)
> oprCursor.Direction = ParameterDirection.Output
> cmdSp.Parameters.Add(oprCursor)
> dasp = New OracleDataAdapter(cmdSp)
> dasp.Fill(ds)
> 
> If i execute above SP from linux sql plus, also it works
> ok.
> 
> Is there any workaround to solve this problem?
> -- 
> View this message in context:
> http://www.nabble.com/ref-cursor-issue-in-oracle-stored-procedure-invoked-from-mono-tp19271280p19271280.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 maillist  

Re: [Mono-list] re f cursor issue in oracle stored procedure invoked from mono

2008-09-02 Thread Daniel Morgan
Here is a more complete test case in C#.  I changed the stored procedure name 
to SP_TEST_REF_CURSOR.

// test.cs
// mcs test.cs /r:System.Data.dll /r:System.Data.OracleClient.dll
using System;
using System.Data;
using System.Data.Common;
using System.Data.OracleClient;

public class test 
{
public static void Main(string[] args) 
{
Console.WriteLine("Start.");
OracleConnection con = new OracleConnection("Data 
source=testdb;user id=someuser;password=somepass");
con.Open();
OracleCommand cmdSp = con.CreateCommand();
//cmdSp.CommandType = CommandType.StoredProcedure;
//cmdSp.CommandText = "SP_TEST_REF_CURSOR";
cmdSp.CommandText = "BEGIN\n SP_TEST_REF_CURSOR(:crsdata); 
\nEND;\n";
DataSet ds = new DataSet();
OracleParameter oprCursor = new OracleParameter("crsdata", 
OracleType.Cursor);
oprCursor.Direction = ParameterDirection.Output;
cmdSp.Parameters.Add(oprCursor);

OracleDataAdapter dasp = new OracleDataAdapter(cmdSp);
try 
{
dasp.Fill(ds);
Console.WriteLine("Success!");
}
catch (Exception e) 
{
Console.Error.WriteLine("Error: " + e.Message);
Console.Error.WriteLine(e);
}

con.Close();
    con = null;
}
}




--- On Tue, 9/2/08, Daniel Morgan <[EMAIL PROTECTED]> wrote:

> From: Daniel Morgan <[EMAIL PROTECTED]>
> Subject: Re: [Mono-list] re f cursor issue in oracle stored procedure invoked 
> from mono
> To: mono-list@lists.ximian.com, "sumesh0710" <[EMAIL PROTECTED]>
> Date: Tuesday, September 2, 2008, 1:11 PM
> Have you tried building mono from svn?
> 
> Also, can you file a bug in bugzilla please?
> 
> 
> --- On Tue, 9/2/08, sumesh0710 <[EMAIL PROTECTED]>
> wrote:
> 
> > From: sumesh0710 <[EMAIL PROTECTED]>
> > Subject: [Mono-list] re f cursor issue in oracle
> stored procedure invoked from mono
> > To: mono-list@lists.ximian.com
> > Date: Tuesday, September 2, 2008, 10:27 AM
> > Hi,
> > OS - Linux Version 2.6.9-42.0.0.0.1( Red hat version
> > 3.4.6-3.1)
> > Oracle - 9.2.0
> > mono - 1.2.4
> > 
> > I have a simple procedure which has a ref cursor as
> > parameter as follows.
> > 
> > CREATE OR REPLACE PROCEDURE
> > "DARSTRAN"."TEST" (crsdata out
> > sys_refcursor)
> > as
> > 
> > BEGIN
> > open crsdata for select sysdate from dual;
> > END;
> > 
> > If i execute this from proc from sql plus. It works
> fine.
> > Also in windows
> > OS, if i call from an application developed in vb.net
> it
> > will work. But same
> > code executed in mono in Linux OS shows below error
> while
> > filling into
> > dataset.
> > ora- 01403: no data found.
> > 
> > Code used is
> > 
> > cmdSp = New OracleCommand("test", con)
> > cmdSp.CommandType = CommandType.StoredProcedure
> > ds = New DataSet
> > oprCursor = New OracleParameter("crsdata",
> > OracleType.Cursor)
> > oprCursor.Direction = ParameterDirection.Output
> > cmdSp.Parameters.Add(oprCursor)
> > dasp = New OracleDataAdapter(cmdSp)
> > dasp.Fill(ds)
> > 
> > If i execute above SP from linux sql plus, also it
> works
> > ok.
> > 
> > Is there any workaround to solve this problem?
> > -- 
> > View this message in context:
> >
> http://www.nabble.com/ref-cursor-issue-in-oracle-stored-procedure-invoked-from-mono-tp19271280p19271280.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 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


Re: [Mono-list] re f cursor issue in oracle stored procedure invoked from mono

2008-09-02 Thread Daniel Morgan
Have you tried building mono from svn?

Also, can you file a bug in bugzilla please?


--- On Tue, 9/2/08, sumesh0710 <[EMAIL PROTECTED]> wrote:

> From: sumesh0710 <[EMAIL PROTECTED]>
> Subject: [Mono-list] re f cursor issue in oracle stored procedure invoked 
> from mono
> To: mono-list@lists.ximian.com
> Date: Tuesday, September 2, 2008, 10:27 AM
> Hi,
> OS - Linux Version 2.6.9-42.0.0.0.1( Red hat version
> 3.4.6-3.1)
> Oracle - 9.2.0
> mono - 1.2.4
> 
> I have a simple procedure which has a ref cursor as
> parameter as follows.
> 
> CREATE OR REPLACE PROCEDURE
> "DARSTRAN"."TEST" (crsdata out
> sys_refcursor)
> as
> 
> BEGIN
> open crsdata for select sysdate from dual;
> END;
> 
> If i execute this from proc from sql plus. It works fine.
> Also in windows
> OS, if i call from an application developed in vb.net it
> will work. But same
> code executed in mono in Linux OS shows below error while
> filling into
> dataset.
> ora- 01403: no data found.
> 
> Code used is
> 
> cmdSp = New OracleCommand("test", con)
> cmdSp.CommandType = CommandType.StoredProcedure
> ds = New DataSet
> oprCursor = New OracleParameter("crsdata",
> OracleType.Cursor)
> oprCursor.Direction = ParameterDirection.Output
> cmdSp.Parameters.Add(oprCursor)
> dasp = New OracleDataAdapter(cmdSp)
> dasp.Fill(ds)
> 
> If i execute above SP from linux sql plus, also it works
> ok.
> 
> Is there any workaround to solve this problem?
> -- 
> View this message in context:
> http://www.nabble.com/ref-cursor-issue-in-oracle-stored-procedure-invoked-from-mono-tp19271280p19271280.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 maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Moonlight 0.8 - Where are they Release Notes

2008-08-18 Thread Daniel Morgan
As Eno pointed out, where are the release notes for Moonlight 0.8?

Is Moonlight good enough to watch video from http://www.nbcolympics.com/ on 
Linux now?

--- On Fri, 8/15/08, Rusty Howell <[EMAIL PROTECTED]> wrote:

> From: Rusty Howell <[EMAIL PROTECTED]>
> Subject: [Mono-list] Moonlight 0.8 Released
> To: [EMAIL PROTECTED], "mono-list" , "Ximian Mono 
> List" <[EMAIL PROTECTED]>, "mono-devel" <[EMAIL PROTECTED]>
> Date: Friday, August 15, 2008, 4:09 PM
> Hey folks,
> 
> We just released the next version of Moonlight! 
> 
> You can download the Firfefox plugin from
> http://go-mono.com/moonlight 
> or get the sources from
> http://ftp.novell.com/pub/mono/sources/moon/
> 
> Install it and give it a try! If you come across a bug, let
> us know 
> about it 
> !
> You can also search our current bug 
> 
> 
> list to see if your bug has already been found.
> 
> Rusty Howell
> Moonlight QA
> ___
> 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


Re: [Mono-list] Mono Bugs

2008-06-25 Thread Daniel Morgan
https://bugzilla.novell.com/show_bug.cgi?id=403785

Maybe new bugs or bugs that affect status?


--- On Wed, 6/25/08, Geoff Norton <[EMAIL PROTECTED]> wrote:

> From: Geoff Norton <[EMAIL PROTECTED]>
> Subject: Re: [Mono-list] Mono Bugs
> To: [EMAIL PROTECTED]
> Cc: mono-list@lists.ximian.com
> Date: Wednesday, June 25, 2008, 5:19 PM
> Dan,
> 
>   This is an unfortunate side-effect of some other changes.
>  It
> shouldn't be affecting all bugs either.  Could you give
> me a handful of
> examples as to which bugs its affecting?  Our main bugzilla
> maintainer
> is on vacation this week, so it likely wont be fully
> resolved until
> early next week unfortunately.
> 
> -g
> 
> On Wed, 2008-06-25 at 14:04 -0700, Daniel Morgan wrote:
> > Is there a reason I must login to see a bug for mono?
> > 
> > If yes, this will greatly reduce the number of people
> willing to look at a bug.
> > 
> > 
> >   
> > ___
> > 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] Mono Bugs

2008-06-25 Thread Daniel Morgan
Is there a reason I must login to see a bug for mono?

If yes, this will greatly reduce the number of people willing to look at a bug.


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


Re: [Mono-list] Oracle Providers for ASP.Net under Mono?

2008-05-21 Thread Daniel Morgan
I seriously doubt the oracle providers for asp.net
will work with mono because oracle does not support
its products on mono.  

--- Ferdinand Funke <[EMAIL PROTECTED]> wrote:

> Hello, 
> I am creating an ASP.Net Application using Mono
> (1.9) and an Oracle
> database. To make it easier for me I'd like to use
> the Oracle Providers
> for ASP.Net
>
(http://www.oracle.com/technology/tech/dotnet/aspnet/index.html).
> 
> 
> So my questions are: 
> Has anybody here made any experiences with that? 
> Can it be used under Mono and if it can under which
> circumstances can it be used? 
> 
> Thanks in advance for any help on this. 
> 
> Best regards, 
> 
> Ferdinand
> 
> 
>  
>
__
> Gesendet von Yahoo! Mail.
> Dem pfiffigeren Posteingang.
> http://de.overview.mail.yahoo.com>
___
> 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


Re: [Mono-list] Cross-platform GUI Applications

2008-03-20 Thread Daniel Morgan

I would go with the top first, and then the next...

ASP.NET
GTK#
System.Windows.Forms

I have found GTK# to be good on Windows, Linux, and
Solaris.  I have read it works good on Mac OS X
natively too.  However, if you want to use gtk# on
windows, try to stay away from Gnome-specific stuff.

--- Lee Jenkins <[EMAIL PROTECTED]> wrote:

> 
> Hi all,
> 
> I'm considering moving from a different
> language/platform for development to 
> .net/Mono and I'm unsure as to what path
> GUI/Windowed application will take from 
> now on.  I've done a little development with
> .net/mono over the last couple of 
> years, but not enough to consider myself
> "comfortable" with the platform.
> 
> I want to write GUI applications that are portable
> between Windows (.net) and 
> Linux (mono), but I'm unsure of what the best route
> would be.
> 
> WinForms?  WPF?
> 
> I don't mind developing to the least common
> denominator for GUI controls and 
> such, but I am unsure as to which technology is
> 
> 1) Most portable between .net/Windows and
> Mono/Linux.
> 2) Most enduring for the next few years?
> 3) Actually works ;)
> 
> Are developers successfully deploying substantive
> GUI applications between 
> Windows/linux with Mono?
> 
> Thanks for your help and input.
> 
> -- 
> Warm Regards,
> 
> Lee
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 



  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] How do you manually install the runtime environment of Mono on Windows (Vista)?

2008-03-05 Thread Daniel Morgan
Use the Windows Installer on a test/development
machine.  Install to a path like C:\mono-1.2.6

Do not install in a path like C:\Program
Files\Mono-1.2.6

Zip up the results.  

The problem with a manual install is that the
installer generates scripts based on your installation
path.  The installer also generates the proper
pkg-config pc files found at in your
mono_install_path\lib\pkgconfig

And last, the installer adds a registry key for
novell/mono so 3rd party applications can find the
default mono installation.  The installer may add a
registry key for gtk+ and gtk# as well.

With understanding the above, copy the zip file to
another test machine.  Unzip and try to run on mono on
the 2nd test machine.

This is where virtual machines will come in handy for
you.  You create a virtual machine once.  For each
test, copy the virtual machine file, start the virtual
machine, copy over and unzip mono, test mono.

--- Michael Roach <[EMAIL PROTECTED]>
wrote:

> Hi,
> 
> A project that I'm involved with has a requirement
> to provide a GUI with database connectivity to users
> while running in WinPE 2.0 (the preboot environment
> released with Vista). This can be done today in
> MFC/C++ (hard) but I'd much rather work in C# and
> WinForms (easy).
> 
> Can anyone provide instructions on what is necessary
> to manually install Mono in a Windows environment? I
> only need the runtime environment of Mono and I
> cannot use the installers provided by Novell.
> 
> Thanks!!
> Michael



  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] System.Data.OracleClient on z/Linux - 64-bit - Big-endian

2008-02-14 Thread Daniel Morgan
After some discussion on IRC, this what some helpful
people gave me.  

Marshal an IntPtr since it is the size of a native
pointer.  I believe an IntPtr can be casted to an int
or long and vice-versa.

http://www.mono-project.com/Interop_with_Native_Libraries


--- Daniel Morgan <[EMAIL PROTECTED]> wrote:

> Date: Thu, 14 Feb 2008 17:28:41 -0800 (PST)
> From: Daniel Morgan <[EMAIL PROTECTED]>
> To: Edwin Kim <[EMAIL PROTECTED]>,
> mono-list@lists.ximian.com
> Subject: Re: [Mono-list] System.Data.OracleClient on
> z/Linux
> 
> Go to Mono's web site and go to the download page. 
> Download the source code to mono if you have not
> already.  Unarchive it somewhere.  I assume you know
> how to ungzip and untar a file.
> 
> In the source, go to
>
mono_source/mcs/class/System.Data.OracleClient/System.Data.OracleClient.cs
> 
> And look in file OciStatementHandle.cs at function
> Prepare.  You should see it calling the function
> OCIUnicodeToCharSet.  You need to see what the
> function is actually passing returning via
> Console.Error.WriteLine calls.
> 
> Oracle Call Interface Programmer's Guide
>
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14250/toc.htm
> 
> Documentation for all Oracle products can be found
> here:
> http://tahiti.oracle.com/
> 
> sword OCIUnicodeToCharSet ( dvoid   *hndl, 
> OraText *dst, 
> size_t  dstlen, 
> CONST ub2   *src, 
> size_t  srclen, 
> size_t  *rsize );
> 
> The docs says these are the possible values that can
> be returned: OCI_SUCCESS, OCI_INVALID_HANDLE. or
> OCI_ERROR.  I'm not sure the proper way to marshal a
> size_t that will work on 32-bit and 64-bits systems.
> 
> Perhaps someone reading this can shed some light.
> 
> Also, take a look at OciCalls.cs and see how to
> enable
> tracing.  You may need to re-build
> System.Data.OracleClient to enable tracing.  And I
> think you would also need to set OCI_TRACE to point
> to
> the file to log tracing.
> 
> --- Edwin Kim <[EMAIL PROTECTED]> wrote:
> 
> > Thanks much!!!
> > 
> > I'm new to Mono, OCI, and C#.
> > I guess z/Linux running on the IBM z/800
> (mainframe)
> > is big endian.
> > 
> > I was able to display some information using
> > environment variables:
> > export MONO_LOG_LEVEL=info
> > export MONO_LOG_MASK=dll
> > 
> > Console output:
> > 
> > Mono-INFO: Searching for 'OCISessionBegin'.
> > Mono-INFO: Probing 'OCISessionBegin'.
> > Mono-INFO: Found as 'OCISessionBegin'.
> > Mono-INFO: DllImport attempting to load:
> > 'libclntsh.so'.
> > Mono-INFO: DllImport loading location:
> > 'libclntsh.so'.
> > Mono-INFO: Searching for 'OCIServerVersion'.
> > Mono-INFO: Probing 'OCIServerVersion'.
> > Mono-INFO: Found as 'OCIServerVersion'.
> > Mono-INFO: DllImport attempting to load:
> > 'libclntsh.so'.
> > Mono-INFO: DllImport loading location:
> > 'libclntsh.so'.
> > Mono-INFO: Searching for 'OCICharSetToUnicode'.
> > Mono-INFO: Probing 'OCICharSetToUnicode'.
> > Mono-INFO: Found as 'OCICharSetToUnicode'.
> > ServerVersion: Oracle Database
> > DataSource: wpsdb
> > Mono-INFO: DllImport attempting to load:
> > 'libclntsh.so'.
> > Mono-INFO: DllImport loading location:
> > 'libclntsh.so'.
> > Mono-INFO: Searching for 'OCIUnicodeToCharSet'.
> > Mono-INFO: Probing 'OCIUnicodeToCharSet'.
> > Mono-INFO: Found as 'OCIUnicodeToCharSet'.
> > Unhandled Exception:
> System.NullReferenceException:
> > Object reference not set to an instance of an
> object
> >   at
> >
>
System.Data.OracleClient.Oci.OciStatementHandle.Prepare
> > (System.String commandText) [0x0]
> >   at
> >
>
System.Data.OracleClient.OracleCommand.PrepareStatement
> > (System.Data.OracleClient.Oci.OciStatementHandle
> > statement) [0x0]
> >   at
> >
> System.Data.OracleClient.OracleCommand.ExecuteReader
> > (CommandBehavior behavior) [0x0]
> >   at
> >
> System.Data.OracleClient.OracleCommand.ExecuteReader
> > () [0x0]
> >   at (wrapper remoting-invoke-with-check)
> >
> System.Data.OracleClient.OracleCommand:ExecuteReader
> > ()
> >   at Test.Main (System.String[] args) [0x0]
> > Mono-INFO: DllImport attempting to loa

Re: [Mono-list] System.Data.OracleClient on z/Linux

2008-02-14 Thread Daniel Morgan
Go to Mono's web site and go to the download page. 
Download the source code to mono if you have not
already.  Unarchive it somewhere.  I assume you know
how to ungzip and untar a file.

In the source, go to
mono_source/mcs/class/System.Data.OracleClient/System.Data.OracleClient.cs

And look in file OciStatementHandle.cs at function
Prepare.  You should see it calling the function
OCIUnicodeToCharSet.  You need to see what the
function is actually passing returning via
Console.Error.WriteLine calls.

Oracle Call Interface Programmer's Guide
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14250/toc.htm

Documentation for all Oracle products can be found
here:
http://tahiti.oracle.com/

sword OCIUnicodeToCharSet ( dvoid   *hndl, 
OraText *dst, 
size_t  dstlen, 
CONST ub2   *src, 
size_t  srclen, 
size_t  *rsize );

The docs says these are the possible values that can
be returned: OCI_SUCCESS, OCI_INVALID_HANDLE. or
OCI_ERROR.  I'm not sure the proper way to marshal a
size_t that will work on 32-bit and 64-bits systems. 
Perhaps someone reading this can shed some light.

Also, take a look at OciCalls.cs and see how to enable
tracing.  You may need to re-build
System.Data.OracleClient to enable tracing.  And I
think you would also need to set OCI_TRACE to point to
the file to log tracing.

--- Edwin Kim <[EMAIL PROTECTED]> wrote:

> Thanks much!!!
> 
> I'm new to Mono, OCI, and C#.
> I guess z/Linux running on the IBM z/800 (mainframe)
> is big endian.
> 
> I was able to display some information using
> environment variables:
> export MONO_LOG_LEVEL=info
> export MONO_LOG_MASK=dll
> 
> Console output:
> 
> Mono-INFO: Searching for 'OCISessionBegin'.
> Mono-INFO: Probing 'OCISessionBegin'.
> Mono-INFO: Found as 'OCISessionBegin'.
> Mono-INFO: DllImport attempting to load:
> 'libclntsh.so'.
> Mono-INFO: DllImport loading location:
> 'libclntsh.so'.
> Mono-INFO: Searching for 'OCIServerVersion'.
> Mono-INFO: Probing 'OCIServerVersion'.
> Mono-INFO: Found as 'OCIServerVersion'.
> Mono-INFO: DllImport attempting to load:
> 'libclntsh.so'.
> Mono-INFO: DllImport loading location:
> 'libclntsh.so'.
> Mono-INFO: Searching for 'OCICharSetToUnicode'.
> Mono-INFO: Probing 'OCICharSetToUnicode'.
> Mono-INFO: Found as 'OCICharSetToUnicode'.
> ServerVersion: Oracle Database
> DataSource: wpsdb
> Mono-INFO: DllImport attempting to load:
> 'libclntsh.so'.
> Mono-INFO: DllImport loading location:
> 'libclntsh.so'.
> Mono-INFO: Searching for 'OCIUnicodeToCharSet'.
> Mono-INFO: Probing 'OCIUnicodeToCharSet'.
> Mono-INFO: Found as 'OCIUnicodeToCharSet'.
> Unhandled Exception: System.NullReferenceException:
> Object reference not set to an instance of an object
>   at
>
System.Data.OracleClient.Oci.OciStatementHandle.Prepare
> (System.String commandText) [0x0]
>   at
>
System.Data.OracleClient.OracleCommand.PrepareStatement
> (System.Data.OracleClient.Oci.OciStatementHandle
> statement) [0x0]
>   at
> System.Data.OracleClient.OracleCommand.ExecuteReader
> (CommandBehavior behavior) [0x0]
>   at
> System.Data.OracleClient.OracleCommand.ExecuteReader
> () [0x0]
>   at (wrapper remoting-invoke-with-check)
> System.Data.OracleClient.OracleCommand:ExecuteReader
> ()
>   at Test.Main (System.String[] args) [0x0]
> Mono-INFO: DllImport attempting to load:
> 'libclntsh.so'.
> Mono-INFO: DllImport loading location:
> 'libclntsh.so'.
> Mono-INFO: Searching for 'OCIHandleFree'.
> Mono-INFO: Probing 'OCIHandleFree'.
> Mono-INFO: Found as 'OCIHandleFree'.
> 
> and source code:
> using System;
> using System.Data;
> using System.Data.OracleClient;
> public class Test
> {
>public static void Main (string[] args)
>{
>string connectionString =
>   "Data Source=wpsdb;" +
>   "User ID=test;" +
>   "Password=test;";
>OracleConnection dbcon = null;
>dbcon = new OracleConnection
> (connectionString);
>dbcon.Open ();
>Console.WriteLine("ServerVersion: " +
> dbcon.ServerVersion + "\nDataSource: " +
> dbcon.DataSource);
> 
>OracleCommand dbcmd = dbcon.CreateCommand ();
>string sql = "SELECT * FROM dual";
>dbcmd.CommandText = sql;
>OracleDataReader reader = dbcmd.ExecuteReader

Re: [Mono-list] System.Data.OracleClient on z/Linux

2008-02-11 Thread Daniel Morgan
I don't think the OracleClient provider has been
tested with z/Linux.  The provider has mainly been
tested on 32-bit x86 platforms (little-endian), such
as, Linux, Windows, and Solaris x86.

Some questions:
1. is z/Linux big-endian or little-endian?
2. is z/Linux 32-bit or 64-bit?

Most of the problems you will find with the provider
is with the marshalling code using DllImport into the
OCI library -- especially the marshalling of integer
values.

--- Edwin Kim <[EMAIL PROTECTED]> wrote:

> Hello mono-list,
> 
> I tried to access the Oracle Data Source using
> System.Data.OracleClient from z/linux (s390x),
> and I get this Error-Message:
> 
> 
> Unhandled Exception: System.NullReferenceException:
> Object reference not set to an instance of an object
>   at
>
System.Data.OracleClient.Oci.OciStatementHandle.Prepare
> (System.String commandText) [0x0]
>   at
>
System.Data.OracleClient.OracleCommand.PrepareStatement
> (System.Data.OracleClient.Oci.OciStatementHandle
> statement) [0x0]
>   at
> System.Data.OracleClient.OracleCommand.ExecuteReader
> (CommandBehavior behavior) [0x0]
>   at
> System.Data.OracleClient.OracleCommand.ExecuteReader
> () [0x0]
>   at (wrapper remoting-invoke-with-check)
> System.Data.OracleClient.OracleCommand:ExecuteReader
> ()
>   at Test.Main (System.String[] args) [0x0]
> 
> the code:
>  using System;
>  using System.Data;
>  using System.Data.OracleClient;
> 
>  public class Test
>  {
> public static void Main (string[] args)
> {
>string connectionString =
>   "Data Source=wpsdb;" +
>   "User ID=test;" +
>   "Password=test;";
>OracleConnection dbcon = null;
>dbcon = new OracleConnection
> (connectionString);
>dbcon.Open ();
> 
>OracleCommand dbcmd = dbcon.CreateCommand ();
>string sql = "SELECT * FROM dual";
>dbcmd.CommandText = sql;
>OracleDataReader reader = dbcmd.ExecuteReader
> ();
>// clean up
>reader.Close ();
>reader = null;
>dbcmd.Dispose ();
>dbcmd = null;
>dbcon.Close ();
>dbcon = null;
> }
>  }
> 
> 
> OS:  z/linux (sles10 sp1) with
> mono-data-oracle-1.2.2-12.12 and installed Oracle
> instantclient 10.2
> 
> compiled: mcs test1.cs /r:System.Data.dll
> /r:System.Data.OracleClient.dll
> run:  mono test1.exe
> 
> Did I forget something ?
> or will the System.Data.OracleClient not work with
> on z/Linux environment?
> 
> Best regards,
> Edwin
> 
> > ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 



  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Sept 14th: MonoDevelop Bug Day

2007-09-10 Thread Daniel Morgan
I understand this maybe low-priority for you, but I
would like to see it fixed - get MonoDevelop to build
and run on Win32 - at least console projects building
and running out-of-the-box would be nice.  

I think it would be a stretch to ask for the asp.net
and gtk# designers to work too -- however I would not
complain if someone did get these to work on Win32
too. :-)

Another request: improve database support.  Remove
hard references to the data providers in the MonoQuery
add-in.  Will the GSoC changes that were done via
MonoDevelop.Database be integrated?  If so, will
MonoDevelop be removed?  Just curious.

--- Lluis Sanchez <[EMAIL PROTECTED]> wrote:

> If you found some annoying bugs in MonoDevelop that
> you'd like to get
> fixed in the next release.
> 
> If you reported some bugs which are not yet fixed
> maybe because we've
> not been able to reproduce them.
> 
> If you want to help in tracking down some of the
> issues that MD has...
> 
> please join us next friday (September 14th) in the
> #monodevelop IRC
> channel (in irc.gimp.org) for an interactive and
> intense bug hunting
> effort.
> 
> MonoDevelop is approaching the beta 1 release, which
> should happen by
> the end of the month, so this is a chance for
> helping the development
> team in tracking down and fixing MonoDevelop issues.
> 


   

Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.
http://farechase.yahoo.com/
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Oracle/OCI Thread Abort?

2007-08-02 Thread Daniel Morgan
I don't know the answer to OCI.  However, I do know
the Oracle provider is NOT thread-safe.

Is the oracle client provider in microsoft .net
framework thread-safe?

If yes, any recommendations on how to make the
provider thread-safe?  


--- cabes <[EMAIL PROTECTED]> wrote:

> 
> Greetings!  I'm running mono 1.2.4 that was compiled
> from source on OpenSuSE
> 10.2.  I have the Oracle Instant Client version
> 10.2.0.3.  I am getting the
> following exceptions after calling several stored
> procedures in Oracle.  It
> will get thrown after 10 or so sproc calls.  I'm
> thinking it might be an
> issue with OCI not being thread-safe.  I've tried
> with connection pooling on
> and off with the same result.  I'm running this from
> a console app.  I'd
> appreciate any ideas.
> 
> Thanks,
> Jason
> 
> 
> WITH CONN. POOLING:
> 
> trying to GetStatementHandle
> connectionState=Open
> connectionString=Data Source=FOO;User
> Id=BAR;Pooling=true;Min Pool
> Size=10;Max Pool Size=50;Connection Lifetime=20;;
> connected=True
> 
> Unhandled Exception:
> TrueBaseline.DataAccess.DAL.Facades.DALException:
> Unable to derive parameters. ---> System.Exception:
> Could not allocate new
> OCI Handle of type Statement
>   at System.Data.OracleClient.Oci.OciHandle.Allocate
> (OciHandleType type)
> [0x0]
>   at
>
System.Data.OracleClient.OracleCommand.GetStatementHandle
> () [0x0]
>   at
>
System.Data.OracleClient.OracleCommand.ExecuteNonQuery
> () [0x0]
>   at (wrapper remoting-invoke-with-check)
>
System.Data.OracleClient.OracleCommand:ExecuteNonQuery
> ()
>   at
> System.Data.OracleClient.OracleCommand.ResolveName
> (System.String
> nameToResolve, System.String& schema, System.String&
> part1, System.String&
> part2, System.String& dblink) [0x0]
>   at
>
System.Data.OracleClient.OracleCommand.DeriveParametersFromStoredProcedure
> (System.String sproc_name) [0x0]
>   at
>
System.Data.OracleClient.OracleCommand.DeriveParameters
> () [0x0]
>   at (wrapper remoting-invoke-with-check)
>
System.Data.OracleClient.OracleCommand:DeriveParameters
> ()
>   at
>
System.Data.OracleClient.OracleCommandBuilder.DeriveParameters
> (System.Data.OracleClient.OracleCommand command)
> [0x0]
>   at
>
TrueBaseline.DataAccess.DAL.Facades.OracleClient.Command.set_CommandType
> (CommandType value) [0x0] --- End of inner
> exception stack trace ---
> 
>   at
>
TrueBaseline.DataAccess.DAL.Facades.OracleClient.Command.set_CommandType
> (CommandType value) [0x0]
>   at
>
TrueBaseline.DataAccess.DataApplicationBlock.TrueOmf.DataAccessLayer.OracleClient.StoredProcedureProvider.GetCommandWrapper
> (IDatabase database, System.String commandName,
> Boolean useStoredProcedure)
> [0x0]
>   at
>
TrueBaseline.DataAccess.DataApplicationBlock.TrueOmf.DataAccessLayer.OracleClient.OracleEventMessageFunctionalObjectMethodMapProviderBase.GetBySolutionDomainIDName
> (ITransactionManager transactionManager, Guid
> solutionDomainID,
> System.String name, Int32 start, Int32 pageLength,
> System.Int32& count)
> [0x0]
>   at
>
TrueBaseline.DataAccess.DataApplicationBlock.TrueOmf.DataAccessLayer.Bases.EventMessageFunctionalObjectMethodMapProviderBaseCore.GetBySolutionDomainIDName
> (Guid solutionDomainID, System.String name, Int32
> start, Int32 pageLength,
> System.Int32& count) [0x0]
>   at
>
TrueBaseline.DataAccess.DataApplicationBlock.TrueOmf.DataAccessLayer.Bases.EventMessageFunctionalObjectMethodMapProviderBaseCore.GetBySolutionDomainIDName
> (Guid solutionDomainID, System.String name)
> [0x0]
>   at testoracle.MainClass.Main (System.String[]
> args) [0x0]
> 
> 
> 
> WITHOUT CONN POOLING:
> 
> trying to GetStatementHandle
> connectionState=Open
> connectionString=Data Source=FOO;User
> Id=BAR;Pooling=false;Connection
> Lifetime=20;;
> connected=True  mono [0x8156dbf]
> mono [0x8120e48]
> [0xb7eef440]
> /usr/lib/libclntsh.so(OCIErrorGet+0xa1)
> [0xb65407fb]
> [0xb167822f]
> [0xb16781c5]
> [0xb167807c]
> [0xb1677fd2]
> [0xb1677ed9]
> [0xb1677c38]
> [0xb197958c]
> [0xb1979531]
> [0xb1677b91]
> [0xb17873e9]
> [0xb197c45b]
> mono [0x816c965]
> mono [0x8111541]
> mono [0x816cb19]
> mono [0x80eb040]
> mono [0x8100b02]
> mono [0x8113d35]
> /lib/libpthread.so.0 [0xb7e15112]
> /lib/libc.so.6(clone+0x5e) [0xb7d7b2ee]
> 
> got StatementHandle
> hasRows=True
> parameter count: 3
> 
> Debug info from gdb:
> 
> Using host libthread_db library
> "/lib/libthread_db.so.1".
> [Thread debugging using libthread_db enabled]
> [New Thread -1211385120 (LWP 9900)]
> [New Thread -1219863664 (LWP 9902)]
> [New Thread -1219781744 (LWP 9901)]
> 0xb7eef410 in ?? ()
>   3 Thread -1219781744 (LWP 9901)  0xb7eef410 in ??
> ()
>   2 Thread -1219863664 (LWP 9902)  0xb7eef410 in ??
> ()
>   1 Thread -1211385120 (LWP 9900)  0xb7eef410 in ??
> ()
> 
> Thread 3 (Thread -1219781744 (LWP

[Mono-list] Download Web Page at www.mono-project.com

2007-07-10 Thread Daniel Morgan
The link for the linux installer and other downloads
for mono use ftp.  I am unable to download via ftp.
Can Novel provide an alternative download via http
please?

ftp://www.go-mono.com/archive/1.2.4/linux-installer/6/mono-1.2.4_6-installer.bin

Again, please can you provide http downloads?

Thank you,
Daniel


   

Building a website is a piece of cake. Yahoo! Small Business gives you all the 
tools to get online.
http://smallbusiness.yahoo.com/webhosting 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Ingres - db connection provider

2007-05-24 Thread Daniel Morgan
You could always use System.Data.Odbc with an ODBC
driver for Ingres.  

--- Grzegorz Sobanski <[EMAIL PROTECTED]> wrote:

> Hi.
> 
> I want to connect to an Ingres DB from mono
> application.
> I tried both the .NET 2.0 and 1.1 modules from
> Ingres community, but
> both do not run, because
>
System.EnterpriseServices.ContextUtil.get_IsInTransaction
> is not implemented.
> 
> I'm curious if someone has tried and succeed in
> connecting to Ingres
> from Mono? Are there maybe other providers then
> those from ingres.com?
> 
> Thanks in advance for answers
> 
> -- 
> Grzegorz "Silk" Sobañskisilk
> (at) boktor.net
> I am root. If you see me laughing,
> http://boktor.net
> you better have backups.
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 



   
Got
 a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] GTK+ on Mono Windows Installer 1.2.4

2007-05-16 Thread Daniel Morgan
Since menus were not showing properlY, I took the gtk+
runtime from Pidgeon (used to be called Gaim) and put
it in my mono installation prefix.  Now, the menus
show up properly.  This is on windows vista.
According to pidgeon, the gtk+ runtime is 2.10.11.
I tested this via SQL# GTK.


   
Get
 the free Yahoo! toolbar and rest assured with the added security of spyware 
protection.
http://new.toolbar.yahoo.com/toolbar/features/norton/index.php
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Download Mono 1.2.4

2007-05-16 Thread Daniel Morgan
Are the servers overwhelmed?

I can get to http://www.mono-project.com/ and the
downloads page, but I am unable to download the
windows installer.

Should we start mirrowing mono releases now?


   
Give
 spam the boot. Take control with tough spam protection in the all-new Yahoo! 
Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono bindings to OpenOffice.org

2007-04-19 Thread Daniel Morgan
I just wanted to mention to everyone that the mono
bindings are in debian unstable.  Also, they are
included with open office.org 2.2 (ooo-build) in
ubuntu feisty 7.04.  Note however that this requires
mono to be built from subversion because mono 1.2.3
will not work.  This should be no big deal because
mono is easy to build on linux.  I would like to hear
from people who have tried the mono bridge.

--- Hubert FONGARNAND
<[EMAIL PROTECTED]> wrote:

> I'm sorry i'm not blogging (my english is too bad)
> but may be a day
> 
> Today I use a "Document Generator" written in mono
> that use LaTeX as pdf
> generator. The mono program build a LaTeX document
> (using special LaTex
> cls) and call LaTex with Process.Execute to build
> the pdf... It works
> well, but LaTeX models are very difficult to
> maintain... I've done
> several test with Mono OO bindings, and it seems
> possible to use them to
> replace LaTeX in this program.
> 
> I use another "Document Converter" written in mono.
> It convert any
> document (recognized by oo.org) into a pdf... Today
> there's a Macro in
> openoffice basic, and mono call oo.org (with
> Process.Execute) and tell
> oo.org to execute the macro. I've rewritten this
> program yesterday with
> oo.org bindings and it works well!
> 
> I've not found for instance any problem with the
> bindings...
> 
> Le mardi 17 avril 2007 à 09:16 -0700, Daniel Morgan
> a écrit :
> 
> > Hey,
> > 
> > Can you email or blog about your experiences with
> the
> > mono bindings to OpenOffice.org please?  If you
> blog,
> > please provide a link to your blog.
> > 
> > People may not be aware of it working.  Also, can
> you
> > provide a list of things you did to get it
> working? 
> > What examples did you try?  
> > 
> > Also, list any problems you find with it.
> > 
> > Emailing the mono-list mailing list would be good.
> > 
> > Thanks,
> > Daniel
> > 
> > danmorg on irc GimpNet and danmorg on
> irc.FreeNode.net
> > Visit sometime in #mono on GimpNet and #go-oo on
> > irc.freenode.net
> > 
> > 
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> ___
> Ce message et les éventuels documents joints peuvent
> contenir des informations confidentielles.
> Au cas où il ne vous serait pas destiné, nous vous
> remercions de bien vouloir le supprimer et en aviser
> immédiatement l'expéditeur. Toute utilisation de ce
> message non conforme à sa destination, toute
> diffusion ou publication, totale ou partielle et
> quel qu'en soit le moyen est formellement interdite.
> Les communications sur internet n'étant pas
> sécurisées, l'intégrité de ce message n'est pas
> assurée et la société émettrice ne peut être tenue
> pour responsable de son contenu.
> > ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Port MSSQL implementation as well

2007-03-02 Thread Daniel Morgan
There is Sybase Adapter Server Enterprise and VistaDB
which are similar to Microsoft SQL Server.

Sybase runs on Linux and Windows.  Mono has a data
provider for Sybase.

VistaDB 3.0 is fully managed so it should run on
Windows and Linux.  VistaDB 3.0 has support for Mono.

As in other emails: MySQL, PostgreSQL were mentioned. 
Let's not forget Firebird.

--- "Charles A. Landemaine" <[EMAIL PROTECTED]>
wrote:

> The Mono project is very interesting and has
> tremendous potential.
> Unfortunately it's not viable for regular web
> hosting on Unix, because
> it's missing MSSQL. ASP.NET developers develop their
> ASPX applications
> with MSSQL for the majority, and if you want to
> offer MSSQL, you need
> a Windows Server, in the end you're better off using
> ASPX on a Windows
> server in this case.
> 
> Creating a free implementation of MSSQL for Unix
> would set the
> industry free from Microsoft, and web hosting
> companies could offer
> full-featured Windows hosting using just free
> software, and at the
> same price as LAMP hosting.
> 
> Thanks for your attention,
> 
> -- 
> Charles A. Landemaine.
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 



 

Never Miss an Email
Stay connected with Yahoo! Mail on your mobile.  Get started!
http://mobile.yahoo.com/services?promote=mail
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] [ANNOUNCE] Call for beta testers and developers on Minosse RDBMS

2007-02-12 Thread Daniel Morgan
I've noticed other NotImplementedExceptions in the
Connection class like CreateCommand.

I'll be waiting for the release packages to download.

When you build Minosse, which is your preferred way to
build?

--- Antonello Provenzano <[EMAIL PROTECTED]> wrote:

> Daniel,
> 
> > Checking out from subversion does not count as
> > downloading.  With a "beta", we need some files to
> > "download".  Can you provide these files please?
> 
> I noticed that maybe I was wrong in defining the
> state of the project
> after you put at my attention that gross bug on
> MinosseConnection
> class. I would like to post binary files once this
> major bugs will be
> all fixed (although I strongly believe that they
> should be located
> only in the *.Client namespace, since it is the
> latest one, added just
> couple of weeks ago).
> 
> Cheers.
> Antonello
> 
> 
> On 2/12/07, Daniel Morgan <[EMAIL PROTECTED]>
> wrote:
> > Great!
> >
> > Does Minosse RDBMS build and run on Mono?
> >
> > On what platforms does it build and run?  Linux,
> > Windows, MacOS, Solaris, FeeBSD, etc.?
> >
> > Does Minosse RDBMS build and run on Microsoft .NET
> > Framework?
> >
> > Also, where can we download it?  Do you have a
> source
> > tarball or zip file?  What about a binary tarball
> too?
> >
> > What are the licenses used for this project?  I
> see
> > GPL.  Could your client libraries be LGPL instead
> of
> > GPL please?
> >
> > Checking out from subversion does not count as
> > downloading.  With a "beta", we need some files to
> > "download".  Can you provide these files please?
> >
> > Thanks,
> > Daniel
> >
> > --- Antonello Provenzano <[EMAIL PROTECTED]>
> wrote:
> >
> > > Dear Fellows,
> > >
> > > About 3 years ago I founded the project Minosse,
> the
> > > first example of
> > > a fully functional embedded RDBMS written in C#
> > > language, presented as
> > > master thesis at university.
> > > For a couple of years I actively developed,
> although
> > > I wasn't really
> > > experienced in managing such this kind of
> project
> > > and after a while it
> > > came to death.
> > >
> > > Since, between all the projects I started and
> > > developed this is the
> > > one I heart the most, couple of month ago I
> decided
> > > to resume the
> > > development and I came across a "stable" version
> of
> > > the library.
> > >
> > > What I'm asking to you is to take a look at the
> > > project and setup some
> > > little test cases and potentially give me
> > > suggestions, or even more
> > > help me, for the development and the bug-fixing
> (or
> > > documentation if
> > > possible) of what is left before having a stable
> > > release of the
> > > project.
> > >
> > > You can find more information about Minosse,
> plus
> > > SVN repository, on
> > > SourceForge.net:
> > >
> > > http://sourceforge.net/projects/minossedb
> > >
> > > Thank you all for all the consideration you will
> > > give the project and
> > > the help you'll decide to give me for the
> > > development.
> > >
> > > Cheers.
> > > Antonello
> > > ___
> > > Mono-list maillist  - 
> Mono-list@lists.ximian.com
> > >
> http://lists.ximian.com/mailman/listinfo/mono-list
> > >
> >
> >
> >
> >
> >
>

> > Looking for earth-friendly autos?
> > Browse Top Cars by "Green Rating" at Yahoo! Autos'
> Green Center.
> > http://autos.yahoo.com/green_center/
> > ___
> > Mono-list maillist  -  Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
> 



 

Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] [ANNOUNCE] Call for beta testers and developers on Minosse RDBMS

2007-02-12 Thread Daniel Morgan
Does the client library as an ADO.NET data provider
work?  

Browsing subversion I noticed the Open() method is
throwing NotImplementedException().  

Are we to use Login() instead?  Open() is part of the
IDbConnection interface.  Could it be implemented to
parse a connection string and then call Login() ?

http://minossedb.svn.sourceforge.net/viewvc/minossedb/trunk/minossedb/Deveel.Data.Minosse.Client/MinosseConnection.cs?view=markup



--- Daniel Morgan <[EMAIL PROTECTED]> wrote:

> Great!
> 
> Does Minosse RDBMS build and run on Mono?  
> 
> On what platforms does it build and run?  Linux,
> Windows, MacOS, Solaris, FeeBSD, etc.?
> 
> Does Minosse RDBMS build and run on Microsoft .NET
> Framework?
> 
> Also, where can we download it?  Do you have a
> source
> tarball or zip file?  What about a binary tarball
> too?
> 
> What are the licenses used for this project?  I see
> GPL.  Could your client libraries be LGPL instead of
> GPL please?
> 
> Checking out from subversion does not count as
> downloading.  With a "beta", we need some files to
> "download".  Can you provide these files please?
> 
> Thanks,
> Daniel
> 
> --- Antonello Provenzano <[EMAIL PROTECTED]>
> wrote:
> 
> > Dear Fellows,
> > 
> > About 3 years ago I founded the project Minosse,
> the
> > first example of
> > a fully functional embedded RDBMS written in C#
> > language, presented as
> > master thesis at university.
> > For a couple of years I actively developed,
> although
> > I wasn't really
> > experienced in managing such this kind of project
> > and after a while it
> > came to death.
> > 
> > Since, between all the projects I started and
> > developed this is the
> > one I heart the most, couple of month ago I
> decided
> > to resume the
> > development and I came across a "stable" version
> of
> > the library.
> > 
> > What I'm asking to you is to take a look at the
> > project and setup some
> > little test cases and potentially give me
> > suggestions, or even more
> > help me, for the development and the bug-fixing
> (or
> > documentation if
> > possible) of what is left before having a stable
> > release of the
> > project.
> > 
> > You can find more information about Minosse, plus
> > SVN repository, on
> > SourceForge.net:
> > 
> > http://sourceforge.net/projects/minossedb
> > 
> > Thank you all for all the consideration you will
> > give the project and
> > the help you'll decide to give me for the
> > development.



 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] [ANNOUNCE] Call for beta testers and developers on Minosse RDBMS

2007-02-12 Thread Daniel Morgan
Great!

Does Minosse RDBMS build and run on Mono?  

On what platforms does it build and run?  Linux,
Windows, MacOS, Solaris, FeeBSD, etc.?

Does Minosse RDBMS build and run on Microsoft .NET
Framework?

Also, where can we download it?  Do you have a source
tarball or zip file?  What about a binary tarball too?

What are the licenses used for this project?  I see
GPL.  Could your client libraries be LGPL instead of
GPL please?

Checking out from subversion does not count as
downloading.  With a "beta", we need some files to
"download".  Can you provide these files please?

Thanks,
Daniel

--- Antonello Provenzano <[EMAIL PROTECTED]> wrote:

> Dear Fellows,
> 
> About 3 years ago I founded the project Minosse, the
> first example of
> a fully functional embedded RDBMS written in C#
> language, presented as
> master thesis at university.
> For a couple of years I actively developed, although
> I wasn't really
> experienced in managing such this kind of project
> and after a while it
> came to death.
> 
> Since, between all the projects I started and
> developed this is the
> one I heart the most, couple of month ago I decided
> to resume the
> development and I came across a "stable" version of
> the library.
> 
> What I'm asking to you is to take a look at the
> project and setup some
> little test cases and potentially give me
> suggestions, or even more
> help me, for the development and the bug-fixing (or
> documentation if
> possible) of what is left before having a stable
> release of the
> project.
> 
> You can find more information about Minosse, plus
> SVN repository, on
> SourceForge.net:
> 
> http://sourceforge.net/projects/minossedb
> 
> Thank you all for all the consideration you will
> give the project and
> the help you'll decide to give me for the
> development.
> 
> Cheers.
> Antonello
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 



 

Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Mono WinForms Problems Connecting to Sql 2005

2007-02-03 Thread Daniel Morgan
Note: if you are using Windows Authentication, your
SQL Server and the client computer connecting to this
SQL Server must be on a real Windows NT/2000/2003
Domain for Windows Authentication to work.

Samba may work, but I'm not sure.  

Also, with Mono, you must include your Windows
NT/2000/2003 Domain User and Password when connecting
via Windows Authentication.

You can read more info here about Mono's SqlClient
provider here:

http://www.mono-project.com/SQLClient

My advice, make sure SQL Server can accept TCP/IP
connections.  Make sure the server is set up for
mix-mode authentication (windows authentication and
sql server authentication).

One more thing, do you even read the replies people
send to you? I asked you this earlier:

How does you connection strings look like?

You can rename your actual user id and password to
.

Are you using an instance name in your connection
string?  You mentioned you are connecting via SQL
Server Authentication.  

Have you increased the CONNECTION TIMEOUT?  The
default is 15 seconds.

To know for sure you're connecting via .net the same
way you are in mono, add this to your connection
string for running on .net:

;network library=dbmssocn

Then if you get the same thing on .net as you do with
mono, then you know its something with connecting via
TCP/IP.  And if you were using a named instance, then
you may need to open up access to UDP port 1434.

Here is an entry from my blog about this.

http://www.mfconsulting.com/danmorg/blog/archives/000145.html

Here is the msdn doc on SqlConnection.ConnectionString

http://msdn2.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.connectionstring.aspx


--- Austin Winstanley <[EMAIL PROTECTED]> wrote:

> Ok, So on this problem I have narrowed it down. On
> my server I have
> Sql 2000 and Sql 2005 running side by side. i only
> get the connection
> error when trying to connect to sql 2005. I can
> connect to sql 2000
> just fine.
> 
> The only difference is the instance name. To connect
> to 2000 I would
> just use my ip address. But to connect to sql 2005 I
> have to use
> myipaddress\\Server2005. In windows this works, but
> in mac and linux
> it doesnt. So the problem comes down to just the
> Server2005 instance
> name in mac/linux.
> 
> Can anybody help me out with this?? It is driving me
> crazy. Thanks!
> 
> 
> 
> On 1/28/07, URBAN Leos <[EMAIL PROTECTED]> wrote:
> > Try connection string:
> >
> > this.sqlConnection1.ConnectionString =
> >
>
"uid=sa;pwd=alphaville;server=192.168.1.34,1433;database=Test";
> >
> > Leos
> >
> > Austin Winstanley napsal(a):
> > > I am running a Mono Winforms app and i have
> gotten it to run great on
> > > Windows, Linux, and Mac OSX. The problem is I
> can only connect to a
> > > Sql Server 2005 DB from Windows. It is a remote
> DB and it connects
> > > just fine when I am in Windows, but as soon as I
> run my app from Mac
> > > or Linux, It gives me Sql Server does not exist
> or connection denied
> > > error. I'm not understanding why it will connect
> from Windows but not
> > > Mac or Linux. Any help would be great. Thanks!
> > > ___
> > > Mono-winforms-list maillist  - 
> Mono-winforms-list@lists.ximian.com
> > >
>
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
> > >
> >
> >
> 



 

8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono WinForms Problems Connecting to Sql 2005

2007-01-27 Thread Daniel Morgan

How does you connection string look like?

You can rename your actual user id and password to
.

Are you using an instance name in your connection
string?  You mentioned you are connecting via SQL
Server Authentication.  

Have you increased the CONNECTION TIMEOUT?  The
default is 15 seconds.

To know for sure you're connecting via .net the same
way you are in mono, add this to your connection
string for running on .net:

;network library=dbmssocn

Then if you get the same thing on .net as you do with
mono, then you know its something with connecting via
TCP/IP.  And if you were using a named instance, then
you may need to open up access to UDP port 1434.

Here is an entry from my blog about this.

http://www.mfconsulting.com/danmorg/blog/archives/000145.html

Here is the msdn doc on SqlConnection.ConnectionString

http://msdn2.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.connectionstring.aspx


--- Austin Winstanley <[EMAIL PROTECTED]> wrote:

> I am running a Mono Winforms app and i have gotten
> it to run great on
> Windows, Linux, and Mac OSX. The problem is I can
> only connect to a
> Sql Server 2005 DB from Windows. It is a remote DB
> and it connects
> just fine when I am in Windows, but as soon as I run
> my app from Mac
> or Linux, It gives me Sql Server does not exist or
> connection denied
> error. I'm not understanding why it will connect
> from Windows but not
> Mac or Linux. Any help would be great. Thanks!
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 



 

We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Pure C# Library for Programmatically Creating OpenDocument files

2007-01-19 Thread Daniel Morgan
Is there any free/open source software written in pure
C# or other CLR language for programmatically creating
OpenDocument files - namely Text Documents and
Spreadsheets?

It would have to run on both Microsoft .net framework
and Mono on Linux and Windows.


 

Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Deployment assistance

2006-11-03 Thread Daniel Morgan
A script also could be used on Windows to call
MonoLaunch instead of mono.  MonoLaunch will not show
a Console window.

http://forge.novell.com/modules/xfcontent/downloads.php/monowin32/Runtime%20selector/


--- "Rodney J. Dyer" <[EMAIL PROTECTED]> wrote:

> Lee wrote:
> >  
> > 
> >  
> >> Having never had a Windows machine, can someone
> point me in 
> >> the direction of how I can deploy my mono-gtk#
> apps on 
> >> Windows.  Is it possible to associate the mono
> runtime with 
> >> the *.exe in XP so that the users do not have to
> fire up the 
> >> mono console?  Links and advice appreciated.
> >>
> >> Rodney
> > 
> > I would recommand InnoSetup if your looking for a
> setup compiler:
> > http://www.jrsoftware.org/isinfo.php
> > 
> > Written in Delphi with source available.  This is
> my preferred setup
> > builder.  
> > 
> > I think you have to use a batch file or something
> to get it to run or create
> > a link (inno will do it for you) that points to
> your exe to place on the
> > startmenu or desktop.
> > 
> > I'm new to mono myself...sorry couldn't be more
> help.
> > 
> > ---
> > Warm Regards,
> > 
> > Lee
> 
> Lee,
> 
> Thanks for the info, I'll look into it. However, I
> am looking for
> something a little more basal to that.  On
> Linux/OSX, we can make a
> shell script as:
> 
> #!/bin/sh
> exec /usr/bin/mono PREFIX/lib/APPLICATION/app.exe
> "$@"
> 
> and chmod it as an executable.  Then the user can
> just run the script
> and everything just starts up and runs (can even
> double click on it in
> GNOME..).  Some of my students are having a tough
> time with the whole
> Program->Mono->MonoConsole->cd to appropriate
> directory and then mono
> App.exe routine.  I was hoping that there was a
> similar script on
> Windows that could be deployed so the app can
> maintain the layout as
> recommended in
> 
>
http://www.mono-project.com/Guidelines:Application_Deployment#Layout_Recommendation
> 
> Thanks,
> 
> 
> 
> -- 
> Rodney J. Dyer, PhD
> 
> Department of Biology
> Virginia Commonwealth University
> http://dyerlab.bio.vcu.edu
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 



 
__
Check out the New Yahoo! Mail - Fire up a more powerful email and get things 
done faster. 
(http://advision.webevents.yahoo.com/mailbeta) 

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


Re: [Mono-list] System.InvalidCastException in Npgsql

2006-10-22 Thread Daniel Morgan
Only one table is shown because the
InvalidCastException was thrown which stopped
sqlsharpgtk from getting anymore meta data.  This is a
known issue.  This is resolved in subversion.

> I noticed also that sqlsharpgtk shows only first
> PostgreSQL table in table
> list. This occurs also in 1.1.17 . Is this known
> issue ?
> 

> 
> I need to edit DataTable returned by Npgsql in grid.
> I'm studying GTK# and WinForms DataGrid  for this.
> It would be nice if sqlsharpgtk allows edit tables
> in grid.
> I was looking for a sample GTK# code which allows to
> edit DataTable in grid
> but have'nt found any.
> So I think I will use WinForms.
> 

I can provide you with some sample code for an
editable gtk# TreeView/ListStore.

> Does MonoQuery allow to edit DataTable in grid ?

No.  The DataGrid in MonoQuery is based an old version
of sqlsharpgtk.


> I'm developing for MONO mostly in Windows (using
> Visual C# Express 2005 )
> MonoDevelop does not run in Windows so I cannot look
> into it.

Currently, there is no release of MonoDevelop that
runs on Windows, but someone did commit to subversion
support to run on Windows.  Hopefully, Paco or Wade
can provide a runnining MonoDevelop with the next
windows installer release of mono.



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] System.InvalidCastException in Npgsql

2006-10-22 Thread Daniel Morgan
Npgsql and Mono are okay.

There is a bug in sqlsharpgtk.

In subversion, this has been fixed.

You can read about anonymous subversion access here.
http://www.mono-project.com/AnonSVN

This how you would use subversion to get sqlsharpgtk
from the subversion trunk.

svn co
svn://svn.myrealbox.com/source/trunk/sqlsharpgtk

Mono.Data.SqlSharp.GtkSharp is not part of Mono thus
there is no documentation about it on Monodoc.  What
documentation are you interested in?  
The ProviderFactory which sqlsharpgtk uses, or the
database browser, various data providers like Npgsql,
Mono.Data.SybaseClient, Mono.Data.SqliteClient,
System.Data.OracleClient?

Have you looked into the MonoQuery add-in for
MonoDevelop?

I will try to release a new version of sqlsharpgtk
which has the bug fixed.

--- Andrus <[EMAIL PROTECTED]> wrote:

> To reproduce, try to connect PostgreSQL database
> using  1.1.18 SQL# GTK 
> 
> How to fix this ?
> 
> Where to find documentation of Mono.Data namespace ?
> I haven't found any information about this in
> monodoc browser.
> 
> (1.1.17 works OK)
> 
> 
> Andrus.
> 
> Result is:
> 
> Attempt to open connection...
> Open was successfull.
> Error: Unable to connect.  Reason:
> System.InvalidCastException: Cannot cast
> from source type to destination type.
> 
>   at Npgsql.NpgsqlDataReader.GetInt32 (Int32 i)
> [0x0]
> 
>   at
>
Mono.Data.SqlSharp.DatabaseBrowser.PostgreSqlMetaData.GetTableColumns
> (System.String owner, System.String tableName)
> [0x0]
> 
>   at
>
Mono.Data.SqlSharp.DatabaseBrowser.Schema.GetTableColumns
> (System.String owner, System.String tableName)
> [0x0]
> 
>   at
>
Mono.Data.SqlSharp.GtkSharp.SqlSharpGtk.PopulateTableColumns
> (TreeIter
> parentIter,
> Mono.Data.SqlSharp.DatabaseBrowser.MetaTable table,
> Mono.Data.SqlSharp.DatabaseBrowser.Schema browser)
> [0x0]
> 
>   at
>
Mono.Data.SqlSharp.GtkSharp.SqlSharpGtk.PopulateTables
> (TreeIter
> parentIter, Mono.Data.Provider provider,
> IDbConnection con) [0x0]
> 
>   at
>
Mono.Data.SqlSharp.GtkSharp.SqlSharpGtk.OpenDataSource
> (Mono.Data.Provider theProvider, System.String
> theConnectionString,
> System.String connectionName) [0x0]
> 
>   at
>
Mono.Data.SqlSharp.GtkSharp.LoginDialog.Connect_Action
> (System.Object
> o, System.EventArgs args) [0x0]
> 
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] FW: MySql Connector

2006-10-20 Thread Daniel Morgan
Before you set your data adapter and command to null,
try using Dispose().  I don't have the docs in front
of me right now to see if data adapter has a
Dispose(), but I do know command does.

--- Damien Churchill <[EMAIL PROTECTED]>
wrote:

> Yeah I would have thought that as well, but that's
> on a single
> statement. I wrote a simple console program to test
> it.
> 
> using System;
> using System.Data;
> using System.Collections.Generic;
> using System.Text;
> using MySql.Data.MySqlClient;
> namespace mysqltest
> {
> class Program
> {
> static void Main(string[] args)
> {
> string connectionString =
> "Server=***.***.***.***;" +
> "Database=;" +
> "User ID=;" +
> "Password=;" +
> "Allow Zero Datetime=true";
> 
> MySqlConnection dbConn = new
> MySqlConnection(connectionString);
> dbConn.Open();
> 
> MySqlDataAdapter da = new
> MySqlDataAdapter();
> MySqlCommand dbcmd =
> dbConn.CreateCommand();
> dbcmd.CommandText = "CALL
> spUserPrivileges(1);";
> DataSet ds = new DataSet();
> 
> da.SelectCommand = dbcmd;
> da.Fill(ds);
> 
> dbcmd = null;
> da = null;
> 
>
> Console.WriteLine(ds.Tables[0].Rows.Count);
> Console.Read();
> }
> }
> }
> 
> That's all it does. It works fine with other
> selects, and other stored
> procedures, just not that one.
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Robert Jordan
> Sent: 20 October 2006 11:28
> To: Mono-list@lists.ximian.com
> Subject: Re: [Mono-list] MySql Connector
> 
> Damien Churchill wrote:
> > I was wondering has anyone else has experienced
> this:
> >  
> > Unhandled Exception:
> MySql.Data.MySqlClient.MySqlException: There is
> > already an open DataReader associated with this
> Connection which must
> be
> > closed first.
> >   at
> MySql.Data.MySqlClient.MySqlCommand.CheckState ()
> [0x0] 
> >   at
> MySql.Data.MySqlClient.MySqlCommand.ExecuteReader
> (CommandBehavior
> > behavior) [0x0] 
> >   at
> MySql.Data.MySqlClient.MySqlCommand.ExecuteReader ()
> [0x0] 
> >   at (wrapper remoting-invoke-with-check)
> > MySql.Data.MySqlClient.MySqlCommand:ExecuteReader
> ()
> >   at MySql.Data.MySqlClient.Driver.ReportWarnings
> () [0x0]
> >  
> > I receive this error when trying to execute a
> stored procedure (other
> > SQL statements work fine, even other stored
> procedures). It works fine
> > on windows with .NET but on mono (windows or
> linux) I receive that
> > error.
> 
> You're not closing the previous reader. It doesn't
> fail on MS.NET
> because their garbage collector is probably
> disposing the reader
> faster than Mono's.
> 
> Robert
> 
> ___
> 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
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Npgsql 1.0 Released!!

2006-10-17 Thread Daniel Morgan
Nice work Francisco!

Feel free to email the mono lists or provide patches
to Mono to make sure that Npgsql can fully support
ADO.NET 2.0 features.

--- "Francisco Figueiredo Jr."
<[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> 
> Hi all,
> 
> I'd like to say that Npgsql Development Team has
> released version 1.0
> of Npgsql.
> 
> 
> Npgsql is a .Net Provider for Postgresql 7.x and
> 8.x. It allows your
> .Net programs access a Postgresql backend.
> 
> More info about it can be found at:
> 
> http://www.mono-project.com/PostgreSQL
> and
> http://npgsql.projects.postgresql.org
> 
> 
> Release notes:
>
http://pgfoundry.org/frs/shownotes.php?release_id=662
> 
> 
> This version marks an end of a cycle and the
> beginning of another: add
> support for .net 2.0 and ado.net 2.0 to Npgsql. This
> work will be done
> using current Npgsql 1.0 code base. This way we
> expect to have a working
> ado.net 2.0 enabled build really soon. We also have
> a lot of
> optimizations we want to do to make Npgsql much
> faster and much more
> feature complete. Stay tuned!
> 
> 
> 
> Special Thanks:
> 
>   * God, for allowing this to happen.
>   
>   * All users and developers who give feedback and
> comments about Npgsql.
> Without your help this won't be possible.
>   
> 
> Please, give it a try and let me know of any
> problems you get.
> 
> 
> Download Page:
> http://pgfoundry.org/frs/?group_id=1000140
> 
> 
> Thank you very much, guys! You are great!!
> 
> 
> P.S.: Sorry for sending this message so late. I was
> having problems with
> my Internet connection.
> 
> P.P.S: Note: Mono svn will be updated soon.
> 
> - --
> Regards,
> 
> Francisco Figueiredo Jr.
> http://fxjr.blogspot.com
> Npgsql Lead Developer
> http://npgsql.projects.postgresql.org
> Mono Project Contributor
> http://www.go-mono.com
> MonoBrasil Project Founder Member
> http://monobrasil.softwarelivre.org
> 
> 
> - --
>  - Would you tell me, please, which way I ought to
> go from here?
>  - That depends a good deal on where you want to get
> to.
>   -- Lewis Carroll "Alice's Adventures in
> Wonderland"
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.4 (GNU/Linux)
> Comment: Using GnuPG with Mozilla -
> http://enigmail.mozdev.org
> 
>
iQEVAwUBRTTbmf7iFmsNzeXfAQIjQQf9E8c86Ke+YfFLdM0D8v2Gcb9m4N29vHs/
>
ZTLZu+04ZBpjQuOBMKuNWeJnHswudbrxHbhmUEaGkz7zUjXtuYkm8Yj4cldB4cax
>
Cy4hM8bF5K0ErG0R7BCMnjzaC5e/DVZspqLn7oYLOtni8+jm0i8KNIZleOy3Ptjp
>
3fdeTnvO8p6HFfJpjV4QE17DaGPD0gqcZ7WiK9s36Zua1T/nbBD4puLL7jpS9aQn
>
Ih4YMoMm396AfGlVVVxt7NtGFnm/sQ4fviraRKPJTtJKm/iBINkHEa8WhO/OtOJa
>
/HNj00NVHYwmqN8omf0PyOVihHJkoACPGAXMVY2xIkYezTqDviniOg==
> =B84q
> -END PGP SIGNATURE-
> 
>   
>
___
> 
> Novidade no Yahoo! Mail: receba alertas de novas
> mensagens no seu celular. Registre seu aparelho
> agora! 
> http://br.mobile.yahoo.com/mailalertas/ 
>  
> 
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Portability Layer and MonoDevelop

2006-10-05 Thread Daniel Morgan
After reading monologue, I noticed it mention many
Windows programmers fail to use the portability code
for paths.  

I wanted to mention that many Linux programmers do
this too with Mono.  They hard-code paths such as
"\usr\local\bin\somefile" when this does not exist on
Windows unless they are running the application under
cygwin.  Good example of this is MonoDevelop.  Good
thing Tak cleaned this up.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] DB2 Status? (db2_36.so and DB2 9 Viper, etc)

2006-09-04 Thread Daniel Morgan
Use whatever the shared library filename of your IBM
DB2 call level interface library.  Do you even have
the IBM DB2 client software installed?

If you do not, Download the DB2 Driver for ODBC and
CLI.

http://www-306.ibm.com/software/data/db2/udb/db2express/download.html

Mono's ODBC data provider is found in the System.Data
assembly and namespace System.Data.Odbc.

Read here for more info:
http://www.mono-project.com/ODBC

See if you have unixODBC or iODBC installed.  If not,
you can download unixODBC from unixodbc.org.

http://www.unixodbc.com/doc/db2.html

--- Jesse Sightler <[EMAIL PROTECTED]> wrote:

> Actually, I don't see any db2_xx.so files in my db2
> installation at all.
> 
> Anyway, is there any documentation for going the
> ODBC route?
> 
> Thanks,
> Jess
> 
> 
> On 9/2/06, Daniel Morgan <[EMAIL PROTECTED]>
> wrote:
> > Take a look at you mono_prefix/etc/mono/config
> file.
> >
> > The filename is just config.
> >
> > Look for a dllmap entry.
> > Change the target to whatever shared library you
> have.
> >
> > If there is no entry there add it.
> > An example:
> >
> > 
> >
> > Or.
> >
> > 
> >
> > Or.
> >
> > 
> >
> > dll is the library it is looking for or whatever
> it is
> > defined in the DllImport attribute.
> > target is the library filename to map the dll to.
> >
> > By the way, the DB2 provider is unmaintained. 
> Unless,
> > you care to provide patches.
> > So, I recommend using the ODBC provider instead.
> >
> >
> > --- Jesse Sightler <[EMAIL PROTECTED]>
> wrote:
> >
> > > Hi All,
> > >
> > > I just tried running a test against DB2 from
> Mono
> > > using the
> > > IBM.Data.DB2 provider in Mono, and received the
> > > following error:
> > >
> > > Unhandled Exception:
> System.DllNotFoundException:
> > > db2_36
> > >
> > > I am assuming this is because I do not have the
> > > db2_36.so library.
> > > What is interesting, though, is that the DB2 V9
> > > ExpressC installation
> > > that I am trying to run this against also does
> not
> > > seem to have this
> > > library (or any other db2_xx.so libs).
> > >
> > > Is there a version of Mono that will work with
> DB2
> > > 9?  Or is there
> > > some other workaround available?
> > >
> > > I saw the page at
> > > http://www.mono-project.com/IBM_DB2 but it is
> very
> > > light on details (version numbers).
> > >
> > > Thanks,
> > > Jess
> > > ___
> > > Mono-list maillist  - 
> Mono-list@lists.ximian.com
> > >
> http://lists.ximian.com/mailman/listinfo/mono-list
> > >
> >
> >
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] DB2 Status? (db2_36.so and DB2 9 Viper, etc)

2006-09-02 Thread Daniel Morgan
Take a look at you mono_prefix/etc/mono/config file.

The filename is just config.

Look for a dllmap entry.
Change the target to whatever shared library you have.

If there is no entry there add it. 
An example:



Or.



Or.



dll is the library it is looking for or whatever it is
defined in the DllImport attribute.
target is the library filename to map the dll to.

By the way, the DB2 provider is unmaintained.  Unless,
you care to provide patches. 
So, I recommend using the ODBC provider instead.


--- Jesse Sightler <[EMAIL PROTECTED]> wrote:

> Hi All,
> 
> I just tried running a test against DB2 from Mono
> using the
> IBM.Data.DB2 provider in Mono, and received the
> following error:
> 
> Unhandled Exception: System.DllNotFoundException:
> db2_36
> 
> I am assuming this is because I do not have the
> db2_36.so library.
> What is interesting, though, is that the DB2 V9
> ExpressC installation
> that I am trying to run this against also does not
> seem to have this
> library (or any other db2_xx.so libs).
> 
> Is there a version of Mono that will work with DB2
> 9?  Or is there
> some other workaround available?
> 
> I saw the page at
> http://www.mono-project.com/IBM_DB2 but it is very
> light on details (version numbers).
> 
> Thanks,
> Jess
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] The type or namespace `Npgsql' could not be found in xsp2

2006-08-23 Thread Daniel Morgan
Just a guess.  Maybe you need an assembly tag at the
top of your index.aspx

--- Eduardo Sanchez <[EMAIL PROTECTED]> wrote:

> Hi!,
>  I'm testing mono+pgsql with xsp2, but keep getting
> the error:
> 
> "The type or namespace `Npgsql' could not be found"
> 
> I'm using CodeFile atribute in my index.aspx file:
> 
> <%@ Page language="C#" CodeFile="index.aspx.cs"
> Inherits="index_aspx"%>
> 
> My index.aspx.cs has the following:
> // created on 8/20/2006 at 6:38 PM
> using System;
> using System.Web;
> using System.Data;
> using Npgsql;
> 
> public partial class index_aspx : System.Web.UI.Page
> {
> public void OnLoad(EventArgs e)
> {
> DisplayEmployees();
> }
> 
> public void DisplayEmployees()
> {
> string connectionString=
>
> "Server=localhost;"
>   +
>
> "Database=;"+
> "User
> ID="   +
>
> "Password=;";
> 
> NpgsqlConnection conn=new
> NpgsqlConnection(connectionString);
> conn.Open();
> NpgsqlCommand command=new
> NpgsqlCommand("SELECT * FROM rh_empleados",conn);
> NpgsqlDataReader
> dr=command.ExecuteReader();
> while(dr.Read())
> {
>
> Response.Write(dr[0]+ "\t");
>
> Response.Write(dr[1]+ " " +dr[2]+ "\t\n");
> }
> conn.Close();
> }
> }
> 
> already installed the npgsql provider in the gac and
> tested it with a
> Console application that seems to work without any
> problem.
> 
> I'm using the xsp2.exe  version 1.1.16.1
> Thanks in advance for any hint...
> 
> regards,
> 
> --
> eduardo s.m.
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Can anyone recommend a DB query analyzer app that will run using Mono on Windows?

2006-07-23 Thread Daniel Morgan
A table designer would require a lot of support from
Mono.Data.Sql which MonoQuery uses for database object
meta data.  See the TODO fil.  Feel free to update
this file.

MonoQuery does have a table explorer (most often
referred as a table browser).  It gives the the list
of columns and their definitions.  

As for the backing store dialog, are you suggesting a
properties dialog which details the connection string
parameters used to connect?  For SQL Lite this would
the URI of the filename of the database. 

The SQL Definition is a reverse engineering of a
particular database object.  This is so you can use
the SQL to create the object in another database.  

Note: a database object could be a table, view, stored
procedure, etc...

I would like to see others get involved in maintaining
MonoQuery and Mono.Data.Sql.  

What has Christian Hergert been up to these days?

--- Miguel de Icaza <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I should probably be more specific, here are a
> few things that would
> be nice to add to the MonoQuery stuff:
> 
>   * A table designer.
> 
>   * A table explorer, once am connected to a
> database, it would be
> nice to be able to see the tables defined in the
> database.
> 
>   * Tooltips for the various icons, not knowing what
> they are, its
> hard to figure out what am supposed to get.
> 
>   * Per-backend dialog box, for the SQLite, it would
> be nice if it
> had something like "filename" for the backing
> store, right now
> I have to lookup the manual to figure out how to
> use it.
> 
>   * Maybe an extension to the above, we could
> probably have a 
> help or textual help somewhere that describes
> what are the
> other possible optional arguments, for those of
> us that do
> not know much about databases, to be
> "soft-landed" into this
> universe.
> 
>   * Once I disconnect from a database, there is no
> easy way to
> reconnect.  Or I could not figure out how.
> 
>   * I do not know what "SQL Definition" is supposed
> to do, there
> is some kind of empty space, but I do not know
> what to do 
> with it.
> 
> Miguel.
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Can anyone recommend a DB query analyzer app that will run using Mono on Windows?

2006-07-23 Thread Daniel Morgan
Have you tried the Gtk# Win32 Installer for Microsoft
.NET Framework 1.1 SDK?

http://forge.novell.com/modules/xfmod/project/?gtks-inst4win
The link above is found on the www.mono-project.com
Download page.

This will allow you run Gtk# GUI applications on
Microsoft .NET Framework 1.1 and 2.0.

However, for sqlsharpgtk, you will need to extract
Mono.Data.dll from your Mono 1.1.16 installation and
place it in the same place you would run
sqlsharpgtk.exe.  Mono.Data.dll has a ProviderFactory
which sqlsharpgtk uses.

Also, make sure you have a sqlsharpgtk.exe.config
file.
This config file is used to define the providers and
connection strings to be used by the provider factory.

Run sqlsharpgtk.exe in a .NET SDK Command Prompt.  Set
the path to the bin directory of you gtk# for .net
framework installation.


SET PATH=F:\GTK\2.8\bin;%PATH%

Other than that, I can only suggest trying various
database query tools on Mono from Sourceforge and see
what works or not.  You can post your results to the
mono-list.  We would be interested to see why it does
not work on Mono.

--- Bill Seddon <[EMAIL PROTECTED]> wrote:

> Daniel, thanks for your suggestions.  While SQL# for
> GTK# does work on
> Windows my hope is to find something that can be
> used in .NET and Mono.
> 
> Regards
> 
> Bill
> 
> 
> -----Original Message-
> From: Daniel Morgan [mailto:[EMAIL PROTECTED] 
> Sent: 23 July 2006 02:05
> To: Bill Seddon; mono-list@lists.ximian.com
> Subject: Re: [Mono-list] Can anyone recommend a DB
> query analyzer app
> that will run using Mono on Windows?
> 
> MonoDevelop IDE has a add-in called MonoQuery. 
> However, MonoDevelop does not really work on Windows
> right now.
> 
> http://www.monodevelop.org/
> 
> MonoDevelop is an IDE ported from SharpDevelop using
> System.Windows.Forms as the GUI running on Microsoft
> .NET Framework to using GTK# as the GUI running on
> Mono.
> 
> MonoQuery is a SQL query and database browser tool
> which uses Mono.Data.Sql as the data access layer to
> get various database object info.
> 
> Mono SQL# For GTK# is another tool which has a
> database browser and SQL Query tool.  However, it is
> only available from two places right now:
> sqlsharpgtk
> in mono's subversion repository or with the Mono
> Windows Installer.  SQL# For GTK# works on Windows
> and
> Linux.
> 
>
http://developer.novell.com/wiki/index.php/Mono_SQL_Sharp_for_GTK_Sharp
> 
> 
> --- Bill Seddon <[EMAIL PROTECTED]> wrote:
> 
> > The subject says it all.  There are plenty of
> > examples that run under
> > .NET but I've been unable to find one that will
> run
> > successfully (or at
> > all) under Mono. Maybe I just don't know how to
> > compile them for Mono?
> > A query analyzer that runs as a web app would be
> OK
> > as well.
> > 
> > Bill Seddon
> > 
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
> 
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Can anyone recommend a DB query analyzer app that will run using Mono on Windows?

2006-07-22 Thread Daniel Morgan
MonoDevelop IDE has a add-in called MonoQuery. 
However, MonoDevelop does not really work on Windows
right now.

http://www.monodevelop.org/

MonoDevelop is an IDE ported from SharpDevelop using
System.Windows.Forms as the GUI running on Microsoft
.NET Framework to using GTK# as the GUI running on
Mono.

MonoQuery is a SQL query and database browser tool
which uses Mono.Data.Sql as the data access layer to
get various database object info.

Mono SQL# For GTK# is another tool which has a
database browser and SQL Query tool.  However, it is
only available from two places right now: sqlsharpgtk
in mono's subversion repository or with the Mono
Windows Installer.  SQL# For GTK# works on Windows and
Linux.

http://developer.novell.com/wiki/index.php/Mono_SQL_Sharp_for_GTK_Sharp


--- Bill Seddon <[EMAIL PROTECTED]> wrote:

> The subject says it all.  There are plenty of
> examples that run under
> .NET but I've been unable to find one that will run
> successfully (or at
> all) under Mono. Maybe I just don't know how to
> compile them for Mono?
> A query analyzer that runs as a web app would be OK
> as well.
> 
> Bill Seddon
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono Mugs? Shirts? where they at?

2006-07-13 Thread Daniel Morgan
I would love to buy some t-shirts or coffee mugs with
Mono on them.  For the shirts, please have themn
available in big sizes such as 3XL.  Golf shirts would
be nice with a little Mono logo on them so I could
wear them to work and wear it proudly.

It could be used to pay bounties on new mono features
or bug fixes.  Have a web page where people could vote
for their favorite bug or feature.  Isn't there a web
page for Gnome bounties?

Of course, my favorite mono bounties would be porting
MonoDevelop to Windows and Banshee to Windows. 
.

--- Miguel de Icaza <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> > where is the web site to purchase mono mugs,
> shirts, etc,
> > to (1) get this stuff - i need some new clothes!,
> (2) donate some coin to the project.
> > i checked mono site and novell (quickly), nothing
> is jumping out 
> > surely it can't be the case that this stuff
> doesn't exist?
> 
> I have not sorted this out.
> 
> I probably should.   We have a few Mono designs,
> maybe I could setup a
> Cafe Press store for it, and have the revenue go
> into some bank account
> that we can use to pay for something.
> 
> Miguel.
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] An exception was thrown by the type initializer - System.Drawing.Text.PrivateFontCollectionm on Mac

2006-07-10 Thread Daniel Morgan
You should show the trace for this exception.  In it, you might be able to see 
why it didn't load the class.
Could it be you do not have libgdiplus.dynlib?  Or maybe need to modify a 
config file to map the dll?
 
I do not use Mac so I am only guessing here.

- Original Message 
From: Martin Hinks <[EMAIL PROTECTED]>
To: mono 
Sent: Monday, July 10, 2006 11:02:03 AM
Subject: [Mono-list] An exception was thrown by the type initializer - 
System.Drawing.Text.PrivateFontCollectionm on Mac


Hi all,

This code works fine on Mono stable under Windows but not Mac OS X:

System.Drawing.Text.PrivateFontCollection pf;

Console.WriteLine("GOT HERE");

pf = new System.Drawing.Text.PrivateFontCollection();

Console.WriteLine("GOT HERE2");

Output:

GOT HERE
An exception was thrown by the type initializer for ClassName.

Anyone have any ideas (I would upgrade to latest but the FTP is so slow atm)

-- 
Martin Hinks
http://www.m-s-d.net
___
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


Re: [Mono-list] mono+asp.net+oracle

2006-05-22 Thread Daniel Morgan

I haven't tried the ASP.NET 2.0 features, so I can not comment on them.
 
However, the ASP.NET 1.1 features should work well with Oracle.
 
See http://www.mono-project.com/Oracle 
which will give you an idea how complete System.Data.OracleClient is.
 
Even when using NET_2_0 profile in Mono, the NET_1_1 features should still work.  Its the new NET_2_0 features which may or may not be missing.  Stay away from using abstract classes like DbCommand that were added in NET_2_0.
 
ODBC support in Mono is good with System.Data.Odbc, and there is Oracle ODBC drivers for every platform that the Oracle client softare exists.  The Oracle Instant Client may work for you.
Places like http://www.openlinksw.com/ should have some ODBC Oracle drivers you could use if the drivers from Oracle are not up to speed.
 
If the above will not work for you, there is always an Oracle driver from datadirect.com which is fully managed and does not require any Oracle software to be installed.
- Original Message From: Matthias Leonhardt <[EMAIL PROTECTED]>To: mono-list@lists.ximian.comSent: Saturday, May 20, 2006 2:25:25 AMSubject: [Mono-list] mono+asp.net+oracle
hi developers,how are your experiences with ASP.Net and Mono with database oracle? Forour customer we have to write a little oracledb-webapplication in phpbut we are more experienced with c# development in VS200x. So myquestion is, how is the compatibility of the c# code if written inVS2005? Can we use all the webcomponents of VS2005 or are there anyrestrictions in using it under productive environment in lamo(linux+apache+mod_mono+oracle)?thanks for your suggestions,kind regards,Matthias Leonhardthttp://www.happyarts.net___Mono-list maillist  -  Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono 1.1.10 + System.NotImplementedException

2006-04-05 Thread Daniel Morgan
What is your connection string?   Does it have the connection parameter "Persist Security Info=false" in it?  Just remove this connection parameter.Mireia <[EMAIL PROTECTED]> wrote:  Hi all,I have installed Mono 1.1.10 to work with ASP.NET, using the installer. Todo some tests, I start the XSP server (/opt/mono-1.1.10/bin/xsp) from thedirectory where I have my web page.When I open the web with a browser, I can visualize it, but I get thefollowing errors in the shell:** (/opt/mono-1.1.10/lib/xsp/1.0/xsp.exe:26363): WARNING **:_wapi_handle_unref: Attempting to unref unused handle 0x1b** (/opt/mono-1.1.10/lib/xsp/1.0/xsp.exe:26369): WARNING **:_wapi_handle_unref: Attempting to unref unused handle 0x1b** (/opt/mono-1.1.10/lib/xsp/1.0/xsp.exe:26356): WARNING
 **:_wapi_handle_unref: Attempting to unref unused handle 0x1c** (/opt/mono-1.1.10/lib/xsp/1.0/xsp.exe:26363): WARNING **:_wapi_handle_unref: Attempting to unref unused handle 0x1c** (/opt/mono-1.1.10/lib/xsp/1.0/xsp.exe:26356): WARNING **:_wapi_handle_unref: Attempting to unref unused handle 0x1c** (/opt/mono-1.1.10/lib/xsp/1.0/xsp.exe:26356): WARNING **:_wapi_handle_unref: Attempting to unref unused handle 0x1f** (/opt/mono-1.1.10/lib/xsp/1.0/xsp.exe:26356): WARNING **:_wapi_handle_unref: Attempting to unref unused handle 0x1f** (/opt/mono-1.1.10/lib/xsp/1.0/xsp.exe:26356): WARNING **:_wapi_handle_unref: Attempting to unref unused handle 0x20** (/opt/mono-1.1.10/lib/xsp/1.0/xsp.exe:26371): WARNING **:_wapi_handle_unref: Attempting to unref unused handle 0x20** (/opt/mono-1.1.10/lib/xsp/1.0/xsp.exe:26356): WARNING **:_wapi_handle_unref: Attempting to unref unused handle 0x21**
 (/opt/mono-1.1.10/lib/xsp/1.0/xsp.exe:26356): WARNING **:_wapi_handle_unref: Attempting to unref unused handle 0x22** (/opt/mono-1.1.10/lib/xsp/1.0/xsp.exe:26356): WARNING **:_wapi_handle_unref: Attempting to unref unused handle 0x23** (/opt/mono-1.1.10/lib/xsp/1.0/xsp.exe:26356): WARNING **:_wapi_handle_unref: Attempting to unref unused handle 0x24 If I try to do a SQL connection, I get an error page with the 500 code, andthe following message:System.NotImplementedException: The requested feature is not implemented.in <0x005af> System.Data.SqlClient.SqlConnection:SetProperties(System.String name, System.String value)in <0x002ef> System.Data.SqlClient.SqlConnection:SetConnectionString(System.String connectionString)... Is it a problem of configuration and it is not finding the libraries? Iforgot an environment variable, configuration of web.config, etc.?Thank you--View
  this
 message in context: http://www.nabble.com/Mono-1.1.10-%2B-System.NotImplementedException-t1397747.html#a3759201Sent from the Mono - General forum at Nabble.com.___Mono-list maillist - Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list
		Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] mod_mono and SQLite

2006-02-03 Thread Daniel Morgan
SQLite3.dll is the SQL Lite version 3 data engine and is a native shared library for Win32.  It is not an assembly.       Is this person running on Linux?  If yes, then they may have the wrong shared library for their operating system.  Did they check their etc/mono/config file to make sure the target in the dllmap is correct?  Do they even have the shared library?     For me, I had to put the shared library in the same place as the .net program I try to run.  However, this was on mono on windows for a console application.  Not sure about the web.Duncan McQueen <[EMAIL PROTECTED]> wrote:  I noticed the same thing and did have SQlite3.dll in the /bindirectory. SQLite3.dll is an assembly - and I think you need to haveit in your system path som
 ewhere
 but not your assembly directory.On 2/3/06, Everaldo Canuto <[EMAIL PROTECTED]>wrote:> Hi,>> Please type a:>> `ls -l /home/sfbell/forums/bin/*'>> and send us the result.>> Everaldo.>>> Em Qui, 2006-02-02 às 23:26 -0500, Steven Bell escreveu:> > `/home/sfbell/forums/bin/>> ___> Mono-list maillist - Mono-list@lists.ximian.com> http://lists.ximian.com/mailman/listinfo/mono-list>___Mono-list maillist - Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list
	
	
		 Yahoo! Mail 
Use Photomail to share photos without annoying attachments.___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Mono and Nokia 770 and mojoPortal

2006-01-27 Thread Daniel Morgan
Please bear with me. I could have written a blog entry, but writing an email is so much easier.     Nice to see Paco running Peditsharp on the Nokia 770.  Now, can sqlite run it on too.  If yes, I would like to see a Mono application that retrieves data from a sqlite database and displays it in a gtk# data grid (treeview/liststore).  Is it possible?     I see mojoPortal has support for a lot of databases.  What would someone need to get it to work with other databases, such as, Oracle, Sybase, Firebird, or DB2?
		Do you Yahoo!? 
With a free 1 GB, there's more in store with Yahoo! Mail.___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] ODBC Problems

2006-01-25 Thread Daniel Morgan
  What is the shared library name of ODBC software?     On Windows, it is odbc32.dll  On Linux or Unix, it depends on what you have?  iodbc?  unixodbc? something else?     On Linux, unixodbc would have a shared library of libodbc.so and iodbc would have a shared library of libiodbc.so.  However, I am just thinking off the top of my head.     You may need to modify the file called config in your etc/mono of your mono installation.  You should see dllmap for odbc32.dll.  You might need to modify the target to be whatever the name of your shared library name for ODBC is.     You can look here for more info:  http://www.mono-project.com/ODBCMelissa Vandenbrink <[EMAIL PROTECTED]> wrote:  HiI am having problems connection to my database ( sybase ) via odbc.Unhandled Exception: System.DllNotFoundException: odbc32.dllin (wrapper managed-to-native) System.Data.Odbc.libodbc:SQLAllocHandle (System.Data.Odbc.OdbcHandleType,intptr,intptr&)in <0x00078> System.Data.Odbc.OdbcConnection:Open ()isql for odbc does work:([EMAIL PROTECTED]) ~> /usr/local/bin/isql -v JWMP_DEV mvandenb PASSWORD+---+| Connected!    ||   |
 |
 sql-statement || help [tablename]  || quit  ||   |+---+SQL> quit___Mono-list maillist -
 Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list
	
	
		 Yahoo! Mail 
Use Photomail to share photos without annoying attachments.___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] System.Data.Common.DbDataAdapter

2006-01-01 Thread Daniel Morgan
It was a regression in trying to stub ADO.NET 2.0 new properties and methods.The regression has been fixed in svn.The new properties and methods for ADO.NET 2.O still need to be implemented. Also, various providers, such as, Npgsql, OracleClient, etc... will need to implement these features for ADO.NET 2.0 too.Fredrik Elestedt <[EMAIL PROTECTED]> wrote:  Hi,Anyone have any clue to as when this class will be implemented? It is afairly usefull class - especially the fill function :)Or does anyone have some code that will give the same result? (i.e.given connection and SQL statement result in a DataTable with named columns)I'm trying to use ASP.NET 2.0Thanks// Fredrik___Mono-list maillist  -
  
 Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list
		Yahoo! Photos 
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] OpenOffice Support ?

2005-12-18 Thread Daniel Morgan
The Installation Guide found in the SDK should prove usefull too.If you are using SuSe/Novell Linux like 9.2 or 10.0, your changes of running OO.o 2.0 with Mono are even better.I don't know if the latest release of Mono works with the OO.o/mono bridge.  Mono 1.1.8.3 should work or Mono 1.1.9.I would join the OpenOffice.org Ximian Edition mailing list and ask your questions about the OO.o/mono bridge there.http://lists.ximian.com/mailman/listinfo/openofficeThe standard OpenOffice.org 2.0 does not include the OO.o/mono  bridge.  However, the Ximian Edition of OpenOffice.org 2.0  may.  At least, the source of the Ximian Edition of OpenOffice.org  2.0 includes it.xiii29 <[EMAIL PROTECTED]> wrote:  Hi,   Thanks !I'm under Linux ... Gone work on it :-) !!      Daniel Morgan wrote:  I don't know of OpenOffice.org 2.0 has support  for Mono out-of-the-box.  You may have to build it yourself.  Also, make sure you download the SDK for Open Office.org 2.0.  http://www.go-oo.org/wiki/index.php/Mono_Integration  Read the OpenOffice.org 2.0 Developer's Guide  http://api.openoffice.org/docs/DevelopersGuide/ProfUNO/ProfUNO.xhtml  I would read Chapter 3.  Particularily, 3.4.4.11 CLI Language Binding.   This is mostly about
  using
 Microsoft .NET to use UNO components.  It  should prove helpful for Mono though.  What platform are you using to do this?  Linux or Windows or something  else?xiii29 <[EMAIL PROTECTED]> wrote:  Hi,I'm wondering if there is something to use OpenOffice Doc in Mono ...Thanks !  ___  Mono-list maillist - Mono-list@lists.ximian.com  http://lists.ximian.com/mailman/listinfo/mono-list   
 __  Do You Yahoo!?  Tired of spam? Yahoo! Mail has the best spam protection around   http://mail.yahoo.com ___Mono-list maillist  -  Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] OpenOffice Support ?

2005-12-17 Thread Daniel Morgan
I don't know of OpenOffice.org 2.0 has support for Mono out-of-the-box.  You may have to build it yourself.Also, make sure you download the SDK for Open Office.org 2.0.http://www.go-oo.org/wiki/index.php/Mono_IntegrationRead the OpenOffice.org 2.0 Developer's Guidehttp://api.openoffice.org/docs/DevelopersGuide/ProfUNO/ProfUNO.xhtmlI would read Chapter 3.  Particularily, 3.4.4.11 CLI Language Binding.   This is mostly about using Microsoft .NET to use UNO components.  It  should prove helpful for Mono though.What platform are you using to do this?  Linux or Windows or something else?xiii29 <[EMAIL PROTECTED]> wrote:  Hi,I'm wondering if there is something to use OpenOffice Doc in Mono ...Thanks
 !___Mono-list maillist  -  Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono (on Windows) Registry

2005-11-28 Thread Daniel Morgan
At one time, no, the registry was not  important.  It was meant for external third-party software to  locate Mono and determine the default CLR.I could have multiple versions of Mono installed, but there will only be one default CLR.  I'm not sure about the latest versions.Jeremiah Peschka <[EMAIL PROTECTED]> wrote:  I've been poking around on my Windows PC and I'm curious whether or not  Mono needs to the Windows registry keys to run or it can be run from a  registry-less environment - e.g. from an installation on an external  hard drive, iPod, flash drive, etc.Admittedly, I haven't removed the registry keys to find out, and I was  hoping someone would be able to shed some light on the issue.Thanks,Jeremiah 
 ___Mono-list maillist  -  Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list
		 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Re: [Mono-dev] Mono 1.1.9.1 Windows Installer Released

2005-09-30 Thread Daniel Morgan
I could not get mono to build with csc from ms .net; however, I was able 
to build mono using mcs installed via the installer.


Also what helped, I did not have ms .net anywhere in my PATH.

Wade Berrier wrote:


- also, as Kornel said, the runtime should not be statically linked,
but instead it should be
 dynamically linked against a mono-1.dll file. This should be the
default in our build process, so I don't know why this isn't
happening. What configure arguments are you
using when building the runtime ?

   



First, from Kornél:

"Note that most of your modifications are welcome and I like them
(especially
that you moved native exe's to bin directory)"

I didn't do anything special here.  That's the way the build came out.
The only ./configure switch I used was "--prefix="

Here's the scoop on the static linking.

I ended up compiling gtk-sharp 1 and 2 with Paco's snapshot of cygwin
March of 2004.  (gcc 3.3.1 cygming special).  That was the only way I
get get it to link.

Then I noticed that when I built mono on the newest cygwin, the native
exe's (mono.exe, monodis.exe, etc...) were statically linked and each
around 9 MB.

So, I then tried to compile mono under Paco's environment and ended up
getting errors: /monobuild/mono/mono/handles/semdel: No
such file or directory

So I packaged up the statically linked version.

I'd like to be able to build with the latest cygwin but have not been
able to get it linking correctly:

*** Warning: linker path does not have real file for library -lintl.
*** I have the capability to make that library automatically link in
when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libintl and none of the candidates passed a file format test
*** using a file magic. Last file
checked: /cygdrive/c/mono/Mono-1.1.8.3/bin/libintl-1.dll
*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libglibsharpglue. Therefore, libtool will
create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
ar cru .libs/libglibsharpglue.a error.o list.o object.o slist.o type.o
unichar.o value.o valuearray.o
ranlib .libs/libglibsharpglue.a
creating libglibsharpglue.la

I'm not sure why the file magic is failing with the latest cygwin.  I
would at least like to build with the same version of cygwin that our
buildbot is using so that I don't run into all these last minute build
issues.

I was also thinking: maybe we should be using msys/mingw instead of
cygwin.  They provide a less-changing environment.  Some excerpts from
their website:

.. (previously MinGW was a moving target with all the constant updates
to individual packages, but now it is easier to verify things as being
"MinGW 1.0 compatible").  ... The updates to this package and it's
utilities are more controlled ...

We're using the mingw compiler from cygwin anyway.

That's the scoop.  As soon as these issues are solved I'll be able to
post a windows build of mono that includes the dll files.

Wade

___
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


Re: [Mono-list] Building Mono under Cygwin

2005-09-15 Thread Daniel Morgan
In mcs/profiles, edit the win32 make fille.  Change the EXTERNAL_MCS from csc to mcs.
 
When I build mono on win32, I use mcs since csc seems to have problems.Michael Thomsen <[EMAIL PROTECTED]> wrote:
Now I get all the way through the building of the C runtime, but whenI get early on into the building of the C# runtime, I get an errorthat "mono/mono/handlers/semdel: no such file or directory"
		Yahoo! for Good 
Click here to donate to the Hurricane Katrina relief effort. 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Building Mono under Cygwin

2005-09-13 Thread Daniel Morgan
Make sure you have the bin directory of your mono installation in your 
PATH first.


export PATH=/cygdrive/c/mono-1.1.8.3/bin:$PATH

This article may help too.
http://www.ondotnet.com/pub/a/dotnet/2005/02/07/monowindows.html?page=2

You do not need the binaries for GLIB2 from the download page.  Use what 
is available with the installer.


Michael Thomsen wrote:


When I try to run make under Cygwin, Monoburg won't run because it
cannot find libglib2.dll. I have both the GLIB2 download from the
compilation page on the Mono site and GLIB2 from the Mono installer in
my path as well as a properly set PKG_CONFIG_PATH variable. Any
thoughts on what I should do?


On 9/13/05, Daniel Morgan <[EMAIL PROTECTED]> wrote:
 


Uninstall the glib2, gtk+ 2, gnome2 stuff from cygwin.
Download install the lastest windows installer for mono.
Build on Cygwin.
Make sure the environmment variable PKG_CONFIG_PATH is set to
C:\mono-1.1.8.3\lib\pkgconfig or wherever you have Mono installed.
Do not let spaces be in the installation path.
Have mono and mcs checked out to a prefix.
Start building in mono via:
./autogen.sh --prefix/my/mono/prefix
make
make install

Michael Thomsen wrote:

   


I can't get Mono to build from SVN under Cygwin. Everytime I try to
run configure, it says that it cannot use the glib2 package that
Cygwin provides and I even have VC7 in the path and have the binaries
for GLIB2 provided on the Mono website for building under windows.

Could someone tell me how I build Mono under Cygwin so that I have
everything in place to build it under Visual Studio .NET 2005?
___
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


Re: [Mono-list] Building Mono under Cygwin

2005-09-13 Thread Daniel Morgan

Uninstall the glib2, gtk+ 2, gnome2 stuff from cygwin.
Download install the lastest windows installer for mono.
Build on Cygwin. 
Make sure the environmment variable PKG_CONFIG_PATH is set to 
C:\mono-1.1.8.3\lib\pkgconfig or wherever you have Mono installed. 
Do not let spaces be in the installation path.
Have mono and mcs checked out to a prefix. 
Start building in mono via:

./autogen.sh --prefix/my/mono/prefix
make
make install

Michael Thomsen wrote:


I can't get Mono to build from SVN under Cygwin. Everytime I try to
run configure, it says that it cannot use the glib2 package that
Cygwin provides and I even have VC7 in the path and have the binaries
for GLIB2 provided on the Mono website for building under windows.

Could someone tell me how I build Mono under Cygwin so that I have
everything in place to build it under Visual Studio .NET 2005?
___
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


Re: [Mono-list] MySQL Connector/NET vs Mono

2005-09-08 Thread Daniel Morgan

If people are having problems running the MySQL Connector/NET on Mono, people could report these bugs to MySQL's bug database or wherever it is or a message to their public forum or mailing list to let them know.
 
However, I do believe "we" should continue to maintain ByteFX.Data since it works with Mono and it is distributed with Mono.  Nobody has stepped up to maintain it.  Any takers?
 
When having problems, it is usually good to include version info too:
What version of Mono?  Version of the MySQL database?  Version of MySQL Connector/Net?  Operating System/Processor?
 
I have read that ByteFX.Data fails to run on newer 4.x and 5.0 databases.
Martin Hinks <[EMAIL PROTECTED]> wrote:
Hi,I had lots of problems using the MySQL Connector under Mono andeventually reverted to using ByteFX - supported or not!However, If Joe's way works, then that is cool.On 9/8/05, Joe Audette <[EMAIL PROTECTED]>wrote:> I have been using the MySQL Connector in mono for> quite a while with no trouble at all in my project at> http://www.mojoportal.com> > I compile it on Windows and deploy it to the bin> folder of my web on linux and it works fine for me. I> don't think I am using the very latest version of the> Connector though, I think I am only 1 version behind> the current Connector release.> > Hope it helps,> > Joe> > --- Brion Vibber <[EMAIL PROTECTED]>wrote:> > > The documentation at> > http://www.mono-project.com/M
 ySQL
 strongly suggests> > that MySQL's Connector/NET should be used in> > preference to the ByteFX> > driver that ships with Mono.> >> > However the current release of MySQL Connector/NET> > (1.0.5) appears to be> > Windows-specific; it attempts to make native calls> > into some ws2_32.dll> > and fails to work on Mono on eg Linux or Mac OS X.> >> > Do we know if this is just a packaging bug (MySQL> > forgot to build a> > portable-friendly binary?) or if MySQL is> > specifically abandoning Mono> > and cross-platform compatibility?> >> > Should Mono's online documentation be updated to> > reflect this?> >> > -- brion vibber (brion @ pobox.com)> > > ___> > Mono-list maillist - Mono-list@lists.ximian.com> >
 http://lists.ximian.com/mailman/listinfo/mono-list> >> > > joe_audette [at] yahoo dotcom> http://www.joeaudette.com> http://www.mojoportal.com> ___> Mono-list maillist - Mono-list@lists.ximian.com> http://lists.ximian.com/mailman/listinfo/mono-list> -- Martin Hinkshttp://www.m-s-d.net___Mono-list maillist - Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] OpenOffice.org and Mono status update

2005-08-26 Thread Daniel Morgan
I heard some people such as Christian Hergert were interested in Mono working with Open Office.org 2.0.
 
Here is Michael Meek's blog about Open Office.org and Mono working together on SUSE 9.3 Beta2.
 
http://www.gnome.org/~michael/activity.html#2005-08-23
 
This links to a wiki detailing how to get OOo working with Mono:
 
http://www.go-oo.org/wiki/index.php/Mono_Integration
 
Here is what Michael had to say on his blog:
 
Mono/OO.o on SUSE 9.3 Beta2 working nicely out of the box here's how to get it working: 

Install the OpenOffice_org-mono package via Yast. 
Download my .exe & run it [you know you want to]: $ cd /usr/lib/ooo-2.0/program
$ MONO_PATH=. mono SpreadsheetSample.exe
Watch the frenzied spreadsheet construction 
 
		 Start your day with Yahoo! - make it your home page ___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Mono Bug Day

2005-08-26 Thread Daniel Morgan
There are two email lists that will help:
- mono-bugs 
- mono-patches
 
If you subscribe to these mail lists, you will be able to get email about a new bug or a change in a bug or its status.  Also, mono-patches will allow you to peer review others code.
 
Maybe a Pre-Release Days instead of Bug Day would be more appropriate for Mono.  We could help with docs, update status info on the mono wiki, test building the pre-release tarballs, test a pre-release of the installers, etc...  And of course, make sure any serious bugs are squashed so we can have an outstanding stable release.
 
However, any pre-release tarballs, RPMs, or installers would not be downloadable from the Downloads page.  Maybe only available as ftp and the word prerelease is in the tarball or installer's filename.
 
Just some ideas...
 
I'll be waiting to see your wiki page.
"Paul F. Johnson" <[EMAIL PROTECTED]> wrote:
Hi,> >What needs to be done?> > > >> I think that putting the following couple of pages together on the Wiki :> > - General informations on bug days :> > * What is a bug day ?> * Who can attempt ?This would need to be split and preferably, peer mentored. For example, user"a" may write and compile some code which clearly shows (say) MWF is brokenfor spot colours. This is submitted and a peer proofs the code to see thatit's not user "a" who has made a boo-boo before submitting as a real bug.> * When does it take place ?Logistically, the third is the biggest one given the diversity of placespeople are (I'm in the UK for instance while Peter (say) is out by 6 hoursfrom GMT). I'd suggest that the bug "day" would need to be split into two halfdays for when t
 he
 developers are around.> - Detailed informations on what to do during a bug day :> > This can be split in two parts : bug squashing and bug triaging :> > * As for bug triaging :> * How to find bug reports that are most important to triage ?> * How to triage a bug report ?All bugs are important, just some more than others. I remember finding onevery small bug in an application called TechWriterPro (it's a RISC OS app)which when investigated, proved to be massive and set back the releaseschedule by a month.> * As for bug squashing :> * How to find bug confirmed bug reports that are most important to fix ?> * How to fix a bug ?Ideally, the developers, though others should never be discouraged. This iswere the peer review comes into it's own - bugs which aren't bugs never getpast the reviewer.> along with an IRC channel and a mailing-list to announce specia
 l events
 > (like special bug days before a release, etc.) could be a good step > forward :-).Definitely!> What do you think about this ? I can give some time to help organize > these bug squashing/triaging thing. I can write the wiki pages too .> However, I think we should discuss about conventions used by mono > developers for the bugzilla system (like what version or milestone a bug > report should be assigned to, etc.) before doing it.Sounds a very good set of ideas. Would this bug day be best set on a saturdayor sunday though? Whatever happens, I'm happy to give over as much time as Ican. I am using mono more and more now (especially as it forms the basis ofsome of my research project) - I can give back this way :-)TTFNPaul(watching MS.NET deinstall while thrashing the HD)-- "Logic, my dear Zoe, is merely the ability to be wrong with authority" -
 DrWho___Mono-list maillist - Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-dev] Re: [Mono-list] Release notes for upcoming Mono.

2005-08-24 Thread Daniel Morgan

Thanks for the heads up.

Maybe this would be a good time for a Bug Day for Mono.  Maybe bug day 
is not the right words as someone brought up on the list.  However, I 
think having a day dedicated for people to get together on IRC and 
discuss about the release of Mono.  Packing the RPMs.  Testing them.  
Building the linux and windows installers.  Letting people test them.  
Writing documentation.  Creating demos.


Just an idea.

Miguel de Icaza wrote:


Hello,

 


   I am starting to prepare the release notes for the upcoming Mono:
please send me privately the highlights of the contributions and changes
that you have done since the 1.1.8 release.
   



I forgot to mention: the release would happen in 2-3 weeks.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

 



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


[Mono-list] Add FirebirdSql.Data.Firebird to mcs build

2005-08-21 Thread Daniel Morgan
Firebird is missing in both the Windows and Linux installers.  I noticed 
it does not get built when you build mcs. 


Can we get Firebird added to the build please?

Daniel Morgan wrote:

FirebirdSql.Data.Firebird is missing on Windows.  Can we get this 
added please?

___



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


[Mono-list] Firebird db provider missing from Mono 1.1.8.3 win32 installer

2005-08-20 Thread Daniel Morgan
FirebirdSql.Data.Firebird is missing on Windows.  Can we get this added 
please?

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


[Mono-list] Mono Bug Day

2005-08-18 Thread Daniel Morgan
Since GNOME is having a bug day, would it be possible that Mono have a Bug Day too?
 
http://live.gnome.org/Bugsquad/BugDays
		Yahoo! Mail 
Stay connected, organized, and protected. Take the tour___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Mono Database Documentation and Examples

2005-08-17 Thread Daniel Morgan
After seeing programmers struggling to connect to various databases using Mono, I realized we need some documentation and examples to help people get started.  
 
For instance, I could not find in a reasonable amount of time to figure out how to use parameters with ODBC to get data from a PostgreSQL database.
 
Does anyone have working examples to contribute?  I would like to add them to Mono's wiki.
 
http://www.mono-project.com/Database_Access
 
Other examples could include using gtk# to load a TreeView with data from a PostgreSQL database would be nice.
 
Or how to execute a stored procedure on PostgreSQL using the Npgsql provider.
 
Or populating an ASP.NET data grid via a DataSet that was populated from SQL Lite or MySQL.
 
Examples for various databases including Sybase, Oracle, SQL Server, MySQL, SQL Lite, ODBC, ADP (Advanced Data Provider), etc...
 
Thanks,
Daniel
 
		 Start your day with Yahoo! - make it your home page ___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Npgsql error

2005-08-05 Thread Daniel Morgan
If you wanted them both to be string, you could have:
 
string operatingsystem = reader["operatingsystem"].ToString();string nodeid = reader["nodeid"].ToString();
 
Or if needed the int, you could have:

 
string operatingsystem = reader.GetString(reader.GetOrdinal("operatingsystem"));
int nodeid = reader.GetInt32(reader.GetOrdinal("nodeid"));
 
Fabian Salamanca Dominguez <[EMAIL PROTECTED]> wrote:
Thanks to all!!The last one prints:System.String System.Int32never prints null, I'll try the other suggestions...java-ish lol, what's java?
On 8/5/05, Francisco Figueiredo Jr. <[EMAIL PROTECTED]> wrote: 
-BEGIN PGP SIGNED MESSAGE-Hash: SHA1Fabian Salamanca Dominguez wrote:>> Hi>Hi Fabian!> I tried to compile a simple C# program and access a Postgresql DB but I> got this error in runtime (it compiled with no errors) :>> [EMAIL PROTECTED] Mono]$ mcs dbaccess.cs  -r:Npgsql.dll -r:System.Data.dll> [EMAIL PROTECTED] Mono]$ mono dbaccess.exe>> Unhandled Exception: System.InvalidCastException: Cannot cast from> source type to destination type. > in <0x000e1> dbAccess:Main (System.String[] args)>string sql =>"SELECT operatingsystem, nodeid "
 +>"FROM assets";What are the sql types of operatingsystem and nodeid?Npgsql doesn't do any implicit conversion of types.>dbcmd.CommandText = sql;>IDataReader reader = dbcmd.ExecuteReader();>while( reader.Read()) {> string operatingsystem = (string) reader["operatingsystem"];> string nodeid = (string) reader["nodeid"];> Console.WriteLine("OS: " +>  operatingsystem + " " +
 nodeid);>}To be sure, do the following:Console.WriteLine(reader["operatingsystem"].GetType());This will show you what type is being returned.I hope it helps.- --Regards,Francisco Figueiredo Jr.Npgsql Lead Developerhttp://gborg.postgresql.org/project/npgsqlMonoBrasil Project Founder Member http://monobrasil.softwarelivre.org- -"Science without religion is lame;religion without science is blind."  ~ Albert Einstein -BEGIN PGP SIGNATURE-Version: GnuPG v1.2.6 (GNU/Linux)Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.orgiQEVAwUBQvNlyv7iFmsNzeXfAQLKzAf/V/qotjEIx6JH9HS7zGcrlLzfUad71xeP WVgR8xo7TkYVvM0rThA3QLk9nlzT+1MLwlLwLO+HjTvz60vgEUmcWwbTFqjbZnt0hkTmokXeVAdQjLjUsPRAb5xPPcuT89YnGtrfSdpv7wLe/BXJMT/JXE9C/94BuXiBNL+50QpUQc9ZAKGwcZ4qkO1cDCIi+cLTgjdPBAqOxInLFzYvAbkAgd/yKn1EkRYC/UYdtsQDdE6ie0dyPh9Q1L6tlBE0bNa7ol0sbY7OjuFtEkx2DvjOycrdMjjCt7HJ 1YkWLIlxUy6lMSzSnYwl7c0RRAgRVeBKldqknPYp9NbfCyC994NGzA===txOv-END PGP SIGNATURE-___Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/___Mono-list maillist  -   Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list-- Fabian ___Mono-list maillist - Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list
		 Start your day with Yahoo! - make it your home page ___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] binary .NET in JVM

2005-08-01 Thread Daniel Morgan
Take a look here for running ASP.NET stuff on J2EE.  I'm not sure about 
win forms stuff.


Visual MainWin for J2EE

http://www.mainsoft.com/

Felipe Maya wrote:


Are There any way to run mono .NET application on Java Virtual Machine?
 



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


Re: [Mono-list] System.InvalidOperationException: State != Open When trying to access MS SQL Sever Database?

2005-08-01 Thread Daniel Morgan
System.Data.OleDb requires libgda to work.  libgda only works on Linux with GNOME 2.0.  Also, OleDb is not actively maintained.
 
I suggest using the System.Data.SqlClient or System.Data.Odbc to connect to Microsoft SQL Server.  However for System.Data.Odbc, this will require ODBC and an ODBC driver for SQL Server.  On Windows, this should come with MDAC.  On Linux, use unixODBC and freetds or use iODBC and freetds.
 
http://www.mono-project.com/Database_Access
Alan Zebchuk <[EMAIL PROTECTED]> wrote:
Hi,I'm trying to get one of our .NET applications running on mono and currently receive the following error:System.InvalidOperationException: State != Openin <0x00260> System.Data.OleDb.OleDbCommand:ExecuteReader (CommandBehavior behavior)in (wrapper remoting-invoke-with-check) System.Data.OleDb.OleDbCommand:ExecuteReader (System.Data.CommandBehavior)in <0x00028> System.Data.OleDb.OleDbCommand:System.Data.IDbCommand.ExecuteReader (CommandBehavior behavior)in <0x00140> System.Data.Common.DbDataAdapter:Fill (System.Data.DataSet dataSet, Int32 startRecord, Int32 maxRecords, System.String srcTable, IDbCommand command, CommandBehavior behavior)in <0x00064> System.Data.Common.DbDataAdapter:Fill (System.Data.DataSet dataSet)The Database that's being accessed is a MS SqL server runn
 ing on
 another machine.The Connection string currently looks like: provider=SQLOLEDB;Server=192.168.1.15;database=my_database;uid=my_user;p wd=my_passwordAny advice is greatly appreciated,Thanks,Alan___Mono-list maillist - Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] MonoDevelop in Mono Liux Intaller

2005-04-28 Thread Daniel Morgan
Hello,

I installed MonoDevelop on FC3 via the Mono Linux Installer.

MonoDevelop does not build nor run any projects it creates.  How can
this be corrected?

As of now, I have to go to the command-line and run the make.sh script
that MonoDevelop created.  This builds successfully, but in a different
directory named Build.  The built program does work in that directory
though.

I had some co-workers impressed by Mono even though MonoDevelop couldn't
compile/run.

Thanks,
Daniel


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


[Mono-list] Mono Linux Installer suggestions

2005-04-26 Thread Daniel Morgan
Works great on Fedora Core 3 Linux!  

It installs so easily just like the Windows installer.  You can not get
any easier than this.

However, here are issues I found with it so far. I do not know if these
have been reported yet or not:

1. gacutil -l 
  fails to run.  it can not find /usr/local/mono/gac

  It is correct about the directory not existing. Mono was installed to
my $HOME in directory mono-1.1.6 

2. xsp - when you run xsp out of the box, you could have it specify xsp
test pages.  This is what I have to do now.

  xsp --address 192.168.1.101 --port 8080 \
  --root $HOME/mono-1.1.6/share/doc/xsp/test

I figured this out only because I'm already familiar with xsp, but for
someone who is new - they may think it is broken - even though it is
not.

3. monodoc works nicely; however, trying to create new docs it fails for
me.

monodoc --update assembly.dll folder/
fails.  Or am I using monodoc incorrectly?

[EMAIL PROTECTED] ~]$ monodoc --update
$HOME/mono-1.1.6/lib/mono/1.0/Mono.Data.SybaseClient.dll sybasedocs/

Unhandled Exception: System.NullReferenceException: Object reference not
set to an instance of an object
in <0x00043> Updater:GetName (System.Type t)
in <0x000d0> Updater:Generate (System.Type type, System.String assembly,
System.String ns, System.Int32 count)
in <0x000ae> Updater:Generate (System.String assembly)
in <0x00146> Updater:Main (System.String[] args)

I want to add docs for missing assemblies that are included with Mono.




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


  1   2   3   >