Re: [Mono-list] Using Mono/C# to develop simple OSX app

2015-10-26 Thread Paul Johnson
Hi, Sorry for the basic post but I'm new to OSX development and Mono. I am a VB.net programmer and want to develop a simple single form app native to OSX that will open a text file, parse it and generate a PDF with some text and a couple of images. The opening of the file is easy enough in C#.

[Mono-list] Cross compiling to target the RPi

2014-06-27 Thread Paul Johnson
Hi, I have my RPi set up with Raspbian but the version of mono available is something like 3.2.8 and we currently have 3.4 in the wild. Is there a way to compile mono and the toolchain on my iMac but target to run on the RPi? Paul -- Out now from Packt Publishing - "Xamarin Mobile Applicati

Re: [Mono-list] Regression in Winforms Support for version > 3.0

2014-04-09 Thread Paul Johnson
Hi, An yep, bugs happen. However, the bug was found in 11/2012 (mono 3.0.1), and bug 14586, a duplicate of this bug, was (re-)found in 09/2013. Currently, in 4/2014 (mono-3.2.3), the bug has not still been solved, while the fix seems just to add an os="!windows" attribute to those lines. I under

Re: [Mono-list] Fun and games with Sqlite and System.Reflection

2014-04-09 Thread Paul Johnson
Hi Robert, How about checking whether the IgnoreAttribute is applied to the property? for (int i = 0; i < properties.Length - 1; i++) { // ignore props marked with [Ignore] if (properties[i].GetCustomAttributes(typeof(IgnoreAttribute), false).Length > 0) next; } Perfect. Wh

[Mono-list] Fun and games with Sqlite and System.Reflection

2014-04-09 Thread Paul Johnson
Hi, I have a very simple SQLite database class which I'm using System.Reflection to serialise and use within my DBManager class. My class looks like this (it's a test case to try and get things working before I integrate it) public class dbclass { [PrimaryKey] public string Id { get

[Mono-list] System.Workflow namespace

2014-01-15 Thread Paul Johnson
Hi, I've seen on the main mono website that System.Workflow has been more or less completely implemented now which is fantastic news for me. My only question is this - is it part of the main bundled Mono distribution and if it is, do I need to do anything to access it? I can't see anything i

Re: [Mono-list] Can this linq be optimised?

2013-06-06 Thread Paul Johnson
Hi, Another thing you might want to try is to check if the string actually needs modification instead of always creating substrings and then concatenating them, even if the result would be identical to the input. This would be an interesting way to do it - the problem is that there may be spa

Re: [Mono-list] Can this linq be optimised?

2013-06-05 Thread Paul Johnson
Hi, can you give us some example strings? Sure. The names can be in either the form of ( foo ) or (foo) of ( foo) or (foo ) (though the last two are rare) Paul -- "Space," it says, "is big. Really big. You just won't believe how vastly, hugely, mindbogglingly big it is. I mean, you may th

[Mono-list] Can this linq be optimised?

2013-06-04 Thread Paul Johnson
Hi, I have a class containing ints, strings and anything else you'd expect to find in a class. I create a list of the class and then extract the strings and perform a Distinct() on them. That bit is easy. Problem is this - the strings all have something in brackets. Sometimes the braces have

Re: [Mono-list] 2 Questions

2013-04-25 Thread Paul Johnson
mono guys (though they do a SuSE one). As I don't use Ubuntu (I'm a Fedora guy), I'm not too sure which version they have in their base. And please do create debian packages for deployment rather then a script as Paul Johnson is suggesting. A debian package is the correct way to

Re: [Mono-list] 2 Questions

2013-04-25 Thread Paul Johnson
Hi, 1-On Ubuntu the MonoDevelop package seems rather out of date, version 2.8 and can’t compile some C# code I have. Does anyone know if there are plans to update this? Is Ubuntu a priority for anyone these days? You need to file a bug with ubuntu for this. 2-Does anyone know if there are

[Mono-list] Optimising some large loops using LINQ question

2013-04-23 Thread Paul Johnson
Hi, I'm working on a project that has some very large loops in it that I'd like to remove and use some bits of LINQ to speed things up. The current code looks like this foreach (Task t in db.getSubscription().Tasks) { if (t.TaskID == task.TaskID) { foreach (ReadTask rt in

Re: [Mono-list] Ported code from VB6 to VB.NET problem

2013-03-21 Thread Paul Johnson
Hi Rolf, The easiest solution is to not use WithEvents, but attach event handlers manually (in any case your WithEvents declaration is wrong, you'd be listening for events on the List, not events from the individual buttons). For Each button In cmdButtons AddHandler button.Click, cmdButton

[Mono-list] Ported code from VB6 to VB.NET problem

2013-03-21 Thread Paul Johnson
Hi, I've ported some of my old code from VB6 to VB.NET and have fixed just about all of the issues except for one. In VB6, there are collection arrays (so you can have the likes of an array of buttons etc). To get around the lack of these in VB.NET, I'm using a List for them For example D

Re: [Mono-list] SQLLite problem

2013-03-14 Thread Paul Johnson
Hi, My guess, there is an escape character or SQLite syntax issues in the previous field being supplied. The Siblings value may be the issue, but that is just a quick guess. That was another thought. Replace(Environment.NewLine, "") didn't clear the issue. Here is an example of one of the rec

[Mono-list] SQLLite problem

2013-03-14 Thread Paul Johnson
Hi, I seem to be having a problem with inserting into my SQLLite database. It is set up like this I have the SQLLite.cs file referenced in a helper class that provides the interface to the app (just to make my life simple really). This helper class creates the table, deletes the table and do

[Mono-list] XML reading problem

2013-03-13 Thread Paul Johnson
Hi, Got a small XML issue I could do with some help on. I have an XML file that looks like this Girly Girl ... The GirlRecord can contain upto 50 different fields - it doesn't have to contain all of them (so a record with 26 fields is fine). I have a containing class which looks like this

[Mono-list] Updating my gmail source code

2013-02-16 Thread Paul Johnson
Hi, I have on my website a nice simple way to connect to gmail and pull down emails with it. It worked. However, I've had an email from someone who decided to implement it to say it no longer worked. URL is http://www.all-the-johnsons.co.uk/csharp/email.html Having looked over the code, it's

[Mono-list] Audio/Video cross platform

2012-08-14 Thread Paul Johnson
Hi, I expect the answer here will be a no, but here goes. Is there any way in .NET that I can detect if a machine has any form of microphone or webcam connected or is there a cross platform library that can be used to detect these sorts of things? Thanks Paul -- "Space," it says, "is big. R

[Mono-list] Simple List problem which is causing me a right royal issue!

2012-04-01 Thread Paul Johnson
Hi, This is probably something seriously simple to solve, but my brain is telling me otherwise. My code is as follows using System; using System.Collections.Generic; namespace ListProblems { internal class Program { public class vars { public string foo;

[Mono-list] Console calendar

2012-02-28 Thread Paul Johnson
Hi, I'm trying to piece together a simple calendar in C#. It is not a winform app, but a console application (so I can't just use the winform DatePicker). I've come across a couple of C examples, with http://www.codingunit.com/how-to-make-a-calendar-in-c being the simplest to port over. Pro

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

2011-10-15 Thread Paul Johnson
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 searchInf

Re: [Mono-list] Developer Express on Linux

2011-08-03 Thread Paul Johnson
Hi, On 3 August 2011 14:56, Nils Andresen wrote: > Hi.. > Since I recently tried doing some hooks in Windows i'll add my 2ct. > > 2011/8/3 Paul Johnson : > > http://support.microsoft.com/kb/318804 makes things clear. The only real > > swines are the low level W

Re: [Mono-list] Developer Express on Linux

2011-08-03 Thread Paul Johnson
Hi, 2011/8/3 Hamit Abdullah SARMIŞ (Uygulama Geliştirme Altyapı Müdürlüğü) < hamitabdullah.sar...@vakifbank.com.tr> > Thanks for your replies. > > We also consider using wine but, our applications need to be .net framework > 4 which is not supported by wine (According to winehq). > > On

Re: [Mono-list] System.Windows.Forms not working

2005-06-07 Thread Paul Johnson
Hi, > Mono System.Windows.Forms Assembly [Revision: 44786; built: 2005/5/25 > 22:34:45] That's quite old. Have you done a fresh checkout and build and seen if the problem still exists? TTFN Paul -- "He's not the Messiah, he's a very naughty boy" - Life of Brian, Monty Python _

Re: [Mono-list] Compiling gtkmozembed-sharp from svn

2005-02-18 Thread Paul Johnson
Hi, On Fri, 2005-02-18 at 10:06 +, Dave Murphy wrote: > mono, mcs, gtk-sharp (1.0 and 2.0) have all compiled successfully, with > --prefix=/usr/local. Any ideas where I should start looking? I take it you've compiled libgdiplus and have both gtkhtml3-devel and gtksourceview-sharp installed a

Re: [Mono-list] Monodevelop SVN

2005-02-04 Thread Paul Johnson
Hi, > So I looked into svn.myrealbox.com to get a more up to date version of > Monodevelop, in hope that the error will be gone. But I am not able to > find it. Is Monodevelop not part of Mono anymore? I wasn't aware it ever was! I thought MonoDevelop is just a C# IDE targetted at Mono. TTFN

Re: [Mono-list] Configure Problem

2005-01-14 Thread Paul Johnson
Hi, > I have a problem. When I was make "./configure -- prefix/usr/local" > for installation mono, computer is giving this error : You don't need to specify /usr/local, it's set as the default. Also the format is --prefix=/usr/local - note, no spaces and an equals. > checking for pkg-config...

Re: [Mono-list] Building Mono from SVN

2005-01-12 Thread Paul Johnson
Hi, > I've read of people having problems with the 'corlib out of sync' > errors, and I was wondering how often I should be pulling and building > from SVN. I do it daily. Sometimes more often. > I was planning on writing a script to handle a batched SVN > pull and build process and I was wond

Re: [Mono-list] Re: Installing from src

2005-01-10 Thread Paul Johnson
Hi, > Is Paul's site currently down? I can't resolve it. Server was down for part of Sunday. It's back up and working now. TTFN Paul -- "He's not the Messiah, he's a very naughty boy" - Life of Brian, Monty Python ___ Mono-list maillist - Mono-li

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

2004-12-01 Thread Paul Johnson
Hi, > I dropped development for mono for a while. Tried ubuntu but there the > monodevelop package gives you the trouble. Mono 1.0.4 and the current developer versions work equally well on FC3 and FC rawhide (I run both) > We are developers having trouble to get our runtime working on a major >