Solved

Problem WIth VB Application Running through Mono On Ubuntu 9.04

Posted on 2009-07-10
2
1,519 Views
Last Modified: 2013-11-12
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.
0
Comment
Question by:resourcesys
2 Comments
 
LVL 41

Expert Comment

by:graye
ID: 24840621
Just thinking about it a second... I'd recommend that you ditch the "Overriding wndproc" idea to see if it compiles and runs
0
 

Accepted Solution

by:
resourcesys earned 0 total points
ID: 24860279
I have almost completed re-writing the application in C# and am having a lot more luck on Linux.
Thanks for your help graye.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question