mono

GTK+ widgets/windows being (randomly) corrupted, with what seems to be timers.

Hi, I have recently implemented a scrolling text across an area of limited screen estate using a timers repeating every 100ms, and some simple string appending. However, after this very implementation, I have come to realise that my GUI is getting randomly bugged/corrupted after a certain while. That is to say that some widgets/windows...

What command line build tools (like make) can I use with Mono C#?

I need to use C# on Mac, and I have Mono. What command line tools are for building purposes Mono/C#? Can I just use make? Or is there any tool for that just like Ant for Java? ...

Simple cross platform GUI app

I would like to know if there is any way that I could build a very simple GUI app (it doesn't even have to look good) that will run on a fresh install of Windows Vista and OS X with no other installations needed by the user. I would perfer not to use Java (just out of personal programming preference). I will use it though, if it is the o...

Mono Winforms Mac OS X Replacement for WebBrowser

I'm one step away from having my Windows .Net application working on Mac OS X, and the last thing I need to figure out is the WebBrowser control. I need to display a webpage and not much more with winforms but haven't been able to find any examples or information on how I can replace the WebBrowser control on Mac OS X Has anyone alrea...

WinForms/Console application on Mono, how to know it runs as root

As we can execute such executables in two ways, such as "sudo mono test.exe", and "mono test.exe". Now I want to know how to detect whether this application is running as root inside the application itself. I tried to check user name like below and see whether they equal to "root", Thread.CurrentPrincipal.Identity.Name Process.GetCu...

Warning: System.Web.dll built without parts that depend on: System.Web.Services.dll Mono.Web.dll

I am building mono (2.6.3) on Ubuntu 9.10 I am getting the following error: Warning: System.Web.dll built without parts that depend on: System.Web.Services.dll Mono.Web.dll Does anyone know what is causing this, and how I may resolve this? ...

Can a Mono application be deployed using ClickOnce?

I am using Mono to write a cross-platform application. On Windows, is it possible to deploy this application using ClickOnce? ...

Webservice for serial port devices

Hi I want to create a remote webservice for an application that is now avaliable only localy. This application controlls three devices (each is controlled separately) connected on serial port. The problem is that I don't know how to take care of passing back information that a device return requested data. For example - I send move comm...

Operation is not valid due to the current state of the object

Sometimes, when running a Mono .NET application (it seems to not depend on the input data, as it does not change), I run into following situation: when trying to Dequeue an element from a (non-empty, I check its Count beforehand) Queue, an exception is thrown: Unhandled Exception: System.InvalidOperationException: Operation is not va...

Installing MonoDevelop on Suse Enterprise 10.0

I tried to install MonoDevelop on Suse 11.0 Enterprise, using the 1-click install on the MonoDevelop download page, but quickly wound up in a tangle of missing dependencies. I then tried using the Suse software repositories to get MonoDevelop, and waded through several of the dependencies for awhile trying to get the necessary packages ...

How to refresh Mono ASP.NET page without restarting the web server?

When I make changes to a file, Mono ASP.NET doesn't see my changes, I have to do this: sudo /etc/init.d/apache2 restart I remember when Mono ASP.NET executes ASP.NET it caches the compilation somewhere. Before, when the updated page doesn't come up, I just delete that cached compiled code. I just forgot the exact path How to make M...

Linux friendly (.NET/Mono) browser object?

Hi folks, A friend of mine (familiar with C# and .NET on Windows) has asked how to port some functionality to a Linux host. This functionality is based on a JSP web page that fetches some data from the host server and displays it in a banner on a page. His Win/C#/.NET code simply creates a browser object which loads the page and he then ...

Use the same log4net assembly in .NET and Mono

Hi, I've downloaded log4net, but I've realised that there are different assemblies for .NET and Mono. Is possible to use the same assembly for .NET and Mono? I wouldn't like to have to recompile the application or change the file manually, is there a way to add one or add the two and put a condition somewhere? Cheers. ...

How to set gtk file chooser button default to user's home folder

I've got a gtk file chooser button on my application I am writing in c# using Mono Develop. I would like to set the file chooser's default location to the users' home directory regardless of what user is running it. I've tried the ~/ short cut - fchFolder1.SetCurrentFolder("~/"); - but this did not work. I was just wondering if there wa...

Mono webbrowser

Hi to all, I'm a new to mono enviroment and I have some question to ask... I'm trying to make a "browser" that display me a web page, well in windows NET is easy I can use Form.Window.WebBrowser. So I test with Moma this app, and it notice me that I can't use Form.Window.Webbroser " mac osx not compatible", Well I search around th...

Can I use SQL Server Compact Edition CE on Mono?

Does anyone know if I can use SQL Server Compact Edition 3.5 on mono? I'm hoping they are written as managed assemblies and will work ok..does anyone have any experience? ...

Is Mono is Matured for Live Websites?

I am trying to figure out is the possibility of Deploying Existing ASP.Net/C# 3.5 SP1 Website to Linux Server with Mono Runtime. Is it really safe for live web sites? Interested in this because of cost cutting. ...

Can I connect to an Oracle database in a way that will work in a Mono environment (on Linux) and in a ClickOnce deployment (on Windows)?

Obviously I'd like to not have to install an Oracle client (other than simply a DLL), because that would prohibit my ClickOnce goal. I tried System.Data.OracleClient, but it threw an exception, "System.Data.OracleClient requires Oracle client software version 8.1.7 or greater." Update: It seems that System.Data.OracleClient is not the ...

Array/List/Directory of System.Type

I have a lot of classes and want to create some kind of 'directory'. So that I can create menus automatically. Clicking a menu-item would then create an instance of the class and shows the window. What I want for this is an array of System.Type where I can stuff in all the classes without instantiating them. Though from my test and (...

XSD -> Libglade XML -> XML

Is there an open-source method to do this? Maybe XSLT? I am looking at developing this using mono or java I have a set of XSDs that are seeminingly impossible to do an automatic converstion to classes/ddls, I am looking to find a low cost low foot-print solution to this problem. Essentially trying to convert these XSDs into a GUI Form ...