From jim_barnett at uhc.com Fri May 2 10:42:20 2008 From: jim_barnett at uhc.com (Barnett, James K) Date: Fri, 2 May 2008 09:42:20 -0500 Subject: [mono-vb] VBNC error Message-ID: <038383EE283F5D4ABEDD7432A3CA785902445E3C@APSW0629EVS.ms.ds.uhc.com> Hello again, Getting another VBNC compilation error. I am trying to move some asp.net pages from windows to linux on the mainframe. We are running Sles 9.3 in 64bit mode under z/VM 5.3 on an IBM z/10. I upgraded to mono-basic 1.9 but am at 1.2.5.1 for everything else. Another Comp Error posted on the list, recommended getting everything at up to 1.2.5 which I am already at or beyond. However, I am wondering if I should get everything to 1.9 and see if the error is still there. Thanks. Let me know what you think. Here is the error I receive. Server Error in '/test2' Application ________________________________ Compilation Error Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. Error message: /tmp/wwwrun-temp-aspnet-0/432466b2/38878ece.0.vb(118,44) : error VBNC30456: 'DropDownListA' is not a member of 'ASP.emstest_aspx'. /tmp/wwwrun-temp-aspnet-0/432466b2/38878ece.0.vb(162,16) : error VBNC30456: 'DropDownListA' is not a member of 'ASP.emstest_aspx'. File name: /EMSASP/Emily/EMSTEST.aspx Source File: /tmp/wwwrun-temp-aspnet-0/432466b2/38878ece.0.vb Line 1: '----------------------------------------------------------------------- ------- Line 2: ' Line 3: ' This code was generated by a tool. Line 4: ' Mono Runtime Version: 2.0.50727.42 Line 5: ' Line 6: ' Changes to this file may cause incorrect behavior and will be lost if Line 7: ' the code is regenerated. Line 8: ' Line 9: '----------------------------------------------------------------------- ------- Line 10: Line 11: Option Explicit On Line 12: Option Strict Off Line 13: Line 14: Imports System Line 15: Imports System.Collections Line 16: Imports System.Collections.Specialized Line 17: Imports System.Configuration Line 18: Imports System.Text Line 19: Imports System.Text.RegularExpressions Line 20: Imports System.Web Line 21: Imports System.Web.Caching Line 22: Imports System.Web.SessionState Line 23: Imports System.Web.Security Line 24: Imports System.Web.Profile Line 25: Imports System.Web.UI Line 26: Imports System.Web.UI.WebControls Line 27: Imports System.Web.UI.WebControls.WebParts Line 28: Imports System.Web.UI.HtmlControls Line 29: Line 30: Namespace ASP Line 31: Line 32: Public Class emstest_aspx Line 33: Inherits _Default Line 34: Implements System.Web.SessionState.IRequiresSessionState Line 35: Line 36: Private Shared __initialized As Boolean = false Line 37: Line 38: Protected _bctrl_47 As System.Web.UI.HtmlControls.HtmlHead Line 39: Line 40: Protected _bctrl_48 As System.Web.UI.HtmlControls.HtmlTitle Line 41: Line 42: Protected _bctrl_49 As System.Web.UI.WebControls.ListItemCollection Line 43: Line 44: Public Sub New() Line 45: MyBase.New Line 46: CType(Me, _Default).AppRelativeVirtualPath = "~/test2/EMSTEST.aspx" Line 47: If (ASP.emstest_aspx.__initialized = false) Then Line 48: ASP.emstest_aspx.__initialized = true Line 49: End If Line 50: End Sub Line 51: Line 52: Protected Overrides ReadOnly Property SupportAutoEvents() As Boolean Line 53: Get Line 54: Return false Line 55: End Get Line 56: End Property Line 57: Line 58: Protected ReadOnly Property ApplicationInstance() As System.Web.HttpApplication Line 59: Get Line 60: Return CType(Me.Context.ApplicationInstance, System.Web.HttpApplication) Line 61: End Get Line 62: End Property Line 63: Line 64: Protected ReadOnly Property Profile() As System.Web.Profile.DefaultProfile Line 65: Get Line 66: Return CType(Me.Context.Profile, System.Web.Profile.DefaultProfile) Line 67: End Get Line 68: End Property Line 69: Line 70: Private Sub __BuildControlTree(ByVal __ctrl As emstest_aspx) Line 71: Me.InitializeCulture() Line 72: Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl, System.Web.UI.IParserAccessor) Line 73: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Microsoft. VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(10)&""&Microsoft.VisualBasic.ChrW(10))) Line 74: Me.__BuildControl__bctrl_47() Line 75: __parser.AddParsedSubObject(Me._bctrl_47) Line 76: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Microsoft.VisualBasic.ChrW(10)&""& Microsoft.VisualBasic.ChrW(10)&" ")) Line 77: Me.__BuildControl_form1() Line 78: __parser.AddParsedSubObject(Me.form1) Line 79: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Microsoft.VisualBasic.ChrW(10)&"" &Microsoft.VisualBasic.ChrW(10)&""&Microsoft.VisualBasic.ChrW(10) )) Line 80: End Sub Line 81: Line 82: Private Function __BuildControl__bctrl_47() As System.Web.UI.Control Line 83: Dim __ctrl As System.Web.UI.HtmlControls.HtmlHead Line 84: __ctrl = New System.Web.UI.HtmlControls.HtmlHead("head") Line 85: Me._bctrl_47 = __ctrl Line 86: Me.__BuildControl__bctrl_48() Line 87: Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl, System.Web.UI.IParserAccessor) Line 88: __parser.AddParsedSubObject(Me._bctrl_48) Line 89: Return __ctrl Line 90: End Function Line 91: Line 92: Private Function __BuildControl__bctrl_48() As System.Web.UI.Control Line 93: Dim __ctrl As System.Web.UI.HtmlControls.HtmlTitle Line 94: __ctrl = New System.Web.UI.HtmlControls.HtmlTitle() Line 95: Me._bctrl_48 = __ctrl Line 96: Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl, System.Web.UI.IParserAccessor) Line 97: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("Untitled Page")) Line 98: Return __ctrl Line 99: End Function Line 100: Line 101: Private Function __BuildControl_form1() As System.Web.UI.Control Line 102: Dim __ctrl As System.Web.UI.HtmlControls.HtmlForm Line 103: __ctrl = New System.Web.UI.HtmlControls.HtmlForm() Line 104: Me.form1 = __ctrl Line 105: __ctrl.ID = "form1" Line 106: Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl, System.Web.UI.IParserAccessor) Line 107: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Microsoft.VisualBasic.ChrW(10)&"
"&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&"
"&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&"
"&Microsoft.VisualBasic.ChrW(10)&" ")) Line 108: Me.__BuildControl_HeadingLabel() Line 109: __parser.AddParsedSubObject(Me.HeadingLabel) Line 110: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("
"&Microsoft.VisualBasic.ChrW(10)&" ")) Line 111: Me.__BuildControl_inputTextBox() Line 112: __parser.AddParsedSubObject(Me.inputTextBox) Line 113: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Microsoft.VisualBasic.ChrW(10)&" ")) Line 114: Me.__BuildControl_submitButton() Line 115: __parser.AddParsedSubObject(Me.submitButton) Line 116: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(" "&Microsoft.VisualBasic.ChrW(10)&" ")) Line 117: Me.__BuildControl_DropDownListA() Line 118: __parser.AddParsedSubObject(Me.DropDownListA) Line 119: Me.__BuildControl_SqlDataSource1() Line 120: __parser.AddParsedSubObject(Me.SqlDataSource1) Line 121: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Microsoft.VisualBasic.ChrW(10)&"
"&Microsoft.VisualBasic.ChrW(10)&" ")) Line 122: Me.__BuildControl_resultTextBox() Line 123: __parser.AddParsedSubObject(Me.resultTextBox) Line 124: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("
"&Microsoft.VisualBasic.ChrW(10)&" ")) Line 125: Return __ctrl Line 126: End Function Line 127: Line 128: Private Function __BuildControl_HeadingLabel() As System.Web.UI.Control Line 129: Dim __ctrl As System.Web.UI.WebControls.Label Line 130: __ctrl = New System.Web.UI.WebControls.Label() Line 131: Me.HeadingLabel = __ctrl Line 132: __ctrl.ApplyStyleSheetSkin(Me) Line 133: __ctrl.Text = "EMS System" Line 134: __ctrl.Font.Size = New System.Web.UI.WebControls.FontUnit(New System.Web.UI.WebControls.Unit(15, System.Web.UI.WebControls.UnitType.Point)) Line 135: __ctrl.ID = "HeadingLabel" Line 136: Return __ctrl Line 137: End Function Line 138: Line 139: Private Function __BuildControl_inputTextBox() As System.Web.UI.Control Line 140: Dim __ctrl As System.Web.UI.WebControls.TextBox Line 141: __ctrl = New System.Web.UI.WebControls.TextBox() Line 142: Me.inputTextBox = __ctrl Line 143: __ctrl.ApplyStyleSheetSkin(Me) Line 144: __ctrl.Width = New System.Web.UI.WebControls.Unit(200, System.Web.UI.WebControls.UnitType.Pixel) Line 145: __ctrl.ID = "inputTextBox" Line 146: Return __ctrl Line 147: End Function Line 148: Line 149: Private Function __BuildControl_submitButton() As System.Web.UI.Control Line 150: Dim __ctrl As System.Web.UI.WebControls.Button Line 151: __ctrl = New System.Web.UI.WebControls.Button() Line 152: Me.submitButton = __ctrl Line 153: __ctrl.ApplyStyleSheetSkin(Me) Line 154: __ctrl.Text = "Submit" Line 155: __ctrl.ID = "submitButton" Line 156: Return __ctrl Line 157: End Function Line 158: Line 159: Private Function __BuildControl_DropDownListA() As System.Web.UI.Control Line 160: Dim __ctrl As System.Web.UI.WebControls.DropDownList Line 161: __ctrl = New System.Web.UI.WebControls.DropDownList() Line 162: Me.DropDownListA = __ctrl Line 163: __ctrl.ApplyStyleSheetSkin(Me) Line 164: __ctrl.DataTextField = "IS_ACCT_CD" Line 165: __ctrl.DataSourceID = "SqlDataSource1" Line 166: __ctrl.DataValueField = "IS_ACCT_CD" Line 167: __ctrl.ID = "DropDownListA" Line 168: Me.__BuildControl__bctrl_49(__ctrl.Items) Line 169: Return __ctrl Line 170: End Function Line 171: Line 172: Private Sub __BuildControl__bctrl_49(ByVal __ctrl As System.Web.UI.WebControls.ListItemCollection) Line 173: End Sub Line 174: Line 175: Private Function __BuildControl_SqlDataSource1() As System.Web.UI.Control Line 176: Dim __ctrl As System.Web.UI.WebControls.SqlDataSource Line 177: __ctrl = New System.Web.UI.WebControls.SqlDataSource() Line 178: Me.SqlDataSource1 = __ctrl Line 179: __ctrl.SelectCommand = "SELECT IS_ACCT_CD FROM D5717CHG.IS_ACCOUNT" Line 180: __ctrl.ConnectionString = System.Web.Compilation.ConnectionStringsExpressionBuilder.GetConnectionS tring("ConnectionString3") Line 181: __ctrl.ProviderName = System.Web.Compilation.ConnectionStringsExpressionBuilder.GetConnectionS tringProviderName("ConnectionString3") Line 182: __ctrl.ID = "SqlDataSource1" Line 183: Return __ctrl Line 184: End Function Line 185: Line 186: Private Function __BuildControl_resultTextBox() As System.Web.UI.Control Line 187: Dim __ctrl As System.Web.UI.WebControls.TextBox Line 188: __ctrl = New System.Web.UI.WebControls.TextBox() Line 189: Me.resultTextBox = __ctrl Line 190: __ctrl.ApplyStyleSheetSkin(Me) Line 191: __ctrl.Width = New System.Web.UI.WebControls.Unit(600, System.Web.UI.WebControls.UnitType.Pixel) Line 192: __ctrl.TextMode = System.Web.UI.WebControls.TextBoxMode.MultiLine Line 193: __ctrl.Visible = false Line 194: __ctrl.Height = New System.Web.UI.WebControls.Unit(100, System.Web.UI.WebControls.UnitType.Pixel) Line 195: __ctrl.ReadOnly = true Line 196: __ctrl.ID = "resultTextBox" Line 197: Return __ctrl Line 198: End Function Line 199: Line 200: Protected Overrides Sub FrameworkInitialize() Line 201: MyBase.FrameworkInitialize() Line 202: Me.TraceModeValue = System.Web.TraceMode.SortByTime Line 203: Me.Request.ValidateInput() Line 204: Me.__BuildControlTree(Me) Line 205: End Sub Line 206: Line 207: Public Overrides Function GetTypeHashCode() As Integer Line 208: Return 2120311146 Line 209: End Function Line 210: End Class Line 211: End Namespace Jim Barnett United Health Technologies Mainframe Systems 763-744-3066 email: jim_barnett at uhc.com This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-vb/attachments/20080502/341131e8/attachment-0001.html From rolflists at ya.com Fri May 2 11:39:02 2008 From: rolflists at ya.com (Rolf Bjarne Kvinge) Date: Fri, 2 May 2008 17:39:02 +0200 Subject: [mono-vb] VBNC error In-Reply-To: <038383EE283F5D4ABEDD7432A3CA785902445E3C@APSW0629EVS.ms.ds.uhc.com> References: <038383EE283F5D4ABEDD7432A3CA785902445E3C@APSW0629EVS.ms.ds.uhc.com> Message-ID: <05ad01c8ac6a$a78b6360$f6a22a20$@com> Hello, At first sight this looks like the generated code is wrong (the error code from the compiler is correct, there is no 'DropDownListA' in that class). Some bugs in the code generator were fixed between 1.2.5.1 and 1.9, however it's hard to say if this problem was fixed. I suggest either sending me a test case I can try out on my machine, in which case I can tell for sure, or just update to 1.9 right away (but I won't guarantee that 1.9 will fix it J) Rolf From: mono-vb-bounces at lists.ximian.com [mailto:mono-vb-bounces at lists.ximian.com] On Behalf Of Barnett, James K Sent: viernes, 02 de mayo de 2008 16:42 To: mono-vb at lists.ximian.com Subject: [mono-vb] VBNC error Hello again, Getting another VBNC compilation error. I am trying to move some asp.net pages from windows to linux on the mainframe. We are running Sles 9.3 in 64bit mode under z/VM 5.3 on an IBM z/10. I upgraded to mono-basic 1.9 but am at 1.2.5.1 for everything else. Another Comp Error posted on the list, recommended getting everything at up to 1.2.5 which I am already at or beyond. However, I am wondering if I should get everything to 1.9 and see if the error is still there. Thanks. Let me know what you think. Here is the error I receive. Server Error in '/test2' Application _____ Compilation Error Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. Error message: /tmp/wwwrun-temp-aspnet-0/432466b2/38878ece.0.vb(118,44) : error VBNC30456: 'DropDownListA' is not a member of 'ASP.emstest_aspx'. /tmp/wwwrun-temp-aspnet-0/432466b2/38878ece.0.vb(162,16) : error VBNC30456: 'DropDownListA' is not a member of 'ASP.emstest_aspx'. File name: /EMSASP/Emily/EMSTEST.aspx Source File: /tmp/wwwrun-temp-aspnet-0/432466b2/38878ece.0.vb Line 1: '--------------------------------------------------------------------------- --- Line 2: ' Line 3: ' This code was generated by a tool. Line 4: ' Mono Runtime Version: 2.0.50727.42 Line 5: ' Line 6: ' Changes to this file may cause incorrect behavior and will be lost if Line 7: ' the code is regenerated. Line 8: ' Line 9: '--------------------------------------------------------------------------- --- Line 10: Line 11: Option Explicit On Line 12: Option Strict Off Line 13: Line 14: Imports System Line 15: Imports System.Collections Line 16: Imports System.Collections.Specialized Line 17: Imports System.Configuration Line 18: Imports System.Text Line 19: Imports System.Text.RegularExpressions Line 20: Imports System.Web Line 21: Imports System.Web.Caching Line 22: Imports System.Web.SessionState Line 23: Imports System.Web.Security Line 24: Imports System.Web.Profile Line 25: Imports System.Web.UI Line 26: Imports System.Web.UI.WebControls Line 27: Imports System.Web.UI.WebControls.WebParts Line 28: Imports System.Web.UI.HtmlControls Line 29: Line 30: Namespace ASP Line 31: Line 32: Public Class emstest_aspx Line 33: Inherits _Default Line 34: Implements System.Web.SessionState.IRequiresSessionState Line 35: Line 36: Private Shared __initialized As Boolean = false Line 37: Line 38: Protected _bctrl_47 As System.Web.UI.HtmlControls.HtmlHead Line 39: Line 40: Protected _bctrl_48 As System.Web.UI.HtmlControls.HtmlTitle Line 41: Line 42: Protected _bctrl_49 As System.Web.UI.WebControls.ListItemCollection Line 43: Line 44: Public Sub New() Line 45: MyBase.New Line 46: CType(Me, _Default).AppRelativeVirtualPath = "~/test2/EMSTEST.aspx" Line 47: If (ASP.emstest_aspx.__initialized = false) Then Line 48: ASP.emstest_aspx.__initialized = true Line 49: End If Line 50: End Sub Line 51: Line 52: Protected Overrides ReadOnly Property SupportAutoEvents() As Boolean Line 53: Get Line 54: Return false Line 55: End Get Line 56: End Property Line 57: Line 58: Protected ReadOnly Property ApplicationInstance() As System.Web.HttpApplication Line 59: Get Line 60: Return CType(Me.Context.ApplicationInstance, System.Web.HttpApplication) Line 61: End Get Line 62: End Property Line 63: Line 64: Protected ReadOnly Property Profile() As System.Web.Profile.DefaultProfile Line 65: Get Line 66: Return CType(Me.Context.Profile, System.Web.Profile.DefaultProfile) Line 67: End Get Line 68: End Property Line 69: Line 70: Private Sub __BuildControlTree(ByVal __ctrl As emstest_aspx) Line 71: Me.InitializeCulture() Line 72: Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl, System.Web.UI.IParserAccessor) Line 73: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Microsoft.Visu alBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(10)&""&Microsoft.VisualBasic.ChrW(10))) Line 74: Me.__BuildControl__bctrl_47() Line 75: __parser.AddParsedSubObject(Me._bctrl_47) Line 76: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Microsoft.VisualBasic.ChrW(10)&""&Micr osoft.VisualBasic.ChrW(10)&" ")) Line 77: Me.__BuildControl_form1() Line 78: __parser.AddParsedSubObject(Me.form1) Line 79: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Microsoft.VisualBasic.ChrW(10)&""&Mic rosoft.VisualBasic.ChrW(10)&""&Microsoft.VisualBasic.ChrW(10))) Line 80: End Sub Line 81: Line 82: Private Function __BuildControl__bctrl_47() As System.Web.UI.Control Line 83: Dim __ctrl As System.Web.UI.HtmlControls.HtmlHead Line 84: __ctrl = New System.Web.UI.HtmlControls.HtmlHead("head") Line 85: Me._bctrl_47 = __ctrl Line 86: Me.__BuildControl__bctrl_48() Line 87: Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl, System.Web.UI.IParserAccessor) Line 88: __parser.AddParsedSubObject(Me._bctrl_48) Line 89: Return __ctrl Line 90: End Function Line 91: Line 92: Private Function __BuildControl__bctrl_48() As System.Web.UI.Control Line 93: Dim __ctrl As System.Web.UI.HtmlControls.HtmlTitle Line 94: __ctrl = New System.Web.UI.HtmlControls.HtmlTitle() Line 95: Me._bctrl_48 = __ctrl Line 96: Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl, System.Web.UI.IParserAccessor) Line 97: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("Untitled Page")) Line 98: Return __ctrl Line 99: End Function Line 100: Line 101: Private Function __BuildControl_form1() As System.Web.UI.Control Line 102: Dim __ctrl As System.Web.UI.HtmlControls.HtmlForm Line 103: __ctrl = New System.Web.UI.HtmlControls.HtmlForm() Line 104: Me.form1 = __ctrl Line 105: __ctrl.ID = "form1" Line 106: Dim __parser As System.Web.UI.IParserAccessor = CType(__ctrl, System.Web.UI.IParserAccessor) Line 107: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Microsoft.VisualBasic.ChrW(10)&"
"&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&"
"&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(10)&"
"&Microsoft.VisualBasic.ChrW(10)&" ")) Line 108: Me.__BuildControl_HeadingLabel() Line 109: __parser.AddParsedSubObject(Me.HeadingLabel) Line 110: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("
"&Microsoft.VisualBasic.ChrW(10)&" ")) Line 111: Me.__BuildControl_inputTextBox() Line 112: __parser.AddParsedSubObject(Me.inputTextBox) Line 113: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Microsoft.VisualBasic.ChrW(10)&" ")) Line 114: Me.__BuildControl_submitButton() Line 115: __parser.AddParsedSubObject(Me.submitButton) Line 116: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(" "&Microsoft.VisualBasic.ChrW(10)&" ")) Line 117: Me.__BuildControl_DropDownListA() Line 118: __parser.AddParsedSubObject(Me.DropDownListA) Line 119: Me.__BuildControl_SqlDataSource1() Line 120: __parser.AddParsedSubObject(Me.SqlDataSource1) Line 121: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl(""&Microsoft.VisualBasic.ChrW(10)&"
"&Microsoft.VisualBasic.ChrW(10)&" ")) Line 122: Me.__BuildControl_resultTextBox() Line 123: __parser.AddParsedSubObject(Me.resultTextBox) Line 124: __parser.AddParsedSubObject(New System.Web.UI.LiteralControl("
"&Microsoft.VisualBasic.ChrW(10)&" ")) Line 125: Return __ctrl Line 126: End Function Line 127: Line 128: Private Function __BuildControl_HeadingLabel() As System.Web.UI.Control Line 129: Dim __ctrl As System.Web.UI.WebControls.Label Line 130: __ctrl = New System.Web.UI.WebControls.Label() Line 131: Me.HeadingLabel = __ctrl Line 132: __ctrl.ApplyStyleSheetSkin(Me) Line 133: __ctrl.Text = "EMS System" Line 134: __ctrl.Font.Size = New System.Web.UI.WebControls.FontUnit(New System.Web.UI.WebControls.Unit(15, System.Web.UI.WebControls.UnitType.Point)) Line 135: __ctrl.ID = "HeadingLabel" Line 136: Return __ctrl Line 137: End Function Line 138: Line 139: Private Function __BuildControl_inputTextBox() As System.Web.UI.Control Line 140: Dim __ctrl As System.Web.UI.WebControls.TextBox Line 141: __ctrl = New System.Web.UI.WebControls.TextBox() Line 142: Me.inputTextBox = __ctrl Line 143: __ctrl.ApplyStyleSheetSkin(Me) Line 144: __ctrl.Width = New System.Web.UI.WebControls.Unit(200, System.Web.UI.WebControls.UnitType.Pixel) Line 145: __ctrl.ID = "inputTextBox" Line 146: Return __ctrl Line 147: End Function Line 148: Line 149: Private Function __BuildControl_submitButton() As System.Web.UI.Control Line 150: Dim __ctrl As System.Web.UI.WebControls.Button Line 151: __ctrl = New System.Web.UI.WebControls.Button() Line 152: Me.submitButton = __ctrl Line 153: __ctrl.ApplyStyleSheetSkin(Me) Line 154: __ctrl.Text = "Submit" Line 155: __ctrl.ID = "submitButton" Line 156: Return __ctrl Line 157: End Function Line 158: Line 159: Private Function __BuildControl_DropDownListA() As System.Web.UI.Control Line 160: Dim __ctrl As System.Web.UI.WebControls.DropDownList Line 161: __ctrl = New System.Web.UI.WebControls.DropDownList() Line 162: Me.DropDownListA = __ctrl Line 163: __ctrl.ApplyStyleSheetSkin(Me) Line 164: __ctrl.DataTextField = "IS_ACCT_CD" Line 165: __ctrl.DataSourceID = "SqlDataSource1" Line 166: __ctrl.DataValueField = "IS_ACCT_CD" Line 167: __ctrl.ID = "DropDownListA" Line 168: Me.__BuildControl__bctrl_49(__ctrl.Items) Line 169: Return __ctrl Line 170: End Function Line 171: Line 172: Private Sub __BuildControl__bctrl_49(ByVal __ctrl As System.Web.UI.WebControls.ListItemCollection) Line 173: End Sub Line 174: Line 175: Private Function __BuildControl_SqlDataSource1() As System.Web.UI.Control Line 176: Dim __ctrl As System.Web.UI.WebControls.SqlDataSource Line 177: __ctrl = New System.Web.UI.WebControls.SqlDataSource() Line 178: Me.SqlDataSource1 = __ctrl Line 179: __ctrl.SelectCommand = "SELECT IS_ACCT_CD FROM D5717CHG.IS_ACCOUNT" Line 180: __ctrl.ConnectionString = System.Web.Compilation.ConnectionStringsExpressionBuilder.GetConnectionStrin g("ConnectionString3") Line 181: __ctrl.ProviderName = System.Web.Compilation.ConnectionStringsExpressionBuilder.GetConnectionStrin gProviderName("ConnectionString3") Line 182: __ctrl.ID = "SqlDataSource1" Line 183: Return __ctrl Line 184: End Function Line 185: Line 186: Private Function __BuildControl_resultTextBox() As System.Web.UI.Control Line 187: Dim __ctrl As System.Web.UI.WebControls.TextBox Line 188: __ctrl = New System.Web.UI.WebControls.TextBox() Line 189: Me.resultTextBox = __ctrl Line 190: __ctrl.ApplyStyleSheetSkin(Me) Line 191: __ctrl.Width = New System.Web.UI.WebControls.Unit(600, System.Web.UI.WebControls.UnitType.Pixel) Line 192: __ctrl.TextMode = System.Web.UI.WebControls.TextBoxMode.MultiLine Line 193: __ctrl.Visible = false Line 194: __ctrl.Height = New System.Web.UI.WebControls.Unit(100, System.Web.UI.WebControls.UnitType.Pixel) Line 195: __ctrl.ReadOnly = true Line 196: __ctrl.ID = "resultTextBox" Line 197: Return __ctrl Line 198: End Function Line 199: Line 200: Protected Overrides Sub FrameworkInitialize() Line 201: MyBase.FrameworkInitialize() Line 202: Me.TraceModeValue = System.Web.TraceMode.SortByTime Line 203: Me.Request.ValidateInput() Line 204: Me.__BuildControlTree(Me) Line 205: End Sub Line 206: Line 207: Public Overrides Function GetTypeHashCode() As Integer Line 208: Return 2120311146 Line 209: End Function Line 210: End Class Line 211: End Namespace Jim Barnett United Health Technologies Mainframe Systems 763-744-3066 email: jim_barnett at uhc.com This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-vb/attachments/20080502/679c7b9b/attachment-0001.html From nick at cvikota.com Mon May 5 11:28:13 2008 From: nick at cvikota.com (Nick Jolin) Date: Mon, 5 May 2008 10:28:13 -0500 Subject: [mono-vb] Vb.net Compilation Error Message-ID: <017d01c8aec4$a20579b0$e6106d10$@com> Hi, I'm new to mono, and I am trying to setup a very simple Asp.net test webapp. Running on Ubuntu 8.04, and Mono 1.9 from compiled from source. In the Page.Load I have: Response.Write("it is working"), and this works just fine, rendering on the page. If I add a button, with a response.write("it worked"), I get a compilation error: It seems that if I add any kind of control to the page, it errors out. If I precompile the website in vs2005, - then it works fine. Am I doing something wrong? Thanks Nick Compilation Error Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. Compiler Error Message: (0,0) : error VBNC_CRASH: Visual Basic.Net Compiler version 0.0.0.5851 Copyright (C) 2004-2007 Rolf Bjarne Kvinge. All rights reserved. /tmp/www-data-temp-aspnet-0/eb3a30fb/App_Web_179e9399_1.vb (12,18) : Warning VBNC99998: Option Strict Off will probably fail. Error : VBNC99999: Unexpected error: Cannot cast from source type to destination type. at vbnc.EventMemberSpecifier.ResolveCode (vbnc.ResolveInfo Info) [0x00124] in /home/mono-basic-1.9/vbnc/vbnc/source/Members/EventMemberSpecifier.vb:102 at vbnc.Helper.ResolveCodeCollection (IEnumerable Collection, vbnc.ResolveInfo Info) [0x00044] in /home/mono-basic-1.9/vbnc/vbnc/source/General/Helper.vb:2338 at vbnc.BaseList`1[vbnc.EventMemberSpecifier].ResolveCode (vbnc.ResolveInfo Info) [0x00000] in /home/mono-basic-1.9/vbnc/vbnc/source/Members/BaseList~1.vb:31 at vbnc.HandlesClause.ResolveCode (vbnc.ResolveInfo Info) [0x00000] in /home/mono-basic-1.9/vbnc/vbnc/source/Members/HandlesClause.vb:45 at vbnc.HandlesOrImplements.ResolveCode (vbnc.ResolveInfo Info) [0x00000] in /home/mono-basic-1.9/vbnc/vbnc/source/Members/HandlesOrImplements.vb:90 at vbnc.SubDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00013] in /home/mono-basic-1.9/vbnc/vbnc/source/Members/SubDeclaration.vb:120 at vbnc.Helper.ResolveCodeCollection (IEnumerable Collection, vbnc.ResolveInfo Info) [0x00044] in /home/mono-basic-1.9/vbnc/vbnc/source/General/Helper.vb:2338 at vbnc.BaseObjects`1[vbnc.IMember].ResolveCode (vbnc.ResolveInfo Info) [0x00000] in /home/mono-basic-1.9/vbnc/vbnc/source/General/BaseObjects`1.vb:65 at vbnc.TypeDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x0001c] in /home/mono-basic-1.9/vbnc/vbnc/source/TypeDeclarations/TypeDeclaration.vb:48 7 at vbnc.ClassDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00002] in /home/mono-basic-1.9/vbnc/vbnc/source/TypeDeclarations/ClassDeclaration.vb:1 25 at vbnc.AssemblyDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x0002a] in /home/mono-basic-1.9/vbnc/vbnc/source/TypeDeclarations/AssemblyDeclaration.v b:209 at vbnc.Compiler.Compile_Resolve () [0x001a9] in /home/mono-basic-1.9/vbnc/vbnc/source/General/Compiler.vb:424 at vbnc.Compiler.Compile () [0x0028a] in /home/mono-basic-1.9/vbnc/vbnc/source/General/Compiler.vb:557 Compilation took 00:00:01.9909480 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-vb/attachments/20080505/1173b6fb/attachment.html From rolflists at ya.com Mon May 5 12:48:54 2008 From: rolflists at ya.com (Rolf Bjarne Kvinge) Date: Mon, 5 May 2008 18:48:54 +0200 Subject: [mono-vb] Vb.net Compilation Error In-Reply-To: <017d01c8aec4$a20579b0$e6106d10$@com> References: <017d01c8aec4$a20579b0$e6106d10$@com> Message-ID: <00a301c8aecf$e85e0c00$b91a2400$@com> Hi, This looks like a known bug (regarding WithEvents/Handles clauses, if you remove the Handles clause or add the missing WithEvents clause it should compile). Rolf From: mono-vb-bounces at lists.ximian.com [mailto:mono-vb-bounces at lists.ximian.com] On Behalf Of Nick Jolin Sent: lunes, 05 de mayo de 2008 17:28 To: mono-vb at lists.ximian.com Subject: [mono-vb] Vb.net Compilation Error Hi, I'm new to mono, and I am trying to setup a very simple Asp.net test webapp. Running on Ubuntu 8.04, and Mono 1.9 from compiled from source. In the Page.Load I have: Response.Write("it is working"), and this works just fine, rendering on the page. If I add a button, with a response.write("it worked"), I get a compilation error: It seems that if I add any kind of control to the page, it errors out. If I precompile the website in vs2005, - then it works fine. Am I doing something wrong? Thanks Nick Compilation Error Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. Compiler Error Message: (0,0) : error VBNC_CRASH: Visual Basic.Net Compiler version 0.0.0.5851 Copyright (C) 2004-2007 Rolf Bjarne Kvinge. All rights reserved. /tmp/www-data-temp-aspnet-0/eb3a30fb/App_Web_179e9399_1.vb (12,18) : Warning VBNC99998: Option Strict Off will probably fail. Error : VBNC99999: Unexpected error: Cannot cast from source type to destination type. at vbnc.EventMemberSpecifier.ResolveCode (vbnc.ResolveInfo Info) [0x00124] in /home/mono-basic-1.9/vbnc/vbnc/source/Members/EventMemberSpecifier.vb:102 at vbnc.Helper.ResolveCodeCollection (IEnumerable Collection, vbnc.ResolveInfo Info) [0x00044] in /home/mono-basic-1.9/vbnc/vbnc/source/General/Helper.vb:2338 at vbnc.BaseList`1[vbnc.EventMemberSpecifier].ResolveCode (vbnc.ResolveInfo Info) [0x00000] in /home/mono-basic-1.9/vbnc/vbnc/source/Members/BaseList~1.vb:31 at vbnc.HandlesClause.ResolveCode (vbnc.ResolveInfo Info) [0x00000] in /home/mono-basic-1.9/vbnc/vbnc/source/Members/HandlesClause.vb:45 at vbnc.HandlesOrImplements.ResolveCode (vbnc.ResolveInfo Info) [0x00000] in /home/mono-basic-1.9/vbnc/vbnc/source/Members/HandlesOrImplements.vb:90 at vbnc.SubDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00013] in /home/mono-basic-1.9/vbnc/vbnc/source/Members/SubDeclaration.vb:120 at vbnc.Helper.ResolveCodeCollection (IEnumerable Collection, vbnc.ResolveInfo Info) [0x00044] in /home/mono-basic-1.9/vbnc/vbnc/source/General/Helper.vb:2338 at vbnc.BaseObjects`1[vbnc.IMember].ResolveCode (vbnc.ResolveInfo Info) [0x00000] in /home/mono-basic-1.9/vbnc/vbnc/source/General/BaseObjects`1.vb:65 at vbnc.TypeDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x0001c] in /home/mono-basic-1.9/vbnc/vbnc/source/TypeDeclarations/TypeDeclaration.vb:48 7 at vbnc.ClassDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00002] in /home/mono-basic-1.9/vbnc/vbnc/source/TypeDeclarations/ClassDeclaration.vb:1 25 at vbnc.AssemblyDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x0002a] in /home/mono-basic-1.9/vbnc/vbnc/source/TypeDeclarations/AssemblyDeclaration.v b:209 at vbnc.Compiler.Compile_Resolve () [0x001a9] in /home/mono-basic-1.9/vbnc/vbnc/source/General/Compiler.vb:424 at vbnc.Compiler.Compile () [0x0028a] in /home/mono-basic-1.9/vbnc/vbnc/source/General/Compiler.vb:557 Compilation took 00:00:01.9909480 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-vb/attachments/20080505/9cb73f15/attachment.html From rolflists at ya.com Mon May 5 17:50:07 2008 From: rolflists at ya.com (Rolf Bjarne Kvinge) Date: Mon, 5 May 2008 23:50:07 +0200 Subject: [mono-vb] Vb.net Compilation Error In-Reply-To: <01a101c8aede$6f531df0$4df959d0$@com> References: <017d01c8aec4$a20579b0$e6106d10$@com> <00a301c8aecf$e85e0c00$b91a2400$@com> <01a101c8aede$6f531df0$4df959d0$@com> Message-ID: <00d301c8aef9$fd5699e0$f803cda0$@com> The Button1 variable is probably declared in a partial class in another file (so you get a duplicate declaration) What I suppose you can do is to add then handler manually ("AddHandler Button1.Click, Button1_Click" in an overridden Load method for instance) Rolf From: Nick Jolin [mailto:njolin at cvikota.com] Sent: lunes, 05 de mayo de 2008 20:33 To: 'Rolf Bjarne Kvinge' Subject: RE: [mono-vb] Vb.net Compilation Error Hi, I'm sorry, if I remove the Handles, then the button event does not fire. And if I add Private WithEvents Button 1 as Button, It says its already declared? Thank you for your help. Nick From: Rolf Bjarne Kvinge [mailto:rolflists at ya.com] Sent: Monday, May 05, 2008 11:49 AM To: 'Nick Jolin'; mono-vb at lists.ximian.com Subject: RE: [mono-vb] Vb.net Compilation Error Hi, This looks like a known bug (regarding WithEvents/Handles clauses, if you remove the Handles clause or add the missing WithEvents clause it should compile). Rolf From: mono-vb-bounces at lists.ximian.com [mailto:mono-vb-bounces at lists.ximian.com] On Behalf Of Nick Jolin Sent: lunes, 05 de mayo de 2008 17:28 To: mono-vb at lists.ximian.com Subject: [mono-vb] Vb.net Compilation Error Hi, I'm new to mono, and I am trying to setup a very simple Asp.net test webapp. Running on Ubuntu 8.04, and Mono 1.9 from compiled from source. In the Page.Load I have: Response.Write("it is working"), and this works just fine, rendering on the page. If I add a button, with a response.write("it worked"), I get a compilation error: It seems that if I add any kind of control to the page, it errors out. If I precompile the website in vs2005, - then it works fine. Am I doing something wrong? Thanks Nick Compilation Error Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. Compiler Error Message: (0,0) : error VBNC_CRASH: Visual Basic.Net Compiler version 0.0.0.5851 Copyright (C) 2004-2007 Rolf Bjarne Kvinge. All rights reserved. /tmp/www-data-temp-aspnet-0/eb3a30fb/App_Web_179e9399_1.vb (12,18) : Warning VBNC99998: Option Strict Off will probably fail. Error : VBNC99999: Unexpected error: Cannot cast from source type to destination type. at vbnc.EventMemberSpecifier.ResolveCode (vbnc.ResolveInfo Info) [0x00124] in /home/mono-basic-1.9/vbnc/vbnc/source/Members/EventMemberSpecifier.vb:102 at vbnc.Helper.ResolveCodeCollection (IEnumerable Collection, vbnc.ResolveInfo Info) [0x00044] in /home/mono-basic-1.9/vbnc/vbnc/source/General/Helper.vb:2338 at vbnc.BaseList`1[vbnc.EventMemberSpecifier].ResolveCode (vbnc.ResolveInfo Info) [0x00000] in /home/mono-basic-1.9/vbnc/vbnc/source/Members/BaseList~1.vb:31 at vbnc.HandlesClause.ResolveCode (vbnc.ResolveInfo Info) [0x00000] in /home/mono-basic-1.9/vbnc/vbnc/source/Members/HandlesClause.vb:45 at vbnc.HandlesOrImplements.ResolveCode (vbnc.ResolveInfo Info) [0x00000] in /home/mono-basic-1.9/vbnc/vbnc/source/Members/HandlesOrImplements.vb:90 at vbnc.SubDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00013] in /home/mono-basic-1.9/vbnc/vbnc/source/Members/SubDeclaration.vb:120 at vbnc.Helper.ResolveCodeCollection (IEnumerable Collection, vbnc.ResolveInfo Info) [0x00044] in /home/mono-basic-1.9/vbnc/vbnc/source/General/Helper.vb:2338 at vbnc.BaseObjects`1[vbnc.IMember].ResolveCode (vbnc.ResolveInfo Info) [0x00000] in /home/mono-basic-1.9/vbnc/vbnc/source/General/BaseObjects`1.vb:65 at vbnc.TypeDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x0001c] in /home/mono-basic-1.9/vbnc/vbnc/source/TypeDeclarations/TypeDeclaration.vb:48 7 at vbnc.ClassDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00002] in /home/mono-basic-1.9/vbnc/vbnc/source/TypeDeclarations/ClassDeclaration.vb:1 25 at vbnc.AssemblyDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x0002a] in /home/mono-basic-1.9/vbnc/vbnc/source/TypeDeclarations/AssemblyDeclaration.v b:209 at vbnc.Compiler.Compile_Resolve () [0x001a9] in /home/mono-basic-1.9/vbnc/vbnc/source/General/Compiler.vb:424 at vbnc.Compiler.Compile () [0x0028a] in /home/mono-basic-1.9/vbnc/vbnc/source/General/Compiler.vb:557 Compilation took 00:00:01.9909480 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-vb/attachments/20080505/b03c8d8a/attachment-0001.html From njolin at cvikota.com Mon May 5 10:47:51 2008 From: njolin at cvikota.com (Nick Jolin) Date: Mon, 5 May 2008 09:47:51 -0500 Subject: [mono-vb] Vb.net Compilation Error Message-ID: <017001c8aebe$fe870560$fb951020$@com> Hi, I'm new to mono, and I am trying to setup a very simple Asp.net test webapp. Running on Ubuntu 8.04, and Mono 1.9 from compiled from source. In the Page.Load I have: Response.Write("it is working"), and this works just fine, rendering on the page. If I add a button, with a response.write("it worked"), I get a compilation error: It seems that if I add any kind of control to the page, it errors out. If I precompile the website in vs2005, - then it works fine. Am I doing something wrong? Thanks Nick Compilation Error Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. Compiler Error Message: (0,0) : error VBNC_CRASH: Visual Basic.Net Compiler version 0.0.0.5851 Copyright (C) 2004-2007 Rolf Bjarne Kvinge. All rights reserved. /tmp/www-data-temp-aspnet-0/eb3a30fb/App_Web_179e9399_1.vb (12,18) : Warning VBNC99998: Option Strict Off will probably fail. Error : VBNC99999: Unexpected error: Cannot cast from source type to destination type. at vbnc.EventMemberSpecifier.ResolveCode (vbnc.ResolveInfo Info) [0x00124] in /home/mono-basic-1.9/vbnc/vbnc/source/Members/EventMemberSpecifier.vb:102 at vbnc.Helper.ResolveCodeCollection (IEnumerable Collection, vbnc.ResolveInfo Info) [0x00044] in /home/mono-basic-1.9/vbnc/vbnc/source/General/Helper.vb:2338 at vbnc.BaseList`1[vbnc.EventMemberSpecifier].ResolveCode (vbnc.ResolveInfo Info) [0x00000] in /home/mono-basic-1.9/vbnc/vbnc/source/Members/BaseList~1.vb:31 at vbnc.HandlesClause.ResolveCode (vbnc.ResolveInfo Info) [0x00000] in /home/mono-basic-1.9/vbnc/vbnc/source/Members/HandlesClause.vb:45 at vbnc.HandlesOrImplements.ResolveCode (vbnc.ResolveInfo Info) [0x00000] in /home/mono-basic-1.9/vbnc/vbnc/source/Members/HandlesOrImplements.vb:90 at vbnc.SubDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00013] in /home/mono-basic-1.9/vbnc/vbnc/source/Members/SubDeclaration.vb:120 at vbnc.Helper.ResolveCodeCollection (IEnumerable Collection, vbnc.ResolveInfo Info) [0x00044] in /home/mono-basic-1.9/vbnc/vbnc/source/General/Helper.vb:2338 at vbnc.BaseObjects`1[vbnc.IMember].ResolveCode (vbnc.ResolveInfo Info) [0x00000] in /home/mono-basic-1.9/vbnc/vbnc/source/General/BaseObjects`1.vb:65 at vbnc.TypeDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x0001c] in /home/mono-basic-1.9/vbnc/vbnc/source/TypeDeclarations/TypeDeclaration.vb:48 7 at vbnc.ClassDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00002] in /home/mono-basic-1.9/vbnc/vbnc/source/TypeDeclarations/ClassDeclaration.vb:1 25 at vbnc.AssemblyDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x0002a] in /home/mono-basic-1.9/vbnc/vbnc/source/TypeDeclarations/AssemblyDeclaration.v b:209 at vbnc.Compiler.Compile_Resolve () [0x001a9] in /home/mono-basic-1.9/vbnc/vbnc/source/General/Compiler.vb:424 at vbnc.Compiler.Compile () [0x0028a] in /home/mono-basic-1.9/vbnc/vbnc/source/General/Compiler.vb:557 Compilation took 00:00:01.9909480 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-vb/attachments/20080505/e13f48cf/attachment.html From gunawanlinux at gmail.com Tue May 13 00:40:05 2008 From: gunawanlinux at gmail.com (gunawan chang) Date: Tue, 13 May 2008 11:40:05 +0700 Subject: [mono-vb] how to compiler vb .Net 1.1 Message-ID: <451a5f620805122140j10d8db1ax1dab623516b617e9@mail.gmail.com> Hi, everybody I am a newbie in mono, want ask a question. I use mandriva 2008, mono 1.2-5, GTK 2.0 I have installed everything about mono and include mono-basic, I know this compiler only for .NET 2.0, but my application is already in .NET1.1. My question is 1. how to I compile the source code in vb .net1.1? 2. If no.1 it can't, so what I have to do?, should I upgrade to .net2.0 without change the code? ( I am really linux native, so please don't laugh my silly question) 3. are there a tutorial for this? I really need the answer, if this question have had a answer, pls show me the link. ( I have looking for everywhere, forgive me that I can't found it) Thank you very much. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-vb/attachments/20080513/f5c1e504/attachment.html From rolflists at ya.com Tue May 13 04:14:04 2008 From: rolflists at ya.com (Rolf Bjarne Kvinge) Date: Tue, 13 May 2008 10:14:04 +0200 Subject: [mono-vb] how to compiler vb .Net 1.1 In-Reply-To: <451a5f620805122140j10d8db1ax1dab623516b617e9@mail.gmail.com> References: <451a5f620805122140j10d8db1ax1dab623516b617e9@mail.gmail.com> Message-ID: <001e01c8b4d1$51f05a90$f5d10fb0$@com> Hi, 1. It's not possible to compile for 1.1 using mono-basic yet (it's planned for some distant future), you can only compile for 1.1 using MS' vbc compiler (or Visual Studio 2003). If you have a Windows machine you can compile using vbc and then copy the executables/assemblies to your linux machine. 2. The source code will very likely not need any changes to compile for 2.0, try to compile with mono-basic (vbnc is the compiler) and it will tell you if there are any problems. 3. No, given that normally you don't have to change anything. Rolf From: mono-vb-bounces at lists.ximian.com [mailto:mono-vb-bounces at lists.ximian.com] On Behalf Of gunawan chang Sent: martes, 13 de mayo de 2008 6:40 To: mono-vb at lists.ximian.com Subject: [mono-vb] how to compiler vb .Net 1.1 Hi, everybody I am a newbie in mono, want ask a question. I use mandriva 2008, mono 1.2-5, GTK 2.0 I have installed everything about mono and include mono-basic, I know this compiler only for .NET 2.0, but my application is already in .NET1.1. My question is 1. how to I compile the source code in vb .net1.1? 2. If no.1 it can't, so what I have to do?, should I upgrade to .net2.0 without change the code? ( I am really linux native, so please don't laugh my silly question) 3. are there a tutorial for this? I really need the answer, if this question have had a answer, pls show me the link. ( I have looking for everywhere, forgive me that I can't found it) Thank you very much. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-vb/attachments/20080513/51def512/attachment.html From gunawanlinux at gmail.com Tue May 13 21:43:20 2008 From: gunawanlinux at gmail.com (gunawan chang) Date: Wed, 14 May 2008 08:43:20 +0700 Subject: [mono-vb] how to compiler vb .Net 1.1 In-Reply-To: <001e01c8b4d1$51f05a90$f5d10fb0$@com> References: <451a5f620805122140j10d8db1ax1dab623516b617e9@mail.gmail.com> <001e01c8b4d1$51f05a90$f5d10fb0$@com> Message-ID: <451a5f620805131843r1527c60dh9d8cb2f0daaf2153@mail.gmail.com> Thanks for information, Rolf Sorry, I have more questions: 1. I had compiled my source code in visual studio 2003, and runned it in mono, but mono say "cannot open assembly setup.exe", what the meaning of this, I run mono in vb2003's compiler or perhaps I should run mono in installer's application. (sorry, this is very confusing me) 2. I think maybe my command is wrong, I run mono like this #mono setup.exe ===> or I have to add more option in the command. 3. If I compile source code using vbnc, which one *.vb that I have to choose, what I get one folder which contain 5 *.vb and many sub folder in there. and what command I have using, I read msdn, that use vbc and command like this vbc.exe /imports:Microsoft.VisualBasic,System Source.vb., if I compile using vbnc, are it neccessary using sintax microsoft, but I use mono? Thank you very much for the answer. Gunawan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-vb/attachments/20080514/a89cc575/attachment-0001.html From gunawanlinux at gmail.com Tue May 13 21:43:20 2008 From: gunawanlinux at gmail.com (gunawan chang) Date: Wed, 14 May 2008 08:43:20 +0700 Subject: [mono-vb] how to compiler vb .Net 1.1 In-Reply-To: <001e01c8b4d1$51f05a90$f5d10fb0$@com> References: <451a5f620805122140j10d8db1ax1dab623516b617e9@mail.gmail.com> <001e01c8b4d1$51f05a90$f5d10fb0$@com> Message-ID: <451a5f620805131843r1527c60dh9d8cb2f0daaf2153@mail.gmail.com> Thanks for information, Rolf Sorry, I have more questions: 1. I had compiled my source code in visual studio 2003, and runned it in mono, but mono say "cannot open assembly setup.exe", what the meaning of this, I run mono in vb2003's compiler or perhaps I should run mono in installer's application. (sorry, this is very confusing me) 2. I think maybe my command is wrong, I run mono like this #mono setup.exe ===> or I have to add more option in the command. 3. If I compile source code using vbnc, which one *.vb that I have to choose, what I get one folder which contain 5 *.vb and many sub folder in there. and what command I have using, I read msdn, that use vbc and command like this vbc.exe /imports:Microsoft.VisualBasic,System Source.vb., if I compile using vbnc, are it neccessary using sintax microsoft, but I use mono? Thank you very much for the answer. Gunawan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-vb/attachments/20080514/a89cc575/attachment-0002.html From rolflists at ya.com Wed May 14 07:09:18 2008 From: rolflists at ya.com (Rolf Bjarne Kvinge) Date: Wed, 14 May 2008 13:09:18 +0200 Subject: [mono-vb] how to compiler vb .Net 1.1 In-Reply-To: <451a5f620805131843r1527c60dh9d8cb2f0daaf2153@mail.gmail.com> References: <451a5f620805122140j10d8db1ax1dab623516b617e9@mail.gmail.com> <001e01c8b4d1$51f05a90$f5d10fb0$@com> <451a5f620805131843r1527c60dh9d8cb2f0daaf2153@mail.gmail.com> Message-ID: <005a01c8b5b3$17851430$468f3c90$@com> Hi, 1. Setup.exe is the install program and is a Windows-only executable, not what you want to execute. In the soluction/project folder there normally is a directory called bin/Debug or bin/Release, where you applications executables are, try running any of those. 2. That?s the right command as long as you use the correct executable (i.e. not setup.exe). 3. Vbnc?s syntax is exactly like vbc?s syntax, so yes, you have to use Microsoft?s syntax to compile on Mono. Rolf From: mono-vb-bounces at lists.ximian.com [mailto:mono-vb-bounces at lists.ximian.com] On Behalf Of gunawan chang Sent: mi?rcoles, 14 de mayo de 2008 3:43 To: mono-vb at lists.ximian.com Subject: Re: [mono-vb] how to compiler vb .Net 1.1 Thanks for information, Rolf Sorry, I have more questions: 1. I had compiled my source code in visual studio 2003, and runned it in mono, but mono say "cannot open assembly setup.exe", what the meaning of this, I run mono in vb2003's compiler or perhaps I should run mono in installer's application. (sorry, this is very confusing me) 2. I think maybe my command is wrong, I run mono like this #mono setup.exe ===> or I have to add more option in the command. 3. If I compile source code using vbnc, which one *.vb that I have to choose, what I get one folder which contain 5 *.vb and many sub folder in there. and what command I have using, I read msdn, that use vbc and command like this vbc.exe /imports:Microsoft.VisualBasic,System Source.vb., if I compile using vbnc, are it neccessary using sintax microsoft, but I use mono? Thank you very much for the answer. Gunawan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-vb/attachments/20080514/997895ba/attachment.html