Solved

Problem WIth VB Application Running through Mono On Ubuntu 9.04

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

 Database Backup and Recovery Best Practices

Join Percona’s, Architect, Manjot Singh as he presents Database Backup and Recovery Best Practices (with a Focus on MySQL) on Thursday, July 27, 2017 at 11:00 am PDT / 2:00 pm EDT (UTC-7). In the case of a failure, do you know how long it will take to restore your database?

Question has a verified solution.

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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

635 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