[Mono-winforms-list] Problem with accessiblename property

Sandy Armstrong sanfordarmstrong at gmail.com
Tue Feb 24 13:50:20 EST 2009


On 02/01/2009 12:34 PM, aardsoft wrote:
> Hi,
>
> I have a c# winforms application developed with VS2008. It runs merrily on a
> Suse Linux VM until the code tries to use the .AccessibleName property of a
> Label control. It then crashes. The same code runs OK back on the Windows
> development box which is referencing the Mono.Data and Mono.Data.tds dll's.
> Using MessageBox debugging I have ascertained that the code does not error
> when setting .AccessibleName to a value. However when checking for that
> value later in the code in the .AccessibleName attribute it isn't there. The
> same is also true about the AccessibleDescription property.
>
> I am an enthusiastic newbie to Mono and I am impressed with performance of
> the .Net c# running on Linux. Any comments or pointers would be most
> appreciated.

This was fixed a few months ago, so you'll need to try again with Mono 
2.4 (should be fixed in the latest preview releases, and 2.4 final is 
coming out next month).

If you continue to have problems, please try running your app from the 
command line with `mono --debug myapp.exe`, and paste the stack trace of 
the crash here (or in a bug report).

Best,
Sandy


More information about the Mono-winforms-list mailing list