[mono-vb] Running Omron Health Software with Mono

Rafael Teixeira monoman at gmail.com
Mon Jan 26 12:03:45 EST 2009


>From the error message, it seems this application was developed with
VB.NET1.0 (VB 7), and so references an old version of the
Microsoft.VisualBasic
library, which, AFAIK, mono doesn't carry anymore. Mono's currently ships
with just the 8.0.x version of this runtime library which matches our vbnc
compilier (VB.NET 2.0/VB 8).
Short answer is: unless Omrom is ready to release a VB.NET 2 (VB8) version
of it's software (or a C# or Boo version), it is really hard even for them
to make the app a good citizen in mono.

Worse, it is probable that if they are evolving the app they are targetting
VB.NET 3 (VB9), which is also unsupported in Mono.

Besides their FAQ say they depend on MDAC (Microsoft Data Access Components)
 which is a set of windows (x86,non-portable) ActiveX libraries.

Sorry for the bad news.

:|

On Sat, Jan 24, 2009 at 10:08 AM, Daniel Qarras <dqarras at yahoo.com> wrote:

> Hi!
>
> The only thing which still forces me to have Windows alongside Linux on my
> laptop is Omron Health Management Software used with Omron pedometer. I
> tried running it with Mono-2.2 but got the following errors:
>
> localhost:/tmp/mono/omron> mono omron.exe
>
> ** (omron.exe:9449): WARNING **: The following assembly referenced from
> /tmp/mono/omron/Omron Health Management Software.exe could not be loaded:
>     Assembly:   Microsoft.VisualBasic    (assemblyref_index=1)
>     Version:    7.0.5000.0
>     Public Key: b03f5f7f11d50a3a
> The assembly was not found in the Global Assembly Cache, a path listed in
> the MONO_PATH environment variable, or in the location of the executing
> assembly (/tmp/mono/omron/).
>
>
> ** (omron.exe:9449): WARNING **: Could not load file or assembly
> 'Microsoft.VisualBasic, Version=7.0.5000.0, Culture=neutral,
> PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
>
> ** (omron.exe:9449): WARNING **: Missing method UBound in assembly
> /tmp/mono/omron/Omron Health Management Software.exe, type
> Microsoft.VisualBasic.Information
>
> Unhandled Exception: System.IO.FileNotFoundException: Could not load file
> or assembly 'Microsoft.VisualBasic, Version=7.0.5000.0, Culture=neutral,
> PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
> File name: "Microsoft.VisualBasic, Version=7.0.5000.0, Culture=neutral,
> PublicKeyToken=b03f5f7f11d50a3a"
> zsh: exit 1     mono omron.exe
> localhost:/tmp/mono/omron> gacutil -l | grep VisualBasic
> Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral,
> PublicKeyToken=b03f5f7f11d50a3a
>
>
> Is there anything that could be done to get the software working?
>
> More info about the software (incl download) and the pedometer can be found
> at:
>
>
> http://www.omronhealthcare.com/product/1132-187-pocket-pedometer-with-pc-software-hj-720itc
>
> Thanks!
>
>
>
>
>
> _______________________________________________
> Mono-vb mailing list
> Mono-vb at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb
>



-- 
Rafael "Monoman" Teixeira
---------------------------------------
"I myself am made entirely of flaws, stitched together with good
intentions."
Augusten Burroughs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-vb/attachments/20090126/d51770bf/attachment.html 


More information about the Mono-vb mailing list