LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Please help in this problem.I've error in using mono in vb.net apps under Ubuntu. (https://www.linuxquestions.org/questions/linux-software-2/please-help-in-this-problem-ive-error-in-using-mono-in-vb-net-apps-under-ubuntu-545304/)

jetro2k5 04-11-2007 09:26 PM

Please help in this problem.I've error in using mono in vb.net apps under Ubuntu.
 
Friends, deeply needed your help!!!!

My apps was developed under Windows using Microsoft VB.Net Framework 2.0.
My apps connecting to Biometrics machine to get data inside it.
My apps transfer data from Biometrics to MS SQL Databse (we use SQL connection)
My apps use the dll of Biometrics (COM) to use methods and properties of Biometrics machine.

I used Mono to run several apps in Ubuntu,but that was supported Framework 1.0,not connecting to database,does not use COM,and does support any dll only executable file.


------------------------------------------------------------------------------------------------
This was my error when i run "mono /home/tux/Desktop/apps.exe" :

(/home/tux/Desktop/PayboxT4/PayboxT4.exe:9640): Gdk-WARNING **: locale not supported by Xlib

(/home/tux/Desktop/PayboxT4/PayboxT4.exe:9640): Gdk-WARNING **: cannot set locale modifiers

** (/home/tux/Desktop/PayboxT4/PayboxT4.exe:9640): WARNING **: Missing method System.Windows.Forms.TabPage::set_ImageKey(string) in assembly /home/tux/mono-1.2.3.1/lib/mono/gac/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll, referenced in assembly /home/tux/Desktop/PayboxT4/PayboxT4.exe

Unhandled Exception: System.NotImplementedException: The requested feature is not implemented.
at Microsoft.VisualBasic.CompilerServices.Utils.GetResourceString (System.String ResourceKey, System.String[] Args) [0x00000]


at GSCOM.PayboxT4.My.MyProject+MyForms.Create__Instance__[MainForm] (GSCOM.PayboxT4.MainForm Instance) [0x00000]
at GSCOM.PayboxT4.My.MyProject+MyForms.get_MainForm () [0x00000]
at GSCOM.PayboxT4.My.MyApplication.OnCreateMainForm () [0x00000]
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00000]
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00000]
at GSCOM.PayboxT4.My.MyApplication.Main (System.String[] Args) [0x00000]

r00tb33r 04-11-2007 09:48 PM

Quote:

Originally Posted by jetro2k5
Friends, deeply needed your help!!!!

My apps was developed under Windows using Microsoft VB.Net Framework 2.0.
My apps connecting to Biometrics machine to get data inside it.
My apps transfer data from Biometrics to MS SQL Databse (we use SQL connection)
My apps use the dll of Biometrics (COM) to use methods and properties of Biometrics machine.

I used Mono to run several apps in Ubuntu,but that was supported Framework 1.0,not connecting to database,does not use COM,and does support any dll only executable file.


------------------------------------------------------------------------------------------------
This was my error when i run "mono /home/tux/Desktop/apps.exe" :

(/home/tux/Desktop/PayboxT4/PayboxT4.exe:9640): Gdk-WARNING **: locale not supported by Xlib

(/home/tux/Desktop/PayboxT4/PayboxT4.exe:9640): Gdk-WARNING **: cannot set locale modifiers

** (/home/tux/Desktop/PayboxT4/PayboxT4.exe:9640): WARNING **: Missing method System.Windows.Forms.TabPage::set_ImageKey(string) in assembly /home/tux/mono-1.2.3.1/lib/mono/gac/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll, referenced in assembly /home/tux/Desktop/PayboxT4/PayboxT4.exe

Unhandled Exception: System.NotImplementedException: The requested feature is not implemented.
at Microsoft.VisualBasic.CompilerServices.Utils.GetResourceString (System.String ResourceKey, System.String[] Args) [0x00000]


at GSCOM.PayboxT4.My.MyProject+MyForms.Create__Instance__[MainForm] (GSCOM.PayboxT4.MainForm Instance) [0x00000]
at GSCOM.PayboxT4.My.MyProject+MyForms.get_MainForm () [0x00000]
at GSCOM.PayboxT4.My.MyApplication.OnCreateMainForm () [0x00000]
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00000]
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00000]
at GSCOM.PayboxT4.My.MyApplication.Main (System.String[] Args) [0x00000]

this isnt your first thread i suppose...
i am too a developer myself and so i understand that my programs are not designed to run on an operating system they are not designed for. if your windows application is intended to solely run on linux then you have made a serious design error.
consider the following choices:
run your product on windows like its supposed to
make a proper port to linux
the above choices fall into the 80/20 development rule, where your product is designed to suffice 80% of clients. this model stood the test of time just so you know.
what you are trying to do here is wrapping duct tape around everything, hoping that it would hold together. no good.
if i were you i would be either installing windows or writing the port this very minute.
there might not be much that we can do for you.

jetro2k5 04-17-2007 03:21 AM

thanks rootb33r, anyway are you familiar in CodeWeaver??


All times are GMT -5. The time now is 03:21 AM.