Link to home
Start Free TrialLog in
Avatar of resourcesys
resourcesys

asked on

Problem WIth VB Application Running through Mono On Ubuntu 9.04

I have an application that I am trying to get running on Ubuntu.
I have installed the latest version of Mono and MonoDevelop. I can open the project in MonoDevelop on Ubuntu but when I go to build the solution I get the following error:

"Unexpected error: Exception has been thrown by the target of an invocation. (VBNC99999)"

When I double click on the error I get the following Error Message:

"File not found: home/peter/...myApp.../<MyGenerator>"

I can't for the life of me find any file called <MyGenerator>.
I have tried running the same solution in Windows using Mono Console and it runs but crashes after a few seconds.

Can anyone point me in the right direction?
I have considered rewritting the application in C# as I believe this is better supported in Mono. Is this correct or will I have similar problems?

In regard to the application, I am using controls such as:
DataGridViews,
Labels,
ComboBoxes,
PictureBoxes,
Timers,
Buttons, and other standard type controls.

The only non standard things I am doing are:
Overriding wndproc to handle custom mouse up/down events,
Adding custom controls to the DataGridView such as adding Pictureboxes to get animated
gifs.

Aparts from that everything else is pretty much standard.
I am using .net 2.0 also.
Avatar of graye
graye
Flag of United States of America image

Just thinking about it a second... I'd recommend that you ditch the "Overriding wndproc" idea to see if it compiles and runs
ASKER CERTIFIED SOLUTION
Avatar of resourcesys
resourcesys

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial