From ravi_kiran_bh at yahoo.co.in Wed Jul 2 06:28:08 2008 From: ravi_kiran_bh at yahoo.co.in (ravi kiran) Date: Wed, 2 Jul 2008 15:58:08 +0530 (IST) Subject: [mono-vb] VBNC Error -- Missed option: Int64_Int32 Message-ID: <11615.89056.qm@web8414.mail.in.yahoo.com> Hi, ? ? We have a requirement to run the VB.net winforms (.NET Framework 2.0) in Linux. So I have downloaded Mono 1.9.1 on Windows. The plan is to compile the winform application into a Mono Executable and run on Linux. This worked with C# applications. The vbnc version shows... " Visual Basic.Net Compiler version 0.0.0.5851 Copyright (C) 2004-2007 Rolf Bjarne Kvinge. All rights reserved." I have compiled the vb.net applications using the command line options and got this exception: "Missed option: Int64_Int32 Error : VBNC99999: Unexpected error: There has been an internal error in the com piler: ? at vbnc.Helper.Stop (System.String Message) [0x00000] ? at vbnc.Emitter.EmitConversion (System.Type FromType, System.Type ToType, vbnc ..EmitInfo Info) [0x00000] ? at vbnc.ArrayCreationExpression.EmitArrayCreation (vbnc.ParsedObject Parent, v bnc.EmitInfo Info, System.Type ArrayType, vbnc.ArraySizeInitializationModifier a sim) [0x00000] ? at vbnc.ArrayCreationExpression.GenerateCodeInternal (vbnc.EmitInfo Info) [0x0 0000] ? at vbnc.Expression.GenerateCode (vbnc.EmitInfo Info) [0x00000] ? at vbnc.NewExpression.GenerateCodeInternal (vbnc.EmitInfo Info) [0x00000] ? at vbnc.Expression.GenerateCode (vbnc.EmitInfo Info) [0x00000] ? at vbnc.VariableInitializer.GenerateCode (vbnc.EmitInfo Info) [0x00000] ? at vbnc.VariableDeclaration.EmitVariableInitializer (vbnc.EmitInfo Info) [0x00 000] ? at vbnc.VariableDeclaration.GenerateCode (vbnc.EmitInfo Info) [0x00000] ? at vbnc.CodeBlock.GenerateCode (vbnc.EmitInfo Info) [0x00000] ? at vbnc.IfStatement.GenerateCode (vbnc.EmitInfo Info) [0x00000] ? at vbnc.CodeBlock.GenerateCode (vbnc.EmitInfo Info) [0x00000] ? at vbnc.CodeBlock.GenerateCode (IMethod Method) [0x00000] ? at vbnc.MethodBaseDeclaration.GenerateCode (vbnc.EmitInfo Info) [0x00000] ? at vbnc.MethodDeclaration.GenerateCode (vbnc.EmitInfo Info) [0x00000] ? at vbnc.SubDeclaration.GenerateCode (vbnc.EmitInfo Info) [0x00000] ? at vbnc.Helper.GenerateCodeCollection (IEnumerable Collection, vbnc.EmitInfo I nfo) [0x00000] ? at vbnc.BaseObjects`1[vbnc.IMember].GenerateCode (vbnc.EmitInfo Info) [0x00000 ] ? at vbnc.AssemblyDeclaration.Emit (vbnc.TypeDeclaration Type) [0x00000] ? at vbnc.AssemblyDeclaration.Emit () [0x00000] ? at vbnc.Compiler.Compile () [0x00000] Compilation took 00:00:04.6880000" ? ?The reference to the eror for the same is shown in the following link: http://lists.ximian.com/archives/public/mono-patches/2007-February/087644.html I could not able to understand this error. Please help me to fix this error.. Are?there any problem with the compilation i have done? Can you please guide me the exact compilation options? What is the version of the Mono that supports vb.net? Thanks in advance. Regards, B. Ravi Kiran. Did you know? You can CHAT without downloading messenger. Go to http://in.messenger.yahoo.com/webmessengerpromo.php/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-vb/attachments/20080702/2fba94b8/attachment.html From rolflists at ya.com Mon Jul 7 09:18:18 2008 From: rolflists at ya.com (Rolf Bjarne Kvinge) Date: Mon, 7 Jul 2008 15:18:18 +0200 Subject: [mono-vb] VBNC Error -- Missed option: Int64_Int32 In-Reply-To: <11615.89056.qm@web8414.mail.in.yahoo.com> References: <11615.89056.qm@web8414.mail.in.yahoo.com> Message-ID: <09bc01c8e033$ed6544d0$c82fce70$@com> Hi, This is a bug in the compiler which makes the compiler crash. To fix it I need to see the code which makes the compiler crash, either your entire project, or, if you can't send it to me, a small code sample which reproduces the crash. Rolf From: mono-vb-bounces at lists.ximian.com [mailto:mono-vb-bounces at lists.ximian.com] On Behalf Of ravi kiran Sent: mi?rcoles, 02 de julio de 2008 12:28 To: mono-vb at lists.ximian.com Subject: [mono-vb] VBNC Error -- Missed option: Int64_Int32 Hi, We have a requirement to run the VB.net winforms (.NET Framework 2.0) in Linux. So I have downloaded Mono 1.9.1 on Windows. The plan is to compile the winform application into a Mono Executable and run on Linux. This worked with C# applications. The vbnc version shows... " Visual Basic.Net Compiler version 0.0.0.5851 Copyright (C) 2004-2007 Rolf Bjarne Kvinge. All rights reserved." I have compiled the vb.net applications using the command line options and got this exception: "Missed option: Int64_Int32 Error : VBNC99999: Unexpected error: There has been an internal error in the com piler: at vbnc.Helper.Stop (System.String Message) [0x00000] at vbnc.Emitter.EmitConversion (System.Type FromType, System.Type ToType, vbnc .EmitInfo Info) [0x00000] at vbnc.ArrayCreationExpression.EmitArrayCreation (vbnc.ParsedObject Parent, v bnc.EmitInfo Info, System.Type ArrayType, vbnc.ArraySizeInitializationModifier a sim) [0x00000] at vbnc.ArrayCreationExpression.GenerateCodeInternal (vbnc.EmitInfo Info) [0x0 0000] at vbnc.Expression.GenerateCode (vbnc.EmitInfo Info) [0x00000] at vbnc.NewExpression.GenerateCodeInternal (vbnc.EmitInfo Info) [0x00000] at vbnc.Expression.GenerateCode (vbnc.EmitInfo Info) [0x00000] at vbnc.VariableInitializer.GenerateCode (vbnc.EmitInfo Info) [0x00000] at vbnc.VariableDeclaration.EmitVariableInitializer (vbnc.EmitInfo Info) [0x00 000] at vbnc.VariableDeclaration.GenerateCode (vbnc.EmitInfo Info) [0x00000] at vbnc.CodeBlock.GenerateCode (vbnc.EmitInfo Info) [0x00000] at vbnc.IfStatement.GenerateCode (vbnc.EmitInfo Info) [0x00000] at vbnc.CodeBlock.GenerateCode (vbnc.EmitInfo Info) [0x00000] at vbnc.CodeBlock.GenerateCode (IMethod Method) [0x00000] at vbnc.MethodBaseDeclaration.GenerateCode (vbnc.EmitInfo Info) [0x00000] at vbnc.MethodDeclaration.GenerateCode (vbnc.EmitInfo Info) [0x00000] at vbnc.SubDeclaration..GenerateCode (vbnc.EmitInfo Info) [0x00000] at vbnc.Helper.GenerateCodeCollection (IEnumerable Collection, vbnc.EmitInfo I nfo) [0x00000] at vbnc.BaseObjects`1[vbnc.IMember].GenerateCode (vbnc.EmitInfo Info) [0x00000 ] at vbnc.AssemblyDeclaration.Emit (vbnc.TypeDeclaration Type) [0x00000] at vbnc.AssemblyDeclaration.Emit () [0x00000] at vbnc.Compiler.Compile () [0x00000] Compilation took 00:00:04.6880000" The reference to the eror for the same is shown in the following link: http://lists.ximian.com/archives/public/mono-patches/2007-February/087644.html I could not able to understand this error. Please help me to fix this error. Are there any problem with the compilation i have done? Can you please guide me the exact compilation options? What is the version of the Mono that supports vb.net? Thanks in advance. Regards, B. Ravi Kiran. _____ Bring your gang together. Do your thing. Find your favourite Yahoo! Group. No virus found in this incoming message. Checked by AVG. Version: 8.0.136 / Virus Database: 270.4.5/1537 - Release Date: 06/07/2008 5:26 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-vb/attachments/20080707/c957e494/attachment-0001.html From contact at prodigy7.de Fri Jul 4 02:23:22 2008 From: contact at prodigy7.de (prodigy7) Date: Thu, 3 Jul 2008 23:23:22 -0700 (PDT) Subject: [mono-vb] How to use libmozembed in mono VB ? Message-ID: <18273568.post@talk.nabble.com> Hi there, I've an project where I need an HTML renderer which is plattform independent. I found now libmozembed which I think do that what I want. The question: Have someone an small sample project where I can see, how these stuff (libmozembed) works together with mono vb ? thanks prodigy7 -- View this message in context: http://www.nabble.com/How-to-use-libmozembed-in-mono-VB---tp18273568p18273568.html Sent from the Mono - VB mailing list archive at Nabble.com. From rolflists at ya.com Tue Jul 8 14:44:54 2008 From: rolflists at ya.com (Rolf Bjarne Kvinge) Date: Tue, 8 Jul 2008 20:44:54 +0200 Subject: [mono-vb] How to use libmozembed in mono VB ? In-Reply-To: <18273568.post@talk.nabble.com> References: <18273568.post@talk.nabble.com> Message-ID: <001201c8e12a$b70233b0$25069b10$@com> Hi, I don't think anybody has ever done this. However you might want to check out System.Windows.Forms.WebBrowser, it should be working already. See http://worldofcoding.blogspot.com/2007/09/windows-forms-webcontrol-and-mozil la.html (the blog post is rather old, the code has improved a lot since then). Rolf > -----Original Message----- > From: mono-vb-bounces at lists.ximian.com [mailto:mono-vb- > bounces at lists.ximian.com] On Behalf Of prodigy7 > Sent: viernes, 04 de julio de 2008 8:23 > To: mono-vb at lists.ximian.com > Subject: [mono-vb] How to use libmozembed in mono VB ? > > > Hi there, > > I've an project where I need an HTML renderer which is plattform > independent. I found now libmozembed which I think do that what I want. > The > question: Have someone an small sample project where I can see, how > these > stuff (libmozembed) works together with mono vb ? > > thanks > prodigy7 > -- > View this message in context: http://www.nabble.com/How-to-use- > libmozembed-in-mono-VB---tp18273568p18273568.html > Sent from the Mono - VB mailing list archive at Nabble.com. > > _______________________________________________ > Mono-vb mailing list > Mono-vb at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-vb > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.138 / Virus Database: 270.4.6/1539 - Release Date: > 07/07/2008 18:35 > > > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.138 / Virus Database: 270.4.6/1539 - Release Date: > 07/07/2008 18:35 From electric_r at yahoo.it Fri Jul 11 04:57:53 2008 From: electric_r at yahoo.it (Fab67) Date: Fri, 11 Jul 2008 01:57:53 -0700 (PDT) Subject: [mono-vb] Microsoft visual basic 6 in mono Message-ID: <18399532.post@talk.nabble.com> Hallo, I have an old project of about 10 years ago (that was written using microsoft visual studio 6) in visual basic . I need to use the above project in linux, so I would to know if I can compile this project (in linux) using MONO: can you help me? Thank you. Regards. -- View this message in context: http://www.nabble.com/Microsoft-visual-basic-6-in-mono-tp18399532p18399532.html Sent from the Mono - VB mailing list archive at Nabble.com. From rolflists at ya.com Fri Jul 11 08:46:15 2008 From: rolflists at ya.com (Rolf Bjarne Kvinge) Date: Fri, 11 Jul 2008 14:46:15 +0200 Subject: [mono-vb] Microsoft visual basic 6 in mono In-Reply-To: <18399532.post@talk.nabble.com> References: <18399532.post@talk.nabble.com> Message-ID: <004601c8e354$1c63ce00$552b6a00$@com> Hi, There is no way to compile nor run VB6 applications with mono. If you really have to run the application on Linux I guess your only choice is to use Wine (http://www.winehq.org/) Rolf > -----Original Message----- > From: mono-vb-bounces at lists.ximian.com [mailto:mono-vb- > bounces at lists.ximian.com] On Behalf Of Fab67 > Sent: viernes, 11 de julio de 2008 10:58 > To: mono-vb at lists.ximian.com > Subject: [mono-vb] Microsoft visual basic 6 in mono > > > Hallo, > > I have an old project of about 10 years ago (that was written using > microsoft visual studio 6) > in visual basic . > > I need to use the above project in linux, so I would to know if I can > compile this project (in linux) > using MONO: > > can you help me? > > Thank you. > > Regards. > > > -- > View this message in context: http://www.nabble.com/Microsoft-visual- > basic-6-in-mono-tp18399532p18399532.html > Sent from the Mono - VB mailing list archive at Nabble.com. > > _______________________________________________ > Mono-vb mailing list > Mono-vb at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-vb > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.138 / Virus Database: 270.4.7/1546 - Release Date: > 11/07/2008 6:47 > > > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.138 / Virus Database: 270.4.7/1546 - Release Date: > 11/07/2008 6:47 From kornelpal at gmail.com Fri Jul 11 09:12:13 2008 From: kornelpal at gmail.com (=?ISO-8859-1?Q?Korn=E9l_P=E1l?=) Date: Fri, 11 Jul 2008 15:12:13 +0200 Subject: [mono-vb] Microsoft visual basic 6 in mono In-Reply-To: <18399532.post@talk.nabble.com> References: <18399532.post@talk.nabble.com> Message-ID: <48775C2D.8090903@gmail.com> Hi, Visual Basic 6.0 is not using the .NET Framework at all. If you want to compile a VB6 project you have to use Microsoft Visual Basic 6.0 that will result in a native Windows .exe file. As Rolf said Wine is able to run Windows executables on Linux. Another solution can be to convert the VB6 source code to Visual Basic .NET that will be able to run on Linux using Mono if you don't use Windows API, native DLL or OCX files. Note that Microsoft Visual Studio .NET and later contains a conversion assistant but you most likely will have to modify the code by hand to be able to compile and run the converted code. Korn?l Fab67 wrote: > Hallo, > > I have an old project of about 10 years ago (that was written using > microsoft visual studio 6) > in visual basic . > > I need to use the above project in linux, so I would to know if I can > compile this project (in linux) > using MONO: > > can you help me? > > Thank you. > > Regards. > > From glab at email.si Thu Jul 17 06:29:31 2008 From: glab at email.si (Gregor001) Date: Thu, 17 Jul 2008 03:29:31 -0700 (PDT) Subject: [mono-vb] BASIC STEPS_WIN (Microsoft Visual Basic 2008 express) -> LINUX (SLAX) In-Reply-To: <17638670.post@talk.nabble.com> References: <17638670.post@talk.nabble.com> Message-ID: <18505607.post@talk.nabble.com> hi something is working, but ... 1) i have installed mono 2) started mono command prompt 3) went to dir where the program is (made with ms vb 2008 express edition) (by command: dir "c:\debug\" i copied debug folder to c:) 4) typed: mono test_1.exe program executes and i can click on commands. works. but!!! this i have done on windows. i wish to use this program on linux. where is compiled prorgam? is the resoult program that is started? a) is the resoult just opened file? couse if so and if i understand right.. i have to start linux...install mono there and start there a vb program with mono. i thought i can be in win- i thought that mono converts me a exe and makes another one which can be opened in linux and working. b) (does anyone know a linux distribution with mono included by default?) thanks for any help -- View this message in context: http://www.nabble.com/BASIC-STEPS_WIN-%28Microsoft-Visual-Basic-2008-express%29--%3E-LINUX-%28SLAX%29-tp17638670p18505607.html Sent from the Mono - VB mailing list archive at Nabble.com. From rolflists at ya.com Thu Jul 17 06:40:06 2008 From: rolflists at ya.com (Rolf Bjarne Kvinge) Date: Thu, 17 Jul 2008 12:40:06 +0200 Subject: [mono-vb] BASIC STEPS_WIN (Microsoft Visual Basic 2008 express) -> LINUX (SLAX) In-Reply-To: <18505607.post@talk.nabble.com> References: <17638670.post@talk.nabble.com> <18505607.post@talk.nabble.com> Message-ID: <000c01c8e7f9$7b884420$7298cc60$@com> Hi, > hi > > something is working, but ... > > 1) i have installed mono > 2) started mono command prompt > 3) went to dir where the program is (made with ms vb 2008 express > edition) > (by command: dir "c:\debug\" i copied debug folder to c:) > 4) typed: > mono test_1.exe The exact same procedure works on Linux too. > > program executes and i can click on commands. works. > > > but!!! > this i have done on windows. i wish to use this program on linux. > where is compiled prorgam? is the resoult program that is started? > > a) is the resoult just opened file? couse if so and if i understand > right.. > i have to start linux...install mono there and start there a vb program > with mono. > i thought i can be in win- i thought that mono converts me a exe and > makes another one which can be opened in linux and working. There is no need to convert anything, the same exe works. > b) (does anyone know a linux distribution with mono included by > default?) OpenSuse (www.opensuse.org) + most other main distros too I think. Rolf > > > thanks for any help > -- > View this message in context: http://www.nabble.com/BASIC-STEPS_WIN- > %28Microsoft-Visual-Basic-2008-express%29--%3E-LINUX-%28SLAX%29- > tp17638670p18505607.html > Sent from the Mono - VB mailing list archive at Nabble.com. > > _______________________________________________ > Mono-vb mailing list > Mono-vb at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-vb > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.138 / Virus Database: 270.5.0/1557 - Release Date: > 17/07/2008 5:36 > > > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.138 / Virus Database: 270.5.0/1557 - Release Date: > 17/07/2008 5:36 From haaroons at gmail.com Tue Jul 22 07:00:34 2008 From: haaroons at gmail.com (haaroon) Date: Tue, 22 Jul 2008 04:00:34 -0700 (PDT) Subject: [mono-vb] Label Forecolor & BackColor Server Error Message-ID: <18586950.post@talk.nabble.com> Hi I am new to Mono. I am using Mono for deploying my windows developed .Net Aspx web application to Linux box. My Linux PC having RedHat9+Mono-1.2.4+ Apache- 2.0.40+mod_mono-1.2.4. I am trying to deploy my Asp.Net Web application (which having text box list box components) its working fine. And I am trying to add one label with ForeColor & BackColor after deploying in PC its also working fine. And Now I am trying to deploy same application in my Embedded Box which running linux-2.4.20-8 +mod_mon-1.2.4.+ Mono-1.2.4 + Apache 2.2.8 its NOT working. If i remove Forecolor & BackColor input option in the Aspx page that page is coming fine but color of the font retain to default color. So kindly help me to get ride of this issue. Thanks & Regards Haroon -- View this message in context: http://www.nabble.com/Label-Forecolor---BackColor-Server-Error-tp18586950p18586950.html Sent from the Mono - VB mailing list archive at Nabble.com. From rolflists at ya.com Tue Jul 22 12:00:42 2008 From: rolflists at ya.com (Rolf Bjarne Kvinge) Date: Tue, 22 Jul 2008 18:00:42 +0200 Subject: [mono-vb] Label Forecolor & BackColor Server Error In-Reply-To: <18586950.post@talk.nabble.com> References: <18586950.post@talk.nabble.com> Message-ID: <00b701c8ec14$297e1910$7c7a4b30$@com> Hi, > Hi I am new to Mono. > I am using Mono for deploying my windows developed .Net Aspx web > application > to Linux box. My Linux PC having RedHat9+Mono-1.2.4+ Apache- > 2.0.40+mod_mono-1.2.4. I am trying to deploy my Asp.Net Web > application > (which having text box list box components) its working fine. And I am > trying to add one label with ForeColor & BackColor after deploying in > PC its also working fine. And Now I am trying to deploy same application in > my Embedded Box which running linux-2.4.20-8 +mod_mon-1.2.4.+ Mono-1.2.4 + > Apache 2.2.8 its NOT working. Exactly what happens? Do you get errors? Terminal output? Anyways mono 1.2.4 is pretty old. Rolf From andrew at eVirtualStudio.com Fri Jul 25 13:02:28 2008 From: andrew at eVirtualStudio.com (acoupe) Date: Fri, 25 Jul 2008 10:02:28 -0700 (PDT) Subject: [mono-vb] Variable type should be specified errors Message-ID: <18655766.post@talk.nabble.com> This is a VB.NET (2.0) Winform app. I've validated the code with MOMA and it passes without errors. It compiles fine on VS 2005. I've suiccessfully loaded the app into MonoDevelop on the Mac. The program won't successfully finish compiling because I get 3 identical errors: Variable type should be specified.(warning message should have been shown) The errors have no associated program and line numbers are shown as 0. Any suggestions on how to go about findout where these errors are or what might be causing them. This is my first Mono project so any help is appreciated! -- View this message in context: http://www.nabble.com/Variable-type-should-be-specified-errors-tp18655766p18655766.html Sent from the Mono - VB mailing list archive at Nabble.com. From rolflists at ya.com Tue Jul 29 08:57:17 2008 From: rolflists at ya.com (Rolf Bjarne Kvinge) Date: Tue, 29 Jul 2008 14:57:17 +0200 Subject: [mono-vb] Variable type should be specified errors In-Reply-To: <18655766.post@talk.nabble.com> References: <18655766.post@talk.nabble.com> Message-ID: <010a01c8f17a$a2cc9600$e865c200$@com> Hi, > -----Original Message----- > From: mono-vb-bounces at lists.ximian.com [mailto:mono-vb- > bounces at lists.ximian.com] On Behalf Of acoupe > Sent: viernes, 25 de julio de 2008 19:02 > To: mono-vb at lists.ximian.com > Subject: [mono-vb] Variable type should be specified errors > > > This is a VB.NET (2.0) Winform app. I've validated the code with MOMA > and it passes without errors. It compiles fine on VS 2005. > I've suiccessfully loaded the app into MonoDevelop on the Mac. The program > won't successfully finish compiling because I get 3 identical errors: > > Variable type should be specified.(warning message should have been > shown) This is not an error, only a warning, and the compile doesn't fail because of this. Please send the entire MonoDevelop output and which vbnc version you have, otherwise it's hard to know what's going on. Rolf > The errors have no associated program and line numbers are shown as 0. > > Any suggestions on how to go about findout where these errors are or > what > might be causing them. > > This is my first Mono project so any help is appreciated! > -- > View this message in context: http://www.nabble.com/Variable-type- > should-be-specified-errors-tp18655766p18655766.html > Sent from the Mono - VB mailing list archive at Nabble.com. > > _______________________________________________ > Mono-vb mailing list > Mono-vb at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-vb