Solved

Problem WIth VB Application Running through Mono On Ubuntu 9.04

Posted on 2009-07-10
2
1,516 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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Suggested Solutions

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

706 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now