Solved

Problem WIth VB Application Running through Mono On Ubuntu 9.04

Posted on 2009-07-10
2
1,523 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Fine Tune your automatic Updates for Ubuntu / Debian
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.
Suggested Courses

739 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