<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1374</id>
	<title>Nabble - Mono - VB</title>
	<updated>2009-11-19T05:55:15Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Mono---VB-f1374.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Mono---VB-f1374.html" />
	<subtitle type="html">Mono's implementation of Visual Basic.NET.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26426698</id>
	<title>Re: Bug</title>
	<published>2009-11-19T05:55:15Z</published>
	<updated>2009-11-19T05:55:15Z</updated>
	<author>
		<name>Rolf Bjarne Kvinge-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Every page should by default include the namespace System.Web.UI.WebControls
&lt;br&gt;&amp;gt; because when you declare RowDataBound in every version of Visual
&lt;br&gt;&amp;gt; studio, you just write Sub gvCurrentNavigation_RowDataBound(ByVal sender As Object, ByVal e As
&lt;br&gt;&amp;gt; GridViewRowEventArgs)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Note that it is GridViewRowEventArgs And not
&lt;br&gt;&amp;gt; System.Web.UI.WebControls.GridViewRowEventArgs
&lt;br&gt;&amp;gt; and System.Web.UI.WebControls is not included anywhere.
&lt;br&gt;&amp;gt; plus normally you can also just declare Dim x as Button, and not
&lt;br&gt;&amp;gt; Dim x as System.Web.UI.WebControls.Button
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Also if you have a
&lt;br&gt;&amp;gt; Partial Class admin
&lt;br&gt;&amp;gt; Inherits System.Web.UI.Page
&lt;br&gt;&amp;gt; then this class includes the page namespace, and I shouldn't have to
&lt;br&gt;&amp;gt; add System.Web.UI. in front of everytime I have the &amp;quot;Page&amp;quot; statement
&lt;br&gt;&amp;gt; somewhere in my codebehind.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; In the same chapter goes:
&lt;br&gt;&amp;gt; HttpContext for mono it's System.Web.HttpContext
&lt;br&gt;&amp;gt; If you have an ASP.NET application in Visual Studio, this includes the
&lt;br&gt;&amp;gt; namespace System.Web.
&lt;br&gt;&amp;gt; so you don't have to write System.Web. in front of it everywhere.
&lt;/div&gt;&lt;br&gt;Good idea, I'll try to fix this.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Microsoft.Jscript.GlobalObject.escape does not exist
&lt;br&gt;&amp;gt; It is a core function, since it's the only place where there is a 1:1
&lt;br&gt;&amp;gt; equivalent of the javascript escape function. Without this function,
&lt;br&gt;&amp;gt; you cannot JavaScript escape a string, which means you are unable to create
&lt;br&gt;&amp;gt; a javascript messagebox which outputs vb.net exceptions.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I suggest incorporating the google v8 javascript engine.
&lt;br&gt;&amp;gt; Then you have complete support for any javascript function, you simply
&lt;br&gt;&amp;gt; have to make an interface to it, which is not difficult, at least not
&lt;br&gt;&amp;gt; for this one function.
&lt;/div&gt;&lt;br&gt;I just had a look and it's there, you just have to add a reference to Microsoft.JScript.dll
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Another issue:
&lt;br&gt;&amp;gt; Declaring this in the aspx:
&lt;br&gt;&amp;gt; &amp;lt;asp:Button ID=&amp;quot;btnNewNodeOK&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;OK&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Then, btnNewNodeOK can be perfectly handled with
&lt;br&gt;&amp;gt; Protected Sub btnNewNodeOK_Click(ByVal sender As Object, ByVal e As
&lt;br&gt;&amp;gt; System.EventArgs) Handles btnNewNodeOK.Click
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; note the handles clause.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It cannot be that I have to add every OnClick=&amp;quot;btnNewNodeOK&amp;quot; and remove
&lt;br&gt;&amp;gt; the handles statement from the codebehind for all my buttons or any
&lt;br&gt;&amp;gt; other control's events, like linkbuttons.
&lt;/div&gt;&lt;br&gt;You shouldn't have to do that, why do you think so?
&lt;br&gt;&lt;br&gt;&amp;gt; If I have to do that, I can just as well rewrite the entire code in
&lt;br&gt;&amp;gt; PHP, which would be better anyway, but I just don't have the time.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; And then there is another thing:
&lt;br&gt;&amp;gt; My treeview serialzation gives a bug:
&lt;br&gt;&amp;gt; unimplemented compiler feature. Please file a bug report.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Here all the code in question
&lt;br&gt;&lt;br&gt;Could you please attach the files to the mail instead of copy-paste them into the body? Your mailer has wrapped the lines, and it's not valid VB code anymore.
&lt;br&gt;&lt;br&gt;Rolf
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-vb mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26426698&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-tp26422837p26426698.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26422837</id>
	<title>Bug</title>
	<published>2009-11-19T00:55:58Z</published>
	<updated>2009-11-19T00:55:58Z</updated>
	<author>
		<name>Quan-7</name>
	</author>
	<content type="html">Every page should by default include the namespace System.Web.UI.WebControls
&lt;br&gt;because when you declare RowDataBound in every version of Visual studio, 
&lt;br&gt;you just write
&lt;br&gt;Sub gvCurrentNavigation_RowDataBound(ByVal sender As Object, ByVal e As 
&lt;br&gt;GridViewRowEventArgs)
&lt;br&gt;&lt;br&gt;Note that it is GridViewRowEventArgs
&lt;br&gt;And not
&lt;br&gt;System.Web.UI.WebControls.GridViewRowEventArgs
&lt;br&gt;and System.Web.UI.WebControls is not included anywhere.
&lt;br&gt;plus normally you can also just declare Dim x as Button, and not
&lt;br&gt;Dim x as System.Web.UI.WebControls.Button
&lt;br&gt;&lt;br&gt;&lt;br&gt;Also if you have a
&lt;br&gt;Partial Class admin
&lt;br&gt;Inherits System.Web.UI.Page
&lt;br&gt;then this class includes the page namespace, and I shouldn't have to add 
&lt;br&gt;System.Web.UI. in front of everytime I have the &amp;quot;Page&amp;quot; statement 
&lt;br&gt;somewhere in my codebehind.
&lt;br&gt;&lt;br&gt;In the same chapter goes:
&lt;br&gt;HttpContext
&lt;br&gt;for mono it's System.Web.HttpContext
&lt;br&gt;If you have an ASP.NET application in Visual Studio, this includes the 
&lt;br&gt;namespace System.Web.
&lt;br&gt;so you don't have to write System.Web. in front of it everywhere.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Microsoft.Jscript.GlobalObject.escape does not exist
&lt;br&gt;It is a core function, since it's the only place where there is a 1:1 
&lt;br&gt;equivalent of the javascript escape function. Without this function, you 
&lt;br&gt;cannot JavaScript escape a string, which means you are unable to create 
&lt;br&gt;a javascript messagebox which outputs vb.net exceptions.
&lt;br&gt;&lt;br&gt;I suggest incorporating the google v8 javascript engine.
&lt;br&gt;Then you have complete support for any javascript function, you simply 
&lt;br&gt;have to make an interface to it, which is not difficult, at least not 
&lt;br&gt;for this one function.
&lt;br&gt;&lt;br&gt;Another issue:
&lt;br&gt;Declaring this in the aspx:
&lt;br&gt;&amp;lt;asp:Button ID=&amp;quot;btnNewNodeOK&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;OK&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;Then, btnNewNodeOK can be perfectly handled with
&lt;br&gt;Protected Sub btnNewNodeOK_Click(ByVal sender As Object, ByVal e As 
&lt;br&gt;System.EventArgs) Handles btnNewNodeOK.Click
&lt;br&gt;&lt;br&gt;note the handles clause.
&lt;br&gt;&lt;br&gt;It cannot be that I have to add every OnClick=&amp;quot;btnNewNodeOK&amp;quot; and remove 
&lt;br&gt;the handles statement from the codebehind for all my buttons or any 
&lt;br&gt;other control's events, like linkbuttons.
&lt;br&gt;If I have to do that, I can just as well rewrite the entire code in PHP, 
&lt;br&gt;which would be better anyway, but I just don't have the time.
&lt;br&gt;&lt;br&gt;&lt;br&gt;And then there is another thing:
&lt;br&gt;My treeview serialzation gives a bug:
&lt;br&gt;unimplemented compiler feature. Please file a bug report.
&lt;br&gt;&lt;br&gt;Here all the code in question
&lt;br&gt;Class Debug is for the escape function
&lt;br&gt;all others contain whatever leads to the unimplemented feature error
&lt;br&gt;&lt;br&gt;&lt;br&gt;Imports Microsoft.VisualBasic
&lt;br&gt;'Imports System
&lt;br&gt;'Imports System.Data
&lt;br&gt;'Imports System.Configuration
&lt;br&gt;'Imports System.Web
&lt;br&gt;'Imports System.Web.Security
&lt;br&gt;'Imports System.Web.UI
&lt;br&gt;&lt;br&gt;Imports System.Web.Mail
&lt;br&gt;&lt;br&gt;&lt;br&gt;Namespace MyName
&lt;br&gt;&lt;br&gt;Public Class Debug
&lt;br&gt;&lt;br&gt;Public Class MessageBox
&lt;br&gt;Public Shared Sub Show(ByRef objMessage As Object, Optional ByRef 
&lt;br&gt;strTitle As String = Nothing)
&lt;br&gt;Dim strMessage As String = CStr(objMessage)
&lt;br&gt;Dim pgCallingPage As Page = TryCast(HttpContext.Current.Handler, Page)
&lt;br&gt;If pgCallingPage IsNot Nothing Then
&lt;br&gt;strMessage = Microsoft.JScript.GlobalObject.escape(strMessage) ' 
&lt;br&gt;Reference Microsoft.JScript.dll in the project reference
&lt;br&gt;strMessage = &amp;quot;&amp;lt;script type=&amp;quot;&amp;quot;text/javascript&amp;quot;&amp;quot; 
&lt;br&gt;language=&amp;quot;&amp;quot;javascript&amp;quot;&amp;quot;&amp;gt;alert(unescape(&amp;quot;&amp;quot;&amp;quot; + strMessage + &amp;quot;&amp;quot;&amp;quot;));&amp;lt;/script&amp;gt;&amp;quot;
&lt;br&gt;pgCallingPage.ClientScript.RegisterStartupScript(pgCallingPage.GetType(), 
&lt;br&gt;System.Guid.NewGuid().ToString(), strMessage, False)
&lt;br&gt;End If
&lt;br&gt;End Sub
&lt;br&gt;End Class
&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Shared Sub MsgBox(ByRef objMessage As Object, Optional ByRef 
&lt;br&gt;strTitle As String = Nothing)
&lt;br&gt;MessageBox.Show(objMessage, strTitle)
&lt;br&gt;End Sub
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Shared Sub WriteLine(ByRef objMessage As Object)
&lt;br&gt;Dim strMessage As String = CStr(objMessage)
&lt;br&gt;HttpContext.Current.Response.Write(&amp;quot;&amp;lt;br/&amp;gt;&amp;lt;p style=&amp;quot;&amp;quot;font-family: 
&lt;br&gt;Verdana, Calibri, Arial, Helvetica, Sans-Serif; font-color: #FF0000; 
&lt;br&gt;font-size: 10mm;&amp;quot;&amp;quot;&amp;gt;&amp;quot; + HttpContext.Current.Server.HtmlEncode(strMessage) 
&lt;br&gt;+ &amp;quot;&amp;lt;/p&amp;gt;&amp;lt;br/&amp;gt;&amp;quot;)
&lt;br&gt;End Sub
&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Shared Sub SendMail()
&lt;br&gt;Dim objSmtpMail As System.Net.Mail.SmtpClient = New 
&lt;br&gt;System.Net.Mail.SmtpClient
&lt;br&gt;Dim Mailmsg As New System.Net.Mail.MailMessage
&lt;br&gt;Mailmsg.To.Clear()
&lt;br&gt;&lt;br&gt;'Mailmsg.To.Add(New System.Net.Mail.MailAddress(&amp;quot;To Name 
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26422837&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;toname@...&lt;/a&gt;&amp;gt;&amp;quot;)) ' Environment.UserName &amp; &amp;quot;@knowdotnet.com&amp;quot;
&lt;br&gt;Mailmsg.To.Add(New System.Net.Mail.MailAddress(&amp;quot;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26422837&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;somebody@...&lt;/a&gt;&amp;quot;, 
&lt;br&gt;&amp;quot;Prename Name&amp;quot;, System.Text.Encoding.UTF8))
&lt;br&gt;'Mailmsg.To.Add(New System.Net.Mail.MailAddress(&amp;quot;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26422837&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;recipient2@...&lt;/a&gt;&amp;quot;))
&lt;br&gt;'Mailmsg.From = New System.Net.Mail.MailAddress(&amp;quot;From Name 
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26422837&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fromname@...&lt;/a&gt;&amp;gt;&amp;quot;)
&lt;br&gt;Mailmsg.From = New System.Net.Mail.MailAddress(&amp;quot;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26422837&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;somebody@...&lt;/a&gt;&amp;quot;, 
&lt;br&gt;&amp;quot;Prename Name&amp;quot;, System.Text.Encoding.UTF8)
&lt;br&gt;'Mailmsg.CC.Add(New System.Net.Mail.MailAddress(&amp;quot;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26422837&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;CarbonCopy@...&lt;/a&gt;&amp;quot;))
&lt;br&gt;'Mailmsg.Bcc.Add(New 
&lt;br&gt;System.Net.Mail.MailAddress(&amp;quot;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26422837&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;BlindCarbonCopy@...&lt;/a&gt;&amp;quot;))
&lt;br&gt;&lt;br&gt;Mailmsg.Subject = &amp;quot;(subject text)&amp;quot;
&lt;br&gt;'Mailmsg.Body = &amp;quot;(message text here)&amp;quot;
&lt;br&gt;Mailmsg.Body = &amp;quot;&amp;lt;HTML&amp;gt;&amp;lt;body&amp;gt;&amp;lt;H1&amp;gt;Error: &amp;lt;/H1&amp;gt;&amp;lt;p&amp;gt;Error 
&lt;br&gt;description&amp;lt;/P&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/HTML&amp;gt;&amp;quot;
&lt;br&gt;Mailmsg.IsBodyHtml = True 'set the content to HTML, and not plain text only
&lt;br&gt;&lt;br&gt;&lt;br&gt;Mailmsg.BodyEncoding = System.Text.Encoding.UTF8
&lt;br&gt;Mailmsg.SubjectEncoding = System.Text.Encoding.UTF8
&lt;br&gt;Mailmsg.Priority = System.Net.Mail.MailPriority.Low
&lt;br&gt;&lt;br&gt;'Dim strFileNameAndPath As String = 
&lt;br&gt;HttpContext.Current.Server.MapPath(&amp;quot;myEmails&amp;quot;) &amp; &amp;quot;\Mypic.jpg&amp;quot;
&lt;br&gt;'Dim objAttachment As Net.Mail.Attachment = New 
&lt;br&gt;Net.Mail.Attachment(strFileNameAndPath)
&lt;br&gt;'Mailmsg.Attachments.Add(objAttachment)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Try
&lt;br&gt;objSmtpMail.Timeout = 15000
&lt;br&gt;' Pass the credentials if the server requires the client to authenticate 
&lt;br&gt;before it will send e-mail on the client's behalf.
&lt;br&gt;objSmtpMail.Credentials = 
&lt;br&gt;System.Net.CredentialCache.DefaultNetworkCredentials
&lt;br&gt;&lt;br&gt;&lt;br&gt;Dim objSMTPuser As New System.Net.NetworkCredential()
&lt;br&gt;objSMTPuser.UserName = &amp;quot;username&amp;quot;
&lt;br&gt;objSMTPuser.Password = &amp;quot;password&amp;quot;
&lt;br&gt;objSMTPuser.Domain = &amp;quot;smtp.tiscalinet.ch&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;objSmtpMail.UseDefaultCredentials = False
&lt;br&gt;'objSmtpMail.Credentials = objSMTPuser
&lt;br&gt;objSmtpMail.Port = 25
&lt;br&gt;objSmtpMail.Host = &amp;quot;smtp.tiscalinet.ch&amp;quot;
&lt;br&gt;objSmtpMail.DeliveryMethod = System.Net.Mail.SmtpDeliveryMethod.Network
&lt;br&gt;&lt;br&gt;'
&lt;br&gt;objSmtpMail.Send(Mailmsg)
&lt;br&gt;'objSmtpMail.Send(From, To, Subject, Body)
&lt;br&gt;'objSmtpMail.Send(Environment.UserName &amp; &amp;quot;@knowdotnet.com&amp;quot;, 
&lt;br&gt;&amp;quot;EmailAddress&amp;quot;, &amp;quot;Subject&amp;quot;, &amp;quot;Message&amp;quot;)
&lt;br&gt;&lt;br&gt;&lt;br&gt;' Async
&lt;br&gt;'&lt;a href=&quot;http://msdn.microsoft.com/de-de/library/system.net.mail.smtpclient.aspx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://msdn.microsoft.com/de-de/library/system.net.mail.smtpclient.aspx&lt;/a&gt;&lt;br&gt;'&lt;a href=&quot;http://msdn.microsoft.com/de-de/library/cc749732.aspx&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://msdn.microsoft.com/de-de/library/cc749732.aspx&lt;/a&gt;&lt;br&gt;'&lt;a href=&quot;http://msdn.microsoft.com/de-de/library/cc749732.aspx#XSLTsection128121120120&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://msdn.microsoft.com/de-de/library/cc749732.aspx#XSLTsection128121120120&lt;/a&gt;&lt;br&gt;'The userState can be any object that allows your callback
&lt;br&gt;'method to identify this send operation.
&lt;br&gt;'For this example, the userToken is a string constant.
&lt;br&gt;'Dim strUserState As String = &amp;quot;test message1&amp;quot;
&lt;br&gt;'AddHandler objSmtpMail.SendCompleted, AddressOf MailSendCompletedCallback
&lt;br&gt;'objSmtpMail.SendAsync(Mailmsg, strUserState)
&lt;br&gt;&lt;br&gt;Catch ex As Exception
&lt;br&gt;HttpContext.Current.Response.Write(&amp;quot;Error: &amp;quot; &amp; ex.ToString())
&lt;br&gt;Finally
&lt;br&gt;' Clean up.
&lt;br&gt;Mailmsg.Dispose()
&lt;br&gt;Mailmsg = Nothing
&lt;br&gt;End Try
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;'System.Net.Mail reads SMTP configuration data out of the standard .NET 
&lt;br&gt;configuration system
&lt;br&gt;'(so for ASP.NET applications you’d configure this in your application’s 
&lt;br&gt;web.config file).
&lt;br&gt;'Here is an example of how to configure it:
&lt;br&gt;&lt;br&gt;'&amp;lt;system.net&amp;gt;
&lt;br&gt;' &amp;lt;mailSettings&amp;gt;
&lt;br&gt;' &amp;lt;smtp from=&amp;quot;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26422837&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;test@...&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;' &amp;lt;network host=&amp;quot;smtpserver1&amp;quot; port=&amp;quot;25&amp;quot; userName=&amp;quot;username&amp;quot; 
&lt;br&gt;password=&amp;quot;secret&amp;quot; defaultCredentials=&amp;quot;true&amp;quot; /&amp;gt;
&lt;br&gt;' &amp;lt;/smtp&amp;gt;
&lt;br&gt;' &amp;lt;/mailSettings&amp;gt;
&lt;br&gt;' &amp;lt;/system.net&amp;gt;
&lt;br&gt;&lt;br&gt;End Sub
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;End Class
&lt;br&gt;&lt;br&gt;End Namespace
&lt;br&gt;&lt;br&gt;&lt;br&gt;--- Start Treeview XML datasource ---
&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-16&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;node text=&amp;quot;&amp;lt;span id='c6f5ab9e-d08f-448a-9143-02d174317c07' 
&lt;br&gt;oncontextmenu=&amp;quot;SetContextMenu(this.id, event);return false;&amp;quot; 
&lt;br&gt;&amp;gt;Altersheime der Stadt Zürich&amp;lt;/span&amp;gt;&amp;quot; 
&lt;br&gt;value=&amp;quot;c6f5ab9e-d08f-448a-9143-02d174317c07&amp;quot; 
&lt;br&gt;navigateurl=&amp;quot;javascript:SetUrl('./shownode.aspx?GUID=c6f5ab9e-d08f-448a-9143-02d174317c07');&amp;quot; 
&lt;br&gt;populateondemand=&amp;quot;False&amp;quot; showcheckbox=&amp;quot;false&amp;quot; checked=&amp;quot;False&amp;quot; 
&lt;br&gt;expanded=&amp;quot;True&amp;quot; selected=&amp;quot;False&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;node text=&amp;quot;&amp;lt;span id='f28df8d9-f83f-494c-a88e-591c7266c455' 
&lt;br&gt;oncontextmenu=&amp;quot;SetContextMenu(this.id, event);return false;&amp;quot; 
&lt;br&gt;&amp;gt;Altersheim Wildbach&amp;lt;/span&amp;gt;&amp;quot; 
&lt;br&gt;value=&amp;quot;f28df8d9-f83f-494c-a88e-591c7266c455&amp;quot; 
&lt;br&gt;navigateurl=&amp;quot;javascript:SetUrl('./shownode.aspx?GUID=f28df8d9-f83f-494c-a88e-591c7266c455');&amp;quot; 
&lt;br&gt;populateondemand=&amp;quot;False&amp;quot; showcheckbox=&amp;quot;false&amp;quot; checked=&amp;quot;False&amp;quot; 
&lt;br&gt;expanded=&amp;quot;True&amp;quot; selected=&amp;quot;False&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;node text=&amp;quot;&amp;lt;span id='31360723-0be2-47e5-814c-4837c174c9a1' 
&lt;br&gt;oncontextmenu=&amp;quot;SetContextMenu(this.id, event);return false;&amp;quot; 
&lt;br&gt;&amp;gt;Musterzimmer 203&amp;lt;/span&amp;gt;&amp;quot; 
&lt;br&gt;value=&amp;quot;31360723-0be2-47e5-814c-4837c174c9a1&amp;quot; 
&lt;br&gt;navigateurl=&amp;quot;javascript:SetUrl('./raumplaner.aspx?raum=31360723-0be2-47e5-814c-4837c174c9a1');&amp;quot; 
&lt;br&gt;populateondemand=&amp;quot;False&amp;quot; showcheckbox=&amp;quot;false&amp;quot; checked=&amp;quot;False&amp;quot; 
&lt;br&gt;expanded=&amp;quot;True&amp;quot; selected=&amp;quot;False&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;node text=&amp;quot;&amp;lt;span id='5accd32f-7a85-46de-99a3-0853843b4e99' 
&lt;br&gt;oncontextmenu=&amp;quot;SetContextMenu(this.id, event);return false;&amp;quot; 
&lt;br&gt;&amp;gt;Musterzimmer 211&amp;lt;/span&amp;gt;&amp;quot; 
&lt;br&gt;value=&amp;quot;5accd32f-7a85-46de-99a3-0853843b4e99&amp;quot; 
&lt;br&gt;navigateurl=&amp;quot;javascript:SetUrl('./raumplaner.aspx?raum=5accd32f-7a85-46de-99a3-0853843b4e99');&amp;quot; 
&lt;br&gt;populateondemand=&amp;quot;False&amp;quot; showcheckbox=&amp;quot;false&amp;quot; checked=&amp;quot;False&amp;quot; 
&lt;br&gt;expanded=&amp;quot;True&amp;quot; selected=&amp;quot;False&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;node text=&amp;quot;&amp;lt;span id='67774365-233b-4176-93f4-65c4e4953daa' 
&lt;br&gt;oncontextmenu=&amp;quot;SetContextMenu(this.id, event);return false;&amp;quot; 
&lt;br&gt;&amp;gt;Musterzimmer 511&amp;lt;/span&amp;gt;&amp;quot; 
&lt;br&gt;value=&amp;quot;67774365-233b-4176-93f4-65c4e4953daa&amp;quot; 
&lt;br&gt;navigateurl=&amp;quot;javascript:SetUrl('./raumplaner.aspx?raum=67774365-233b-4176-93f4-65c4e4953daa');&amp;quot; 
&lt;br&gt;populateondemand=&amp;quot;False&amp;quot; showcheckbox=&amp;quot;false&amp;quot; checked=&amp;quot;False&amp;quot; 
&lt;br&gt;expanded=&amp;quot;True&amp;quot; selected=&amp;quot;False&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;/node&amp;gt;
&lt;br&gt;&amp;lt;/node&amp;gt;
&lt;br&gt;&lt;br&gt;--- End XML
&lt;br&gt;&lt;br&gt;&lt;br&gt;Imports Microsoft.VisualBasic
&lt;br&gt;&lt;br&gt;Namespace MyName.XML
&lt;br&gt;''' &amp;lt;summary&amp;gt;
&lt;br&gt;''' Serializes and deserializes a TreeView
&lt;br&gt;''' &amp;lt;/summary&amp;gt;
&lt;br&gt;Public Class TreeViewSerializer
&lt;br&gt;&lt;br&gt;' XML tag for node, e.g. 'node' in case of &amp;lt;node&amp;gt;&amp;lt;/node&amp;gt;
&lt;br&gt;Private Const cstrXmlNodeTag As String = &amp;quot;node&amp;quot;
&lt;br&gt;' XML attributes for node e.g. &amp;lt;node text=&amp;quot;Asia&amp;quot; tag=&amp;quot;&amp;quot; 
&lt;br&gt;imageindex=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/node&amp;gt;
&lt;br&gt;Private Const cstrXmlNodeTextAtt As String = &amp;quot;text&amp;quot;
&lt;br&gt;Private Const cstrXmlNodeToolTipAtt As String = &amp;quot;tooltip&amp;quot;
&lt;br&gt;Private Const cstrXmlNodeTargetAtt As String = &amp;quot;target&amp;quot;
&lt;br&gt;Private Const cstrXmlNodeValueAtt As String = &amp;quot;value&amp;quot;
&lt;br&gt;Private Const cstrXmlNodeNavigateUrl As String = &amp;quot;navigateurl&amp;quot;
&lt;br&gt;Private Const cstrXmlNodeImageUrlAtt As String = &amp;quot;imageurl&amp;quot;
&lt;br&gt;Private Const cstrXmlNodeImageToolTipAtt As String = &amp;quot;imagetooltip&amp;quot;
&lt;br&gt;&lt;br&gt;Private Const cstrXmlNodePopulateOnDemandAtt As String = &amp;quot;populateondemand&amp;quot;
&lt;br&gt;Private Const cstrXmlNodeShowCheckBoxAtt As String = &amp;quot;showcheckbox&amp;quot;
&lt;br&gt;Private Const cstrXmlNodeCheckedAtt As String = &amp;quot;checked&amp;quot;
&lt;br&gt;Private Const cstrXmlNodeExpandedAtt As String = &amp;quot;expanded&amp;quot;
&lt;br&gt;Private Const cstrXmlNodeSelectedAtt As String = &amp;quot;selected&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Sub New()
&lt;br&gt;' TODO: Add a constructor here
&lt;br&gt;End Sub
&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Sub SaveTreeViewToXMLfile(ByRef tvTreeView As TreeView, ByRef 
&lt;br&gt;strFileNameAndPath As String)
&lt;br&gt;Dim xtrXMLtextWriter As New System.Xml.XmlTextWriter(strFileNameAndPath, 
&lt;br&gt;System.Text.Encoding.Unicode)
&lt;br&gt;xtrXMLtextWriter.Formatting = System.Xml.Formatting.Indented
&lt;br&gt;xtrXMLtextWriter.WriteStartDocument() ' Writing the XML declaration
&lt;br&gt;'xtrXMLtextWriter.WriteStartElement(&amp;quot;TreeView&amp;quot;) ' Writing the main 
&lt;br&gt;element which encloses all node tags
&lt;br&gt;' xtrXMLtextWriter.WriteRaw(&amp;quot;\r\n&amp;quot;);
&lt;br&gt;&lt;br&gt;' Save the nodes recursively
&lt;br&gt;SaveNodes(tvTreeView.Nodes, xtrXMLtextWriter)
&lt;br&gt;&lt;br&gt;'xtrXMLtextWriter.WriteEndElement()
&lt;br&gt;xtrXMLtextWriter.Close()
&lt;br&gt;End Sub
&lt;br&gt;&lt;br&gt;&lt;br&gt;Private Sub SaveNodes(ByRef tncTreeNodeCollection As TreeNodeCollection, 
&lt;br&gt;ByRef xtwXMLtextWriter As System.Xml.XmlTextWriter)
&lt;br&gt;For iNodeIndex As Integer = 0 To tncTreeNodeCollection.Count - 1
&lt;br&gt;Dim tnTreeNode As TreeNode = tncTreeNodeCollection(iNodeIndex)
&lt;br&gt;xtwXMLtextWriter.WriteStartElement(cstrXmlNodeTag)
&lt;br&gt;&lt;br&gt;&lt;br&gt;''''''''''''''''''''''''''''''''''''''''''''''''''''
&lt;br&gt;' Write TreeNode Attributes to XML file
&lt;br&gt;''''''''''''''''''''''''''''''''''''''''''''''''''''
&lt;br&gt;xtwXMLtextWriter.WriteAttributeString(cstrXmlNodeTextAtt, tnTreeNode.Text)
&lt;br&gt;&lt;br&gt;If Not String.IsNullOrEmpty(tnTreeNode.ToolTip) Then
&lt;br&gt;xtwXMLtextWriter.WriteAttributeString(cstrXmlNodeToolTipAtt, 
&lt;br&gt;tnTreeNode.ToolTip.ToString())
&lt;br&gt;End If
&lt;br&gt;&lt;br&gt;&lt;br&gt;If Not String.IsNullOrEmpty(tnTreeNode.Target) Then
&lt;br&gt;xtwXMLtextWriter.WriteAttributeString(cstrXmlNodeTargetAtt, 
&lt;br&gt;tnTreeNode.Target.ToString())
&lt;br&gt;End If
&lt;br&gt;&lt;br&gt;If Not String.IsNullOrEmpty(tnTreeNode.Value) Then
&lt;br&gt;xtwXMLtextWriter.WriteAttributeString(cstrXmlNodeValueAtt, 
&lt;br&gt;tnTreeNode.Value.ToString())
&lt;br&gt;End If
&lt;br&gt;&lt;br&gt;If String.IsNullOrEmpty(tnTreeNode.NavigateUrl) Then
&lt;br&gt;xtwXMLtextWriter.WriteAttributeString(cstrXmlNodeNavigateUrl, &amp;quot;&amp;quot;)
&lt;br&gt;Else
&lt;br&gt;xtwXMLtextWriter.WriteAttributeString(cstrXmlNodeNavigateUrl, 
&lt;br&gt;tnTreeNode.NavigateUrl.ToString())
&lt;br&gt;End If
&lt;br&gt;&lt;br&gt;If Not String.IsNullOrEmpty(tnTreeNode.ImageUrl) Then
&lt;br&gt;xtwXMLtextWriter.WriteAttributeString(cstrXmlNodeImageUrlAtt, 
&lt;br&gt;tnTreeNode.ImageUrl.ToString())
&lt;br&gt;End If
&lt;br&gt;&lt;br&gt;If Not String.IsNullOrEmpty(tnTreeNode.ImageToolTip) Then
&lt;br&gt;xtwXMLtextWriter.WriteAttributeString(cstrXmlNodeImageToolTipAtt, 
&lt;br&gt;tnTreeNode.ImageToolTip.ToString())
&lt;br&gt;End If
&lt;br&gt;&lt;br&gt;If Not String.IsNullOrEmpty(tnTreeNode.PopulateOnDemand) Then
&lt;br&gt;xtwXMLtextWriter.WriteAttributeString(cstrXmlNodePopulateOnDemandAtt, 
&lt;br&gt;tnTreeNode.PopulateOnDemand.ToString())
&lt;br&gt;End If
&lt;br&gt;&lt;br&gt;&lt;br&gt;'If tnTreeNode.ShowCheckBox IsNot Nothing Then
&lt;br&gt;'xtwXMLtextWriter.WriteAttributeString(cstrXmlNodeShowCheckBoxAtt, 
&lt;br&gt;tnTreeNode.ShowCheckBox.ToString())
&lt;br&gt;'End If
&lt;br&gt;&lt;br&gt;If IsNothing(tnTreeNode.ShowCheckBox) Then
&lt;br&gt;xtwXMLtextWriter.WriteAttributeString(cstrXmlNodeShowCheckBoxAtt, &amp;quot;false&amp;quot;)
&lt;br&gt;Else
&lt;br&gt;xtwXMLtextWriter.WriteAttributeString(cstrXmlNodeShowCheckBoxAtt, 
&lt;br&gt;tnTreeNode.ShowCheckBox.ToString())
&lt;br&gt;End If
&lt;br&gt;&lt;br&gt;If Not String.IsNullOrEmpty(tnTreeNode.Checked) Then
&lt;br&gt;xtwXMLtextWriter.WriteAttributeString(cstrXmlNodeCheckedAtt, 
&lt;br&gt;tnTreeNode.Checked.ToString())
&lt;br&gt;End If
&lt;br&gt;&lt;br&gt;&lt;br&gt;'If tnTreeNode.Expanded IsNot Nothing Then
&lt;br&gt;'xtwXMLtextWriter.WriteAttributeString(cstrXmlNodeExpandedAtt, 
&lt;br&gt;tnTreeNode.Expanded.ToString())
&lt;br&gt;'End If
&lt;br&gt;&lt;br&gt;If IsNothing(tnTreeNode.Expanded) Then
&lt;br&gt;xtwXMLtextWriter.WriteAttributeString(cstrXmlNodeExpandedAtt, &amp;quot;false&amp;quot;)
&lt;br&gt;Else
&lt;br&gt;&lt;br&gt;xtwXMLtextWriter.WriteAttributeString(cstrXmlNodeExpandedAtt, 
&lt;br&gt;tnTreeNode.Expanded.ToString())
&lt;br&gt;End If
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;If Not String.IsNullOrEmpty(tnTreeNode.Selected) Then
&lt;br&gt;xtwXMLtextWriter.WriteAttributeString(cstrXmlNodeSelectedAtt, 
&lt;br&gt;tnTreeNode.Selected.ToString())
&lt;br&gt;End If
&lt;br&gt;''''''''''''''''''''''''''''''''''''''''''''''''''''
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;''''''''''''''''''''''''''''''''''''''''''''''''''''
&lt;br&gt;' Todo:
&lt;br&gt;' Add other node properties for serialization here
&lt;br&gt;''''''''''''''''''''''''''''''''''''''''''''''''''''
&lt;br&gt;&lt;br&gt;If tnTreeNode.ChildNodes.Count &amp;gt; 0 Then
&lt;br&gt;SaveNodes(tnTreeNode.ChildNodes, xtwXMLtextWriter)
&lt;br&gt;End If
&lt;br&gt;xtwXMLtextWriter.WriteEndElement()
&lt;br&gt;Next
&lt;br&gt;End Sub
&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Sub LoadXMLfileIntoTreeView(ByRef tvTreeView As TreeView, ByRef 
&lt;br&gt;strFileNameAndPath As String)
&lt;br&gt;Dim xtrXMLtextReader As System.Xml.XmlTextReader = Nothing
&lt;br&gt;Try
&lt;br&gt;' Disabling re-drawing of treeview 'till all nodes are added
&lt;br&gt;' TreeView.BeginUpdate()
&lt;br&gt;xtrXMLtextReader = New System.Xml.XmlTextReader(strFileNameAndPath)
&lt;br&gt;&lt;br&gt;Dim tnParentNode As TreeNode = Nothing
&lt;br&gt;While xtrXMLtextReader.Read()
&lt;br&gt;Select Case xtrXMLtextReader.NodeType
&lt;br&gt;Case System.Xml.XmlNodeType.XmlDeclaration, 
&lt;br&gt;System.Xml.XmlNodeType.Whitespace
&lt;br&gt;Continue While ' Ignore, that's faster
&lt;br&gt;Case System.Xml.XmlNodeType.Element
&lt;br&gt;If xtrXMLtextReader.Name = cstrXmlNodeTag Then
&lt;br&gt;Dim tnNewTreeNode As New TreeNode()
&lt;br&gt;Dim bisEmptyElement As Boolean = xtrXMLtextReader.IsEmptyElement
&lt;br&gt;&lt;br&gt;' Loading attributes for node
&lt;br&gt;Dim iAttributeCount As Integer = xtrXMLtextReader.AttributeCount
&lt;br&gt;If iAttributeCount &amp;gt; 0 Then
&lt;br&gt;For iAttributeCounter As Integer = 0 To iAttributeCount - 1
&lt;br&gt;xtrXMLtextReader.MoveToAttribute(iAttributeCounter)
&lt;br&gt;&lt;br&gt;SetAttributeValue(tnNewTreeNode, xtrXMLtextReader.Name, 
&lt;br&gt;xtrXMLtextReader.Value)
&lt;br&gt;Next
&lt;br&gt;End If
&lt;br&gt;&lt;br&gt;' Add a new node to Parent Node or TreeView
&lt;br&gt;If tnParentNode IsNot Nothing Then
&lt;br&gt;tnParentNode.ChildNodes.Add(tnNewTreeNode)
&lt;br&gt;Else
&lt;br&gt;tvTreeView.Nodes.Add(tnNewTreeNode)
&lt;br&gt;End If
&lt;br&gt;&lt;br&gt;' Making the current node the 'ParentNode' if it's not empty
&lt;br&gt;If Not bisEmptyElement Then
&lt;br&gt;tnParentNode = tnNewTreeNode
&lt;br&gt;End If
&lt;br&gt;End If
&lt;br&gt;' Moving up to in TreeView if end tag is encountered
&lt;br&gt;Case System.Xml.XmlNodeType.EndElement
&lt;br&gt;If xtrXMLtextReader.Name = cstrXmlNodeTag Then
&lt;br&gt;tnParentNode = tnParentNode.Parent
&lt;br&gt;End If
&lt;br&gt;Case System.Xml.XmlNodeType.None
&lt;br&gt;'Exit Sub
&lt;br&gt;Continue While
&lt;br&gt;Case System.Xml.XmlNodeType.Text
&lt;br&gt;Dim tnNewTreeNode As System.Web.UI.WebControls.TreeNode = New 
&lt;br&gt;System.Web.UI.WebControls.TreeNode
&lt;br&gt;tnNewTreeNode.Text = xtrXMLtextReader.Value
&lt;br&gt;tnParentNode.ChildNodes.Add(tnNewTreeNode)
&lt;br&gt;End Select
&lt;br&gt;&lt;br&gt;End While
&lt;br&gt;&lt;br&gt;Catch ex As Exception
&lt;br&gt;HttpContext.Current.Response.Write(&amp;quot;Exception in 
&lt;br&gt;LoadXMLfileIntoTreeView.&amp;lt;br /&amp;gt;Description:&amp;lt;br /&amp;gt;&amp;quot; + ex.Message)
&lt;br&gt;Finally
&lt;br&gt;' Enabling redrawing of treeview after all nodes are added
&lt;br&gt;' TreeView.EndUpdate()
&lt;br&gt;xtrXMLtextReader.Close()
&lt;br&gt;End Try
&lt;br&gt;End Sub
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;''' &amp;lt;summary&amp;gt;
&lt;br&gt;''' Used by the LoadXmlFileIntoTreeView method for setting properties of 
&lt;br&gt;TreeNode from the attributes of the XML node
&lt;br&gt;''' &amp;lt;/summary&amp;gt;
&lt;br&gt;''' &amp;lt;param name=&amp;quot;tnThisNode&amp;quot;&amp;gt;&amp;lt;/param&amp;gt;
&lt;br&gt;''' &amp;lt;param name=&amp;quot;strPropertyName&amp;quot;&amp;gt;&amp;lt;/param&amp;gt;
&lt;br&gt;''' &amp;lt;param name=&amp;quot;strValue&amp;quot;&amp;gt;&amp;lt;/param&amp;gt;
&lt;br&gt;Private Sub SetAttributeValue(ByRef tnThisNode As TreeNode, ByRef 
&lt;br&gt;strPropertyName As String, ByRef strValue As String)
&lt;br&gt;Select Case strPropertyName
&lt;br&gt;Case cstrXmlNodeTextAtt
&lt;br&gt;tnThisNode.Text = strValue
&lt;br&gt;Case cstrXmlNodeImageUrlAtt
&lt;br&gt;tnThisNode.ImageUrl = strValue
&lt;br&gt;Case cstrXmlNodeToolTipAtt
&lt;br&gt;tnThisNode.ToolTip = strValue
&lt;br&gt;Case cstrXmlNodeTargetAtt
&lt;br&gt;tnThisNode.Target = strValue
&lt;br&gt;Case cstrXmlNodeValueAtt
&lt;br&gt;tnThisNode.Value = strValue
&lt;br&gt;Case cstrXmlNodeNavigateUrl
&lt;br&gt;tnThisNode.NavigateUrl = strValue
&lt;br&gt;Case cstrXmlNodeImageUrlAtt
&lt;br&gt;tnThisNode.ImageUrl = strValue
&lt;br&gt;Case cstrXmlNodeImageToolTipAtt
&lt;br&gt;tnThisNode.ImageToolTip = strValue
&lt;br&gt;Case cstrXmlNodePopulateOnDemandAtt
&lt;br&gt;tnThisNode.PopulateOnDemand = strValue
&lt;br&gt;Case cstrXmlNodeShowCheckBoxAtt
&lt;br&gt;tnThisNode.ShowCheckBox = strValue
&lt;br&gt;Case cstrXmlNodeCheckedAtt
&lt;br&gt;tnThisNode.Checked = strValue
&lt;br&gt;Case cstrXmlNodeExpandedAtt
&lt;br&gt;tnThisNode.Expanded = strValue
&lt;br&gt;Case cstrXmlNodeSelectedAtt
&lt;br&gt;tnThisNode.Selected = strValue
&lt;br&gt;End Select
&lt;br&gt;End Sub
&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Sub LoadXmlFileInTreeView(ByVal tvTreeView As TreeView, ByVal 
&lt;br&gt;strFileNameAndPath As String)
&lt;br&gt;Dim xtrXMLtextReader As System.Xml.XmlTextReader = Nothing
&lt;br&gt;Try
&lt;br&gt;' tvTreeView.BeginUpdate()
&lt;br&gt;xtrXMLtextReader = New System.Xml.XmlTextReader(strFileNameAndPath)
&lt;br&gt;&lt;br&gt;Dim tnCurrentSelectedTreeNode As New TreeNode(strFileNameAndPath)
&lt;br&gt;tvTreeView.Nodes.Add(tnCurrentSelectedTreeNode)
&lt;br&gt;While xtrXMLtextReader.Read()
&lt;br&gt;&lt;br&gt;&lt;br&gt;Select Case xtrXMLtextReader.NodeType
&lt;br&gt;Case System.Xml.XmlNodeType.XmlDeclaration, 
&lt;br&gt;System.Xml.XmlNodeType.Whitespace
&lt;br&gt;Continue While ' Ignore, that's faster
&lt;br&gt;Case System.Xml.XmlNodeType.Element
&lt;br&gt;Dim bisEmptyElement As Boolean = xtrXMLtextReader.IsEmptyElement
&lt;br&gt;Dim sbCurrentItemString As New System.Text.StringBuilder()
&lt;br&gt;sbCurrentItemString.Append(xtrXMLtextReader.Name)
&lt;br&gt;Dim iAttributeCount As Integer = xtrXMLtextReader.AttributeCount
&lt;br&gt;If iAttributeCount &amp;gt; 0 Then
&lt;br&gt;sbCurrentItemString.Append(&amp;quot; ( &amp;quot;)
&lt;br&gt;For iAttributeCounter As Integer = 0 To iAttributeCount - 1
&lt;br&gt;If iAttributeCounter &amp;lt;&amp;gt; 0 Then
&lt;br&gt;sbCurrentItemString.Append(&amp;quot;, &amp;quot;)
&lt;br&gt;End If
&lt;br&gt;xtrXMLtextReader.MoveToAttribute(iAttributeCounter)
&lt;br&gt;sbCurrentItemString.Append(xtrXMLtextReader.Name)
&lt;br&gt;sbCurrentItemString.Append(&amp;quot; = &amp;quot;)
&lt;br&gt;sbCurrentItemString.Append(xtrXMLtextReader.Value)
&lt;br&gt;Next
&lt;br&gt;sbCurrentItemString.Append(&amp;quot; ) &amp;quot;)
&lt;br&gt;End If
&lt;br&gt;&lt;br&gt;If bisEmptyElement Then
&lt;br&gt;Dim tnNewTreeNode1 As System.Web.UI.WebControls.TreeNode = New 
&lt;br&gt;System.Web.UI.WebControls.TreeNode
&lt;br&gt;tnNewTreeNode1.Text = sbCurrentItemString.ToString()
&lt;br&gt;tnCurrentSelectedTreeNode.ChildNodes.Add(tnNewTreeNode1)
&lt;br&gt;Else
&lt;br&gt;Dim tnNewTreeNode2 As System.Web.UI.WebControls.TreeNode = New 
&lt;br&gt;System.Web.UI.WebControls.TreeNode
&lt;br&gt;tnNewTreeNode2.Text = sbCurrentItemString.ToString()
&lt;br&gt;tnCurrentSelectedTreeNode.ChildNodes.Add(tnNewTreeNode2)
&lt;br&gt;tnCurrentSelectedTreeNode = tnNewTreeNode2
&lt;br&gt;End If
&lt;br&gt;Case System.Xml.XmlNodeType.EndElement
&lt;br&gt;If Not tnCurrentSelectedTreeNode.Depth = 0 Then ' And if it is not the 
&lt;br&gt;root node...
&lt;br&gt;tnCurrentSelectedTreeNode = tnCurrentSelectedTreeNode.Parent
&lt;br&gt;End If
&lt;br&gt;Case System.Xml.XmlNodeType.None
&lt;br&gt;Continue While ' Exit Sub
&lt;br&gt;Case System.Xml.XmlNodeType.Text
&lt;br&gt;Dim tnNewTreeNode3 As System.Web.UI.WebControls.TreeNode = New 
&lt;br&gt;System.Web.UI.WebControls.TreeNode
&lt;br&gt;tnNewTreeNode3.Text = xtrXMLtextReader.Value
&lt;br&gt;tnCurrentSelectedTreeNode.ChildNodes.Add(tnNewTreeNode3)
&lt;br&gt;End Select
&lt;br&gt;&lt;br&gt;End While
&lt;br&gt;Catch ex As Exception
&lt;br&gt;HttpContext.Current.Response.Write(&amp;quot;Exception in 
&lt;br&gt;LoadXmlFileInTreeView.&amp;lt;br&amp;gt;Description:&amp;lt;br&amp;gt;&amp;quot; + ex.Message)
&lt;br&gt;Finally
&lt;br&gt;' tvTreeView.EndUpdate()
&lt;br&gt;xtrXMLtextReader.Close()
&lt;br&gt;End Try
&lt;br&gt;End Sub
&lt;br&gt;&lt;br&gt;&lt;br&gt;End Class
&lt;br&gt;&lt;br&gt;&lt;br&gt;End Namespace
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Namespace MyName.XMLserialization
&lt;br&gt;&lt;br&gt;Public Class XmlTextWriterIndentedStandaloneNo
&lt;br&gt;Inherits System.Xml.XmlTextWriter
&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Sub New(ByRef w As System.IO.TextWriter)
&lt;br&gt;MyBase.New(w)
&lt;br&gt;Formatting = System.Xml.Formatting.Indented
&lt;br&gt;End Sub
&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Sub New(ByRef strFileName As String, ByRef teEncoding As 
&lt;br&gt;System.Text.Encoding)
&lt;br&gt;MyBase.New(strFileName, teEncoding)
&lt;br&gt;Formatting = System.Xml.Formatting.Indented
&lt;br&gt;End Sub
&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Sub New(ByRef w As System.IO.Stream, ByRef teEncoding As 
&lt;br&gt;System.Text.Encoding)
&lt;br&gt;MyBase.New(w, teEncoding)
&lt;br&gt;Formatting = System.Xml.Formatting.Indented
&lt;br&gt;End Sub
&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Overloads Overrides Sub WriteStartDocument()
&lt;br&gt;' Or suppress by just ommitting WriteStartDocument
&lt;br&gt;MyBase.WriteStartDocument(False) ' False: Standalon=&amp;quot;no&amp;quot;
&lt;br&gt;End Sub
&lt;br&gt;End Class
&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Class XMLserializeFacility
&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Shared Sub SerializeToXML(ByRef strFileNameAndPath As String, 
&lt;br&gt;ByVal ThisFacility As cFacility)
&lt;br&gt;Dim serializer As New 
&lt;br&gt;System.Xml.Serialization.XmlSerializer(GetType(cFacility))
&lt;br&gt;&lt;br&gt;Dim xtwXMLtextWriter As System.Xml.XmlTextWriter = Nothing
&lt;br&gt;Try
&lt;br&gt;&lt;br&gt;xtwXMLtextWriter = New System.Xml.XmlTextWriter(strFileNameAndPath, 
&lt;br&gt;System.Text.Encoding.UTF8)
&lt;br&gt;'xtwXMLtextWriter = New 
&lt;br&gt;XmlTextWriterIndentedStandaloneNo(&amp;quot;C:\Users\username\Desktop\furniture.xml&amp;quot;, 
&lt;br&gt;System.Text.Encoding.UTF8)
&lt;br&gt;&lt;br&gt;xtwXMLtextWriter.Formatting = System.Xml.Formatting.Indented
&lt;br&gt;&lt;br&gt;Dim ns As New System.Xml.Serialization.XmlSerializerNamespaces()
&lt;br&gt;' Get rid of
&lt;br&gt;' xmlns:xsd = &amp;quot;&lt;a href=&quot;http://www.w3.org/2001/XMLSchema&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2001/XMLSchema&lt;/a&gt;&amp;quot;
&lt;br&gt;' and
&lt;br&gt;' xmlns:xsi = &amp;quot;&lt;a href=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/a&gt;&amp;quot;
&lt;br&gt;ns.Add(&amp;quot;&amp;quot;, &amp;quot;&amp;quot;)
&lt;br&gt;&lt;br&gt;serializer.Serialize(xtwXMLtextWriter, ThisFacility, ns)
&lt;br&gt;'serializer.Serialize(xtwXMLtextWriter, MyAppConfig)
&lt;br&gt;&lt;br&gt;xtwXMLtextWriter.Flush()
&lt;br&gt;xtwXMLtextWriter.Close() 'Write the XML to file and close the writer
&lt;br&gt;Catch ex As Exception
&lt;br&gt;Console.WriteLine(&amp;quot;Encountered Exception in 
&lt;br&gt;MyName.XMLserialization.SerializeToXML()&amp;quot; + vbCrLf + &amp;quot;Details: &amp;quot; + 
&lt;br&gt;vbCrLf + ex.Message)
&lt;br&gt;End Try
&lt;br&gt;&lt;br&gt;&lt;br&gt;'Dim swEncodingWriter As System.IO.StreamWriter = New 
&lt;br&gt;System.IO.StreamWriter(&amp;quot;C:\Users\username\Desktop\furniture.xml&amp;quot;, False, 
&lt;br&gt;System.Text.Encoding.UTF8)
&lt;br&gt;'serializer.Serialize(swEncodingWriter, MyAppConfig)
&lt;br&gt;'swEncodingWriter.Close()
&lt;br&gt;'swEncodingWriter.Dispose()
&lt;br&gt;End Sub
&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Shared Sub SerializeToXML(ByRef strFileNameAndPath As String, 
&lt;br&gt;ByVal FacilityList As System.Collections.Generic.List(Of cFacility))
&lt;br&gt;Dim serializer As New 
&lt;br&gt;System.Xml.Serialization.XmlSerializer(GetType(System.Collections.Generic.List(Of 
&lt;br&gt;cFacility)))
&lt;br&gt;Dim swEncodingWriter As System.IO.StreamWriter = New 
&lt;br&gt;System.IO.StreamWriter(strFileNameAndPath, False, System.Text.Encoding.UTF8)
&lt;br&gt;serializer.Serialize(swEncodingWriter, FacilityList)
&lt;br&gt;swEncodingWriter.Close()
&lt;br&gt;swEncodingWriter.Dispose()
&lt;br&gt;End Sub
&lt;br&gt;&lt;br&gt;&lt;br&gt;' &amp;quot;C:\Users\username\Desktop\furniture.xml&amp;quot;
&lt;br&gt;Public Shared Function DeserializeFromXML(ByRef strFileNameAndPath As 
&lt;br&gt;String) As MyName.XMLserialization.cFacility
&lt;br&gt;Dim deserializer As New 
&lt;br&gt;System.Xml.Serialization.XmlSerializer(GetType(cFacility))
&lt;br&gt;Dim srEncodingReader As IO.StreamReader = New 
&lt;br&gt;IO.StreamReader(strFileNameAndPath, System.Text.Encoding.UTF8)
&lt;br&gt;'Dim textReader As IO.TextReader = New 
&lt;br&gt;IO.StreamReader(&amp;quot;C:\Users\username\Desktop\furniture.xml&amp;quot;)
&lt;br&gt;Dim ThisFacility As cFacility
&lt;br&gt;&lt;br&gt;ThisFacility = DirectCast(deserializer.Deserialize(srEncodingReader), 
&lt;br&gt;cFacility)
&lt;br&gt;srEncodingReader.Close()
&lt;br&gt;srEncodingReader.Dispose()
&lt;br&gt;&lt;br&gt;Return ThisFacility
&lt;br&gt;End Function
&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Shared Function DeserializeFromXML1(ByRef strFileNameAndPath As 
&lt;br&gt;String) As System.Collections.Generic.List(Of 
&lt;br&gt;MyName.XMLserialization.cFacility)
&lt;br&gt;Dim deserializer As New 
&lt;br&gt;System.Xml.Serialization.XmlSerializer(GetType(System.Collections.Generic.List(Of 
&lt;br&gt;cFacility)))
&lt;br&gt;Dim srEncodingReader As IO.StreamReader = New 
&lt;br&gt;IO.StreamReader(strFileNameAndPath, System.Text.Encoding.UTF8)
&lt;br&gt;'Dim textReader As IO.TextReader = New 
&lt;br&gt;IO.StreamReader(&amp;quot;C:\Users\username\Desktop\furniture.xml&amp;quot;)
&lt;br&gt;Dim FacilityList As System.Collections.Generic.List(Of cFacility)
&lt;br&gt;FacilityList = DirectCast(deserializer.Deserialize(srEncodingReader), 
&lt;br&gt;System.Collections.Generic.List(Of cFacility))
&lt;br&gt;srEncodingReader.Close()
&lt;br&gt;srEncodingReader.Dispose()
&lt;br&gt;&lt;br&gt;Return FacilityList
&lt;br&gt;End Function
&lt;br&gt;&lt;br&gt;End Class
&lt;br&gt;&lt;br&gt;&lt;br&gt;' Actually there is a more appropriate newsgroup:
&lt;br&gt;' microsoft.public.dotnet.xml
&lt;br&gt;'&lt;a href=&quot;http://bytes.com/topic/net/answers/102955-xml-serialization-class-attributes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bytes.com/topic/net/answers/102955-xml-serialization-class-attributes&lt;/a&gt;&lt;br&gt;Public Class cPoints
&lt;br&gt;' a named attribute
&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlAttribute(&amp;quot;x&amp;quot;)&amp;gt; _
&lt;br&gt;Public X As Double = 0.0
&lt;br&gt;&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlAttribute(&amp;quot;y&amp;quot;)&amp;gt; _
&lt;br&gt;Public y As Double = 0.0
&lt;br&gt;End Class
&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Class cArea
&lt;br&gt;'&amp;lt;area name=&amp;quot;1&amp;quot; color=&amp;quot;0x999999&amp;quot; alpha=&amp;quot;20&amp;quot; strokecolor=&amp;quot;0xffffff&amp;quot; 
&lt;br&gt;strokealpha=&amp;quot;00&amp;quot; showstroke=&amp;quot;false&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlAttribute(&amp;quot;name&amp;quot;)&amp;gt; _
&lt;br&gt;Public name As String = &amp;quot;1&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlAttribute(&amp;quot;color&amp;quot;)&amp;gt; _
&lt;br&gt;Public color As String = &amp;quot;0x999999&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlAttribute(&amp;quot;alpha&amp;quot;)&amp;gt; _
&lt;br&gt;Public alpha As Integer = 0
&lt;br&gt;&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlAttribute(&amp;quot;strokecolor&amp;quot;)&amp;gt; _
&lt;br&gt;Public strokecolor As String = &amp;quot;0xffffff&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlAttribute(&amp;quot;strokealpha&amp;quot;)&amp;gt; _
&lt;br&gt;Public strokealpha As String = &amp;quot;00&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlAttribute(&amp;quot;showstroke&amp;quot;)&amp;gt; _
&lt;br&gt;Public showstroke As Boolean = False
&lt;br&gt;&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlElement(&amp;quot;point&amp;quot;)&amp;gt; _
&lt;br&gt;Public Area As New System.Collections.Generic.List(Of cPoints)
&lt;br&gt;End Class
&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Class cAreas
&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlElement(&amp;quot;area&amp;quot;)&amp;gt; _
&lt;br&gt;Public AreaList As New System.Collections.Generic.List(Of cArea)
&lt;br&gt;End Class
&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Class cStock
&lt;br&gt;' &amp;lt;stock id=&amp;quot;0&amp;quot; name=&amp;quot;&amp;quot; src=&amp;quot;images/moebel_2/bett_200_90.swf&amp;quot; 
&lt;br&gt;width=&amp;quot;0.90&amp;quot; height=&amp;quot;2.00&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlAttribute(&amp;quot;id&amp;quot;)&amp;gt; _
&lt;br&gt;Public id As Integer = 0
&lt;br&gt;&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlAttribute(&amp;quot;name&amp;quot;)&amp;gt; _
&lt;br&gt;Public name As String = &amp;quot;&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlAttribute(&amp;quot;src&amp;quot;)&amp;gt; _
&lt;br&gt;Public src As String = &amp;quot;DefaultSource&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlAttribute(&amp;quot;width&amp;quot;)&amp;gt; _
&lt;br&gt;Public width As Double = 0.0
&lt;br&gt;&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlAttribute(&amp;quot;height&amp;quot;)&amp;gt; _
&lt;br&gt;Public height As Double = 0.0
&lt;br&gt;End Class
&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Class cStocks
&lt;br&gt;'&amp;lt;stocks type =&amp;quot;Betten/Nachttische&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlAttribute(&amp;quot;type&amp;quot;)&amp;gt; _
&lt;br&gt;Public type As String = &amp;quot;DefaultFurniture&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlElement(&amp;quot;stock&amp;quot;)&amp;gt; _
&lt;br&gt;Public StockList As New System.Collections.Generic.List(Of cStock)
&lt;br&gt;End Class
&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Class cStocklib
&lt;br&gt;'&amp;lt;stocklib name=&amp;quot;M�bel-Bibliothek&amp;quot; icon=&amp;quot;images/icons/moebel_icon.jpg&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlAttribute(&amp;quot;name&amp;quot;)&amp;gt; _
&lt;br&gt;Public name As String = &amp;quot;DefaultName&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlAttribute(&amp;quot;icon&amp;quot;)&amp;gt; _
&lt;br&gt;Public icon As String = &amp;quot;DefaultIcon&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlElement(&amp;quot;stocks&amp;quot;)&amp;gt; _
&lt;br&gt;Public Stock As New System.Collections.Generic.List(Of cStocks)
&lt;br&gt;End Class
&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Class cFurniture
&lt;br&gt;'&amp;lt;furniture src =&amp;quot;&amp;quot; posX=&amp;quot;&amp;quot; posY=&amp;quot;&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlAttribute(&amp;quot;src&amp;quot;)&amp;gt; _
&lt;br&gt;Public strSource As String
&lt;br&gt;&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlAttribute(&amp;quot;posX&amp;quot;)&amp;gt; _
&lt;br&gt;Public dPosX As Double
&lt;br&gt;&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlAttribute(&amp;quot;posY&amp;quot;)&amp;gt; _
&lt;br&gt;Public dPosY As Double
&lt;br&gt;&lt;br&gt;'&amp;lt;System.Xml.Serialization.XmlIgnore()&amp;gt; _
&lt;br&gt;Public Overrides Function ToString() As String
&lt;br&gt;Return &amp;quot;Src: &amp;quot; + strSource + &amp;quot; PosX: &amp;quot; + dPosX.ToString + &amp;quot;PosY: &amp;quot; + 
&lt;br&gt;dPosY.ToString
&lt;br&gt;End Function
&lt;br&gt;End Class
&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Class cFurnitureList
&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlElement(&amp;quot;furniture&amp;quot;)&amp;gt; _
&lt;br&gt;Public Stock As New System.Collections.Generic.List(Of cFurniture)
&lt;br&gt;End Class
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Public Class cScale
&lt;br&gt;' a named attribute
&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlAttribute(&amp;quot;define&amp;quot;)&amp;gt; _
&lt;br&gt;Public dblScale As Double = 0.0
&lt;br&gt;End Class
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlRoot(&amp;quot;facility&amp;quot;)&amp;gt; _
&lt;br&gt;Public Class cFacility
&lt;br&gt;&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlIgnore()&amp;gt; _
&lt;br&gt;Public Property Scale() As Double
&lt;br&gt;Get
&lt;br&gt;Return Me._Scale.dblScale
&lt;br&gt;End Get
&lt;br&gt;Set(ByVal value As Double)
&lt;br&gt;Me._Scale.dblScale = value
&lt;br&gt;End Set
&lt;br&gt;End Property
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlElement(&amp;quot;scale&amp;quot;)&amp;gt; _
&lt;br&gt;Public _Scale As cScale = New cScale
&lt;br&gt;&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlElement(&amp;quot;areas&amp;quot;)&amp;gt; _
&lt;br&gt;Public areas As cAreas = New cAreas
&lt;br&gt;&lt;br&gt;&amp;lt;System.Xml.Serialization.XmlElement(&amp;quot;stocklib&amp;quot;)&amp;gt; _
&lt;br&gt;Public Stocklib As New System.Collections.Generic.List(Of cStocklib)
&lt;br&gt;&lt;br&gt;' the text attribute
&lt;br&gt;'&amp;lt;System.Xml.Serialization.XmlTextAttribute()&amp;gt; _
&lt;br&gt;'Public Type As String = &amp;quot;MeinTyp&amp;quot;
&lt;br&gt;'Public Status As Boolean = False
&lt;br&gt;End Class
&lt;br&gt;&lt;br&gt;&lt;br&gt;End Namespace
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-vb mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26422837&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-tp26422837p26422837.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26380038</id>
	<title>Re: if Iter isnot nothing then generates exception	during compile!</title>
	<published>2009-11-16T13:41:44Z</published>
	<updated>2009-11-16T13:41:44Z</updated>
	<author>
		<name>Rolf Bjarne Kvinge-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Am Montag, den 16.11.2009, 10:28 +0100 schrieb Rolf Bjarne Kvinge:
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; You're checking if a structure isnot nothing, which is an error.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; MS' VB compiler shows this:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; error BC31419: 'IsNot' requires operands that have reference types,
&lt;br&gt;&amp;gt; but this
&lt;br&gt;&amp;gt; &amp;gt; operand has the value type (...)
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Rolf
&lt;br&gt;&amp;gt; Hallo Rolf!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I already had this idea, but = and &amp;lt;&amp;gt; did'nt work as well. I succeded
&lt;br&gt;&amp;gt; in
&lt;br&gt;&amp;gt; compiling with isNothing(Iter). But the programm stops now at another
&lt;br&gt;&amp;gt; line, but at the moment I am installing my new computer and I don't
&lt;br&gt;&amp;gt; have
&lt;br&gt;&amp;gt; time to check this out. It is really an adventure to write code without
&lt;br&gt;&amp;gt; code completion and all this comfort of MSVS. I haven't done this for
&lt;br&gt;&amp;gt; about 12 years....
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regard Hans
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; By the way... How can you compile a Mono-GTK-Project with
&lt;br&gt;&amp;gt; MS-VB-Compiler?
&lt;/div&gt;&lt;br&gt;You should be able to just add the gtk assemblies (copy from your linux
&lt;br&gt;machine) as references in VS. That won't run in Windows (for that you'll
&lt;br&gt;have to install gtk# for windows, can be downloaded here:
&lt;br&gt;&lt;a href=&quot;http://www.go-mono.com/mono-downloads/download.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.go-mono.com/mono-downloads/download.html&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Rolf
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-vb mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26380038&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/if-Iter-isnot-nothing-then---generates-exception-during-compile%21-tp26353710p26380038.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26374821</id>
	<title>Re: if Iter isnot nothing then generates exception	during compile!</title>
	<published>2009-11-16T08:25:27Z</published>
	<updated>2009-11-16T08:25:27Z</updated>
	<author>
		<name>Easy_Rider9999</name>
	</author>
	<content type="html">Am Montag, den 16.11.2009, 10:28 +0100 schrieb Rolf Bjarne Kvinge:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You're checking if a structure isnot nothing, which is an error.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; MS' VB compiler shows this:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; error BC31419: 'IsNot' requires operands that have reference types, but this
&lt;br&gt;&amp;gt; operand has the value type (...)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Rolf
&lt;/div&gt;Hallo Rolf!
&lt;br&gt;&lt;br&gt;I already had this idea, but = and &amp;lt;&amp;gt; did'nt work as well. I succeded in
&lt;br&gt;compiling with isNothing(Iter). But the programm stops now at another
&lt;br&gt;line, but at the moment I am installing my new computer and I don't have
&lt;br&gt;time to check this out. It is really an adventure to write code without
&lt;br&gt;code completion and all this comfort of MSVS. I haven't done this for
&lt;br&gt;about 12 years....
&lt;br&gt;&lt;br&gt;Regard Hans
&lt;br&gt;&lt;br&gt;By the way... How can you compile a Mono-GTK-Project with
&lt;br&gt;MS-VB-Compiler?
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-vb mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26374821&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/if-Iter-isnot-nothing-then---generates-exception-during-compile%21-tp26353710p26374821.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26369002</id>
	<title>Re: if Iter isnot nothing then generates exception during compile!</title>
	<published>2009-11-16T01:28:29Z</published>
	<updated>2009-11-16T01:28:29Z</updated>
	<author>
		<name>Rolf Bjarne Kvinge-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;You're checking if a structure isnot nothing, which is an error.
&lt;br&gt;&lt;br&gt;MS' VB compiler shows this:
&lt;br&gt;&lt;br&gt;error BC31419: 'IsNot' requires operands that have reference types, but this
&lt;br&gt;operand has the value type (...)
&lt;br&gt;&lt;br&gt;Rolf
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26369002&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mono-vb-bounces@...&lt;/a&gt; [mailto:mono-vb-
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26369002&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bounces@...&lt;/a&gt;] On Behalf Of Easy_Rider9999
&lt;br&gt;&amp;gt; Sent: sábado, 14 de noviembre de 2009 21:43
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26369002&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mono-vb@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: [mono-vb] if Iter isnot nothing then generates exception
&lt;br&gt;&amp;gt; during compile!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I get the following compile Error:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; /home/jhmgbl/Projects/prjLinuxInfo/prjLinuxInfo/frmMain.vb (166,32) :
&lt;br&gt;&amp;gt; Error
&lt;br&gt;&amp;gt; VBNC99999: There was an exception during code generation.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; /home/jhmgbl/Projects/prjLinuxInfo/prjLinuxInfo/&amp;lt;MyGenerator&amp;gt; (1,1) :
&lt;br&gt;&amp;gt; Error
&lt;br&gt;&amp;gt; VBNC99999: Unexpected error: There has been an internal error in the
&lt;br&gt;&amp;gt; compiler caused by the line: (166,32)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; at vbnc.Is_IsNotExpression.GenerateCodeInternal (vbnc.EmitInfo Info)
&lt;br&gt;&amp;gt; [0x0001e] in
&lt;br&gt;&amp;gt; /media/disk/Downloads/Linux/mono-basic-
&lt;br&gt;&amp;gt; 2.4.2/vbnc/vbnc/source/Expressions/BinaryExpressions/Is_IsNotExpression
&lt;br&gt;&amp;gt; .vb:56
&lt;br&gt;&amp;gt; &amp;nbsp; at vbnc.Expression.GenerateCode (vbnc.EmitInfo Info) [0x000dd] in
&lt;br&gt;&amp;gt; /media/disk/Downloads/Linux/mono-basic-
&lt;br&gt;&amp;gt; 2.4.2/vbnc/vbnc/source/Expressions/Expression.vb:195
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Compilation took 00:00:02.8174030
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The Code of this procedure is:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Private Sub xvinfo
&lt;br&gt;&amp;gt; 			Dim rIter as TreeIter = rootIter
&lt;br&gt;&amp;gt; 			Dim Iter, lastRIter as TreeIter
&lt;br&gt;&amp;gt; 			Dim si as new System.Diagnostics.ProcessStartInfo
&lt;br&gt;&amp;gt; 			si.CreateNoWindow = true
&lt;br&gt;&amp;gt; 			si.UseShellExecute = false
&lt;br&gt;&amp;gt; 			si.RedirectStandardOutput = true
&lt;br&gt;&amp;gt; 			si.FileName = &amp;quot;xvinfo&amp;quot;
&lt;br&gt;&amp;gt; 			Dim p as process =
&lt;br&gt;&amp;gt; system.diagnostics.process.start(si)
&lt;br&gt;&amp;gt; 			Dim s as IO.StreamReader = p.StandardOutput
&lt;br&gt;&amp;gt; 			Dim l as String
&lt;br&gt;&amp;gt; 			Dim lastSpaces as Integer
&lt;br&gt;&amp;gt; 			p.start
&lt;br&gt;&amp;gt; 			Do
&lt;br&gt;&amp;gt; 				l = s.ReadLine
&lt;br&gt;&amp;gt; 				if l is nothing then exit Do
&lt;br&gt;&amp;gt; 				Dim spaces as Integer = 0
&lt;br&gt;&amp;gt; 				For I as Integer = 2 to 50 Step 2
&lt;br&gt;&amp;gt; 					if l.startsWith (New String(&amp;quot; &amp;quot;c,I))
&lt;/div&gt;then
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 						spaces = I
&lt;br&gt;&amp;gt; 					else
&lt;br&gt;&amp;gt; 						exit For
&lt;br&gt;&amp;gt; 					end if
&lt;br&gt;&amp;gt; 				next I
&lt;br&gt;&amp;gt; 				Dim Diff as Integer = spaces - lastspaces
&lt;br&gt;&amp;gt; 				if Diff = 2 then
&lt;br&gt;&amp;gt; 					lastSpaces = spaces
&lt;br&gt;&amp;gt; 					if Iter isnot nothing then
&lt;br&gt;&amp;gt; 						lastRIter = RIter
&lt;br&gt;&amp;gt; 						rIter = Iter
&lt;br&gt;&amp;gt; 					end if
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 				elseif Diff = -2 then
&lt;br&gt;&amp;gt; 					rIter =
&lt;br&gt;&amp;gt; Store.Getiter(riter,Store.GetPath(riter).up)
&lt;br&gt;&amp;gt; 					if rIter is nothing then rIter =
&lt;/div&gt;Iter
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 				end if
&lt;br&gt;&amp;gt; 				iter = store.AppendValues(RIter,l)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 			Loop
&lt;br&gt;&amp;gt; 			p.waitforexit
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 		End Sub
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regard Hans
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://old.nabble.com/if-Iter-isnot-&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/if-Iter-isnot-&lt;/a&gt;&lt;br&gt;&amp;gt; nothing-then---generates-exception-during-compile%21-
&lt;br&gt;&amp;gt; tp26353710p26353710.html
&lt;br&gt;&amp;gt; Sent from the Mono - VB mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Mono-vb mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26369002&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-vb mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26369002&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/if-Iter-isnot-nothing-then---generates-exception-during-compile%21-tp26353710p26369002.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26353710</id>
	<title>if Iter isnot nothing then   generates exception during compile!</title>
	<published>2009-11-14T12:42:58Z</published>
	<updated>2009-11-14T12:42:58Z</updated>
	<author>
		<name>Easy_Rider9999</name>
	</author>
	<content type="html">I get the following compile Error:
&lt;br&gt;&lt;br&gt;/home/jhmgbl/Projects/prjLinuxInfo/prjLinuxInfo/frmMain.vb (166,32) : Error VBNC99999: There was an exception during code generation.
&lt;br&gt;&lt;br&gt;/home/jhmgbl/Projects/prjLinuxInfo/prjLinuxInfo/&amp;lt;MyGenerator&amp;gt; (1,1) : Error VBNC99999: Unexpected error: There has been an internal error in the compiler caused by the line: (166,32)
&lt;br&gt;&lt;br&gt;&amp;nbsp; at vbnc.Is_IsNotExpression.GenerateCodeInternal (vbnc.EmitInfo Info) [0x0001e] in /media/disk/Downloads/Linux/mono-basic-2.4.2/vbnc/vbnc/source/Expressions/BinaryExpressions/Is_IsNotExpression.vb:56 
&lt;br&gt;&amp;nbsp; at vbnc.Expression.GenerateCode (vbnc.EmitInfo Info) [0x000dd] in /media/disk/Downloads/Linux/mono-basic-2.4.2/vbnc/vbnc/source/Expressions/Expression.vb:195 
&lt;br&gt;&lt;br&gt;Compilation took 00:00:02.8174030
&lt;br&gt;&lt;br&gt;&lt;br&gt;The Code of this procedure is:
&lt;br&gt;&lt;br&gt;Private Sub xvinfo
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim rIter as TreeIter = rootIter
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim Iter, lastRIter as TreeIter
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim si as new System.Diagnostics.ProcessStartInfo
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; si.CreateNoWindow = true
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; si.UseShellExecute = false
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; si.RedirectStandardOutput = true
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; si.FileName = &amp;quot;xvinfo&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim p as process = system.diagnostics.process.start(si)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim s as IO.StreamReader = p.StandardOutput
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim l as String
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim lastSpaces as Integer
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p.start
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Do 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; l = s.ReadLine
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if l is nothing then exit Do
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim spaces as Integer = 0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; For I as Integer = 2 to 50 Step 2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if l.startsWith (New String(&amp;quot; &amp;quot;c,I)) then
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; spaces = I
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; exit For
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; end if
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; next I
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim Diff as Integer = spaces - lastspaces
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if Diff = 2 then
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lastSpaces = spaces
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if Iter isnot nothing then 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lastRIter = RIter
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rIter = Iter
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; end if
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; elseif Diff = -2 then
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rIter = Store.Getiter(riter,Store.GetPath(riter).up)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if rIter is nothing then rIter = Iter
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; end if
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; iter = store.AppendValues(RIter,l)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Loop
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p.waitforexit
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End Sub
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regard Hans</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/if-Iter-isnot-nothing-then---generates-exception-during-compile%21-tp26353710p26353710.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26353221</id>
	<title>Re: Redirecting output of console application to stream</title>
	<published>2009-11-14T11:41:15Z</published>
	<updated>2009-11-14T11:41:15Z</updated>
	<author>
		<name>Easy_Rider9999</name>
	</author>
	<content type="html">&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Easy_Rider9999 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;I found the Error I misspelled StandardOutput... The German Standart is the same as English standard!!!&lt;img class='smiley' src='http://old.nabble.com/images/smiley/smiley_scared.gif' /&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
This code is working:
&lt;br&gt;&lt;br&gt;Private Sub xvinfo
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim si as new System.Diagnostics.ProcessStartInfo
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; si.CreateNoWindow = true
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; si.UseShellExecute = false
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; si.RedirectStandardOutput = true
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; si.FileName = &amp;quot;xvinfo&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim p as process = system.diagnostics.process.start(si)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim s as IO.StreamReader = p.StandardOutput
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim l as String
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p.start
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Do 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; l = s.ReadLine
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if l is nothing then exit Do
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim iter as TreeIter = store.AppendValues(RootIter,l)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Loop
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p.waitforexit
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End Sub
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Redirecting-output-of-console-application-to-stream-tp26343579p26353221.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26353066</id>
	<title>Re: Redirecting output of console application to stream</title>
	<published>2009-11-14T11:25:44Z</published>
	<updated>2009-11-14T11:25:44Z</updated>
	<author>
		<name>Easy_Rider9999</name>
	</author>
	<content type="html">I found the Error I misspelled StandardOutput... The German Standart is the same as English standard!!!&lt;img class='smiley' src='http://old.nabble.com/images/smiley/smiley_scared.gif' /&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Easy_Rider9999 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;It is not possible to set p.StartInfo.RedirectStandardOutput = true, because this is not implemented. Does anybody know another possibility for getting the output of a console-application?
&lt;br&gt;&lt;br&gt;Regards Hans
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
I get the following Error:
&lt;br&gt;&lt;br&gt;/home/jhmgbl/Projects/prjLinuxInfo/prjLinuxInfo/frmMain.vb (144,7) : Error VBNC30456: 'RedirectStandartOutput' is not a member of 'System.Diagnostics.ProcessStartInfo'.
&lt;br&gt;&lt;br&gt;I use mono 2.4.2.3.
&lt;br&gt;&lt;br&gt;The Code is:
&lt;br&gt;&lt;br&gt;Private Sub xvinfo
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim p as new system.diagnostics.process
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim si as System.Diagnostics.ProcessStartInfo = p.StartInfo
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; si.CreateNoWindow = true
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; si.UseShellExecute = false
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; si.RedirectStandartOutput = true
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; si.FileName = &amp;quot;xvinfo&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim s as IO.StreamReader = p.StandardOutput
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim l as String
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p.start
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Do While (l = s.ReadLine) isnot nothing 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim iter as TreeIter = store.AppendValues(RootIter,l)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Loop
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p.waitforexit
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End Sub
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Redirecting-output-of-console-application-to-stream-tp26343579p26353066.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26346105</id>
	<title>Re: Re directing output of console application to stream</title>
	<published>2009-11-13T17:12:23Z</published>
	<updated>2009-11-13T17:12:23Z</updated>
	<author>
		<name>Rolf Bjarne Kvinge-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It is not possible to set p.StartInfo.RedirectStandardOutput = true,
&lt;br&gt;&amp;gt; because this is not implemented. 
&lt;br&gt;&lt;br&gt;Yes, it's possible because it is implemented.
&lt;br&gt;&lt;br&gt;Now if you can explain exactly what happens when you try to use it, I can
&lt;br&gt;probably help you fix it ;-)
&lt;br&gt;&lt;br&gt;Rolf
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Does anybody know another possibility for
&lt;br&gt;&amp;gt; getting the output of a console-application?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards Hans
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://old.nabble.com/Redirecting-output-&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Redirecting-output-&lt;/a&gt;&lt;br&gt;&amp;gt; of-console-application-to-stream-tp26343579p26343579.html
&lt;br&gt;&amp;gt; Sent from the Mono - VB mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Mono-vb mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26346105&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-vb mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26346105&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Redirecting-output-of-console-application-to-stream-tp26343579p26346105.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26343579</id>
	<title>Redirecting output of console application to stream</title>
	<published>2009-11-13T13:09:57Z</published>
	<updated>2009-11-13T13:09:57Z</updated>
	<author>
		<name>Easy_Rider9999</name>
	</author>
	<content type="html">It is not possible to set p.StartInfo.RedirectStandardOutput = true, because this is not implemented. Does anybody know another possibility for getting the output of a console-application?
&lt;br&gt;&lt;br&gt;Regards Hans</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Redirecting-output-of-console-application-to-stream-tp26343579p26343579.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26176191</id>
	<title>Re: used -q on configure</title>
	<published>2009-11-03T00:11:43Z</published>
	<updated>2009-11-03T00:11:43Z</updated>
	<author>
		<name>Rolf Bjarne Kvinge-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;This is a forum for Visual Basic-specific issues, and this is really a mono
&lt;br&gt;issue, so you should try asking in the mono-list mailing list.
&lt;br&gt;&lt;br&gt;Sorry for not being able to help you.
&lt;br&gt;&lt;br&gt;Rolf
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26176191&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mono-vb-bounces@...&lt;/a&gt; [mailto:mono-vb-
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26176191&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bounces@...&lt;/a&gt;] On Behalf Of Jude DaShiell
&lt;br&gt;&amp;gt; Sent: lunes, 02 de noviembre de 2009 5:27
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26176191&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mono-vb@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: [mono-vb] used -q on configure
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So output is much shorter for error.
&lt;br&gt;&amp;gt; root@md:/usr/local/src/mono-142439# ./configure -q --disable-nls
&lt;br&gt;&amp;gt; appending configuration tag &amp;quot;CXX&amp;quot; to libtool
&lt;br&gt;&amp;gt; appending configuration tag &amp;quot;F77&amp;quot; to libtool
&lt;br&gt;&amp;gt; ./configure: line 41368: syntax error near unexpected token `('
&lt;br&gt;&amp;gt; ./configure: line 41368: ` &amp;nbsp;for ac_var in `(set) 2&amp;gt;&amp;1 | sed -n
&lt;br&gt;&amp;gt; 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do'
&lt;br&gt;&amp;gt; root@md:/usr/local/src/mono-142439#
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Mono-vb mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26176191&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-vb mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26176191&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/used--q-on-configure-tp26158257p26176191.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26158257</id>
	<title>used -q on configure</title>
	<published>2009-11-01T20:26:44Z</published>
	<updated>2009-11-01T20:26:44Z</updated>
	<author>
		<name>Jude DaShiell</name>
	</author>
	<content type="html">So output is much shorter for error.
&lt;br&gt;root@md:/usr/local/src/mono-142439# ./configure -q --disable-nls
&lt;br&gt;appending configuration tag &amp;quot;CXX&amp;quot; to libtool
&lt;br&gt;appending configuration tag &amp;quot;F77&amp;quot; to libtool
&lt;br&gt;./configure: line 41368: syntax error near unexpected token `('
&lt;br&gt;./configure: line 41368: ` &amp;nbsp;for ac_var in `(set) 2&amp;gt;&amp;1 | sed -n 
&lt;br&gt;'s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do'
&lt;br&gt;root@md:/usr/local/src/mono-142439#
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-vb mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26158257&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/used--q-on-configure-tp26158257p26158257.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26151130</id>
	<title>bad configure file</title>
	<published>2009-11-01T06:01:55Z</published>
	<updated>2009-11-01T06:01:55Z</updated>
	<author>
		<name>Jude DaShiell</name>
	</author>
	<content type="html">For mono-142439 when I tried building for slackware 13.0 I got unexpected 
&lt;br&gt;token on line 41368 and it was an error. &amp;nbsp;Is there anything I can fix to 
&lt;br&gt;clear this error? &amp;nbsp;That mono package is a prerequisite for the rest of the 
&lt;br&gt;stuff like mono-vbnc which I would like to get built and running on a 
&lt;br&gt;slackware system if possible. &amp;nbsp;I can generate a typescript file but only 
&lt;br&gt;if requested since the output isn't short.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-vb mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26151130&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bad-configure-file-tp26151130p26151130.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25885893</id>
	<title>Re: what's Mono version support .net 3.5 run at Mac os</title>
	<published>2009-10-13T23:15:32Z</published>
	<updated>2009-10-13T23:15:32Z</updated>
	<author>
		<name>Lung</name>
	</author>
	<content type="html">i run &amp;nbsp;moma on my computer
&lt;br&gt;on form &amp;quot;Choose the assemblies to analyze&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;i choose file myprogram.exe and choose Test Agianst Mono Version = &amp;quot;Mono 2.4(Revised)&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Click Next for go to Step 3
&lt;br&gt;At Step 3 i have Error At &amp;quot;Methods called marked with [MonoTodo]: 2&amp;quot;
&lt;br&gt;How Can i do?
&lt;br&gt;&lt;br&gt;I click View Detail Report
&lt;br&gt;This is Error:
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;void fproduct_Load (Object, EventArgs) &amp;nbsp;	
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;void SqlConnection.set_ConnectionString (string) &amp;nbsp;	
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;persist security info, encrypt, enlist keyword not implemented
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;void mainform_Load (Object, EventArgs) 	
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;void SqlConnection.set_ConnectionString (string) 	
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;persist security info, encrypt, enlist keyword not implemented
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;and after i click &amp;quot;see MoMA Issue Descriptions. &amp;quot; on the top page
&lt;br&gt;it open web brownser ,URL&amp;quot;&lt;a href=&quot;http://www.mono-project.com/MoMA_-_Issue_Descriptions&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mono-project.com/MoMA_-_Issue_Descriptions&lt;/a&gt;&amp;quot;
&lt;br&gt;How to do?
&lt;br&gt;&lt;quote author=&quot;Stifu&quot;&gt;&lt;br&gt;PS: you don't have to run MoMA on OSX. You can just do so from Windows if it's more convenient for you, it's the same.
&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;Stifu&quot;&gt;&lt;br&gt;Just try it. :)
&lt;br&gt;If you download MoMA, you'll have the latest Mono definitions (ie: 2.4), so your app will be tested against Mono 2.4. You can download older definition files from the MoMA downloads, too, in case you'd like to know if your app may work with older Mono versions.
&lt;br&gt;&lt;br&gt;Note that MoMA telling you your app will work or not is not sufficient, only an indication, you need to actually test it.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Lung wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;i think i have to download moma and install it on mac ox and then run program for check and Moma will tell me what's mono version support.True or False
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Stifu wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;To run your app on OSX, you just have to install Mono there and directly run your exe with it.
&lt;br&gt;I suggest you check out MoMA first though: &lt;a href=&quot;http://mono-project.com/MoMA&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mono-project.com/MoMA&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Lung wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;i write some program by vb.net 2008 and SQL Server 2008
&lt;br&gt;i want to run my program on Mac os,
&lt;br&gt;How to do it? and what's Mono version support
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/what%27s-Mono-version-support-.net-3.5-run-at-Mac-os-tp25797365p25885893.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25869070</id>
	<title>Re: what's Mono version support .net 3.5 run at Mac os</title>
	<published>2009-10-13T01:34:00Z</published>
	<updated>2009-10-13T01:34:00Z</updated>
	<author>
		<name>Stifu</name>
	</author>
	<content type="html">PS: you don't have to run MoMA on OSX. You can just do so from Windows if it's more convenient for you, it's the same.
&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;Stifu&quot;&gt;&lt;br&gt;Just try it. :)
&lt;br&gt;If you download MoMA, you'll have the latest Mono definitions (ie: 2.4), so your app will be tested against Mono 2.4. You can download older definition files from the MoMA downloads, too, in case you'd like to know if your app may work with older Mono versions.
&lt;br&gt;&lt;br&gt;Note that MoMA telling you your app will work or not is not sufficient, only an indication, you need to actually test it.
&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;Lung&quot;&gt;&lt;br&gt;i think i have to download moma and install it on mac ox and then run program for check and Moma will tell me what's mono version support.True or False
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Stifu wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;To run your app on OSX, you just have to install Mono there and directly run your exe with it.
&lt;br&gt;I suggest you check out MoMA first though: &lt;a href=&quot;http://mono-project.com/MoMA&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mono-project.com/MoMA&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Lung wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;i write some program by vb.net 2008 and SQL Server 2008
&lt;br&gt;i want to run my program on Mac os,
&lt;br&gt;How to do it? and what's Mono version support
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/what%27s-Mono-version-support-.net-3.5-run-at-Mac-os-tp25797365p25869070.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25867713</id>
	<title>Re: what's Mono version support .net 3.5 run at Mac os</title>
	<published>2009-10-12T23:20:10Z</published>
	<updated>2009-10-12T23:20:10Z</updated>
	<author>
		<name>Stifu</name>
	</author>
	<content type="html">Just try it. :)
&lt;br&gt;If you download MoMA, you'll have the latest Mono definitions (ie: 2.4), so your app will be tested against Mono 2.4. You can download older definition files from the MoMA downloads, too, in case you'd like to know if your app may work with older Mono versions.
&lt;br&gt;&lt;br&gt;Note that MoMA telling you your app will work or not is not sufficient, only an indication, you need to actually test it.
&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;Lung&quot;&gt;&lt;br&gt;i think i have to download moma and install it on mac ox and then run program for check and Moma will tell me what's mono version support.True or False
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Stifu wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;To run your app on OSX, you just have to install Mono there and directly run your exe with it.
&lt;br&gt;I suggest you check out MoMA first though: &lt;a href=&quot;http://mono-project.com/MoMA&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mono-project.com/MoMA&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Lung wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;i write some program by vb.net 2008 and SQL Server 2008
&lt;br&gt;i want to run my program on Mac os,
&lt;br&gt;How to do it? and what's Mono version support
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/what%27s-Mono-version-support-.net-3.5-run-at-Mac-os-tp25797365p25867713.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25866228</id>
	<title>Re: what's Mono version support .net 3.5 run at Mac os</title>
	<published>2009-10-12T19:23:43Z</published>
	<updated>2009-10-12T19:23:43Z</updated>
	<author>
		<name>Lung</name>
	</author>
	<content type="html">i think i have to download moma and install it on mac ox and then run program for check and Moma will tell me what's mono version support.True or False
&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;Stifu&quot;&gt;&lt;br&gt;To run your app on OSX, you just have to install Mono there and directly run your exe with it.
&lt;br&gt;I suggest you check out MoMA first though: &lt;a href=&quot;http://mono-project.com/MoMA&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mono-project.com/MoMA&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Lung wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;i write some program by vb.net 2008 and SQL Server 2008
&lt;br&gt;i want to run my program on Mac os,
&lt;br&gt;How to do it? and what's Mono version support
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;/quote&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/what%27s-Mono-version-support-.net-3.5-run-at-Mac-os-tp25797365p25866228.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25803068</id>
	<title>Error Message: HTTP 500. System.InvalidOperationException: Process has not been started.</title>
	<published>2009-10-08T07:23:05Z</published>
	<updated>2009-10-08T07:23:05Z</updated>
	<author>
		<name>cappsie</name>
	</author>
	<content type="html">&lt;b&gt;Hi All,
&lt;br&gt;&lt;br&gt;I thought I'd installed the vb compiler but evidentally not:&lt;/b&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Process has not been started.
&lt;br&gt;Description: Error processing request.
&lt;br&gt;&lt;br&gt;Error Message: HTTP 500. System.InvalidOperationException: Process has not been started.
&lt;br&gt;&lt;br&gt;System.InvalidOperationException: Process has not been started.
&lt;br&gt;&amp;nbsp; at System.Diagnostics.Process.get_ExitCode () [0x00000] 
&lt;br&gt;&amp;nbsp; at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:get_ExitCode ()
&lt;br&gt;&amp;nbsp; at Microsoft.VisualBasic.VBCodeCompiler.CompileFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000] 
&lt;br&gt;&amp;nbsp; at Microsoft.VisualBasic.VBCodeCompiler.CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000] 
&lt;br&gt;&amp;nbsp; at Microsoft.VisualBasic.VBCodeCompiler.CompileFromDomBatch (System.CodeDom.Compiler.CompilerParameters options, System.CodeDom.CodeCompileUnit[] ea) [0x00000] 
&lt;br&gt;&amp;nbsp; at Microsoft.VisualBasic.VBCodeCompiler.CompileAssemblyFromDomBatch (System.CodeDom.Compiler.CompilerParameters options, System.CodeDom.CodeCompileUnit[] ea) [0x00000] 
&lt;br&gt;&amp;nbsp; at Microsoft.VisualBasic.VBCodeCompiler.CompileAssemblyFromDom (System.CodeDom.Compiler.CompilerParameters options, System.CodeDom.CodeCompileUnit e) [0x00000] 
&lt;br&gt;&amp;nbsp; at System.Web.Compilation.CachingCompiler.Compile (System.Web.Compilation.BaseCompiler compiler) [0x00000] 
&lt;br&gt;&amp;nbsp; at System.Web.Compilation.BaseCompiler.GetCompiledType () [0x00000] 
&lt;br&gt;&amp;nbsp; at System.Web.Compilation.AspGenerator.GetCompiledType () [0x00000] 
&lt;br&gt;&amp;nbsp; at System.Web.UI.PageParser.CompileIntoType () [0x00000] 
&lt;br&gt;&amp;nbsp; at System.Web.UI.TemplateControlParser.GetCompiledInstance () [0x00000] 
&lt;br&gt;&amp;nbsp; at System.Web.UI.PageParser.GetCompiledPageInstance (System.String virtualPath, System.String inputFile, System.Web.HttpContext context) [0x00000] 
&lt;br&gt;&amp;nbsp; at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext context, System.String requestType, System.String url, System.String path) [0x00000] 
&lt;br&gt;&amp;nbsp; at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context) [0x00000] 
&lt;br&gt;&amp;nbsp; at System.Web.HttpApplication+&amp;lt;&amp;gt;c__CompilerGenerated1.MoveNext () [0x00000] 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;b&gt;Any ideas?
&lt;br&gt;&lt;br&gt;Thanks in advance,
&lt;br&gt;Adam&lt;/b&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-Message%3A-HTTP-500.-System.InvalidOperationException%3A-Process-has-not-been-started.-tp25803068p25803068.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25800208</id>
	<title>Re: VBNC Crash</title>
	<published>2009-10-08T01:26:04Z</published>
	<updated>2009-10-08T01:26:04Z</updated>
	<author>
		<name>Rolf Bjarne Kvinge-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Im sorry, my bad. I thought i had seen it in VBCompiler page in mono,
&lt;br&gt;&amp;gt; but i guess i was wrong.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;Everything in VB8 (which came with
&lt;br&gt;&amp;gt; &amp;gt; VS2005) is supported, anything newer (VB9 / VS2008) is not.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Well something that occurred to me when i read this. If Methods in VB9
&lt;br&gt;&amp;gt; are not supported, then why am i getting no issues under the &amp;quot;Missing&amp;quot;
&lt;br&gt;&amp;gt; section of the Mono Migration Analyzer? Technically, when you say its not
&lt;br&gt;&amp;gt; supported, shouldn't it mean that those methods are missing from mono?
&lt;/div&gt;&lt;br&gt;With VB8 I mean the VB compiler which came with VS2005 (and with VB9 I mean
&lt;br&gt;the VB compiler that came with VS2008). If you compile and run on Windows
&lt;br&gt;you're using MS' VB compiler (vbc), and if you run MoMA on the assemblies
&lt;br&gt;you have then you won't see any problems. However if you copy your web app
&lt;br&gt;to linux and run with mono you're using mono's VB compiler (vbnc), and here
&lt;br&gt;is where the problem comes: it doesn't know how to compile the sources if
&lt;br&gt;you used new features in the VB9 language (extension methods is one of
&lt;br&gt;them).
&lt;br&gt;&lt;br&gt;One way around this is to use precompiled web sites, here are a couple of
&lt;br&gt;links that might help you:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.mono-project.com/Release_Notes_Mono_2.4#Precompiled_Web_Sites&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mono-project.com/Release_Notes_Mono_2.4#Precompiled_Web_Sites&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://gonzalo.name/blog/archive/archive-2009-Feb.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gonzalo.name/blog/archive/archive-2009-Feb.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Rolf
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Vijay.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Rolf Bjarne Kvinge-2 wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Hi, I have a really large ASP.Net Web application that i need to
&lt;br&gt;&amp;gt; port
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; into other platforms. The Web app that i'm trying to port is mainly
&lt;br&gt;&amp;gt; &amp;gt; written
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; in vb, and references a lot of custom dll's that have also been
&lt;br&gt;&amp;gt; written
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; in
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; vb. I tried to build the application from bottom up, by creating a
&lt;br&gt;&amp;gt; blank
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; project that has nothing but a page with a label. Mono Migration
&lt;br&gt;&amp;gt; Analyzer
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; pointed a few issues with the dll's, which i could find a way
&lt;br&gt;&amp;gt; around, or
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; temporarily commented out. For testing purposes, i'm using XSP2
&lt;br&gt;&amp;gt; server.
&lt;br&gt;&amp;gt; &amp;gt; The same
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; set of dll's in a c#web project compiles and displays the page,
&lt;br&gt;&amp;gt; whereas
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; it
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; fails to do so in a VB web Project. A lot of investigation with one
&lt;br&gt;&amp;gt; of
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; the
&lt;br&gt;&amp;gt; &amp;gt; dll's
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; showed me that Extension Methods was the issue with that particular
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; dll. But in the VB compiler page in Mono site tells me that
&lt;br&gt;&amp;gt; extension
&lt;br&gt;&amp;gt; &amp;gt; methods do
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; work.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Where exactly did you read this? Because it is not correct, extension
&lt;br&gt;&amp;gt; &amp;gt; methods are not supported in VB yet. Everything in VB8 (which came
&lt;br&gt;&amp;gt; with
&lt;br&gt;&amp;gt; &amp;gt; VS2005) is supported, anything newer (VB9 / VS2008) is not.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Rolf
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I would like to know why i get a vbnc crash inspite of the method
&lt;br&gt;&amp;gt; being
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; supported. Is it something im doing wrong??
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Btw im using Mono- 2.4.2.3.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Any help would be great.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Vijay.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/VBNC-Crash-&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/VBNC-Crash-&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; tp25749738p25749738.html
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Sent from the Mono - VB mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Mono-vb mailing list
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25800208&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt; Mono-vb mailing list
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25800208&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/VBNC-Crash-&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/VBNC-Crash-&lt;/a&gt;&lt;br&gt;&amp;gt; tp25749738p25783552.html
&lt;br&gt;&amp;gt; Sent from the Mono - VB mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Mono-vb mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25800208&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-vb mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25800208&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/VBNC-Crash-tp25749738p25800208.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25799125</id>
	<title>Re: what's Mono version support .net 3.5 run at Mac os</title>
	<published>2009-10-07T23:35:04Z</published>
	<updated>2009-10-07T23:35:04Z</updated>
	<author>
		<name>Stifu</name>
	</author>
	<content type="html">To run your app on OSX, you just have to install Mono there and directly run your exe with it.
&lt;br&gt;I suggest you check out MoMA first though: &lt;a href=&quot;http://mono-project.com/MoMA&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mono-project.com/MoMA&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Lung wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;i write some program by vb.net 2008 and SQL Server 2008
&lt;br&gt;i want to run my program on Mac os,
&lt;br&gt;How to do it? and what's Mono version support
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/what%27s-Mono-version-support-.net-3.5-run-at-Mac-os-tp25797365p25799125.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25797365</id>
	<title>what's Mono version support .net 3.5 run at Mac os</title>
	<published>2009-10-07T19:08:15Z</published>
	<updated>2009-10-07T19:08:15Z</updated>
	<author>
		<name>Lung</name>
	</author>
	<content type="html">i write some program by vb.net 2008 and SQL Server 2008
&lt;br&gt;i want to run my program on Mac os,
&lt;br&gt;How to do it? and what's Mono version support</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/what%27s-Mono-version-support-.net-3.5-run-at-Mac-os-tp25797365p25797365.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25783552</id>
	<title>Re: VBNC Crash</title>
	<published>2009-10-07T02:43:52Z</published>
	<updated>2009-10-07T02:43:52Z</updated>
	<author>
		<name>dejavu</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Im sorry, my bad. I thought i had seen it in VBCompiler page in mono, but i guess i was wrong. 
&lt;br&gt;&lt;br&gt;&amp;gt;Everything in VB8 (which came with
&lt;br&gt;&amp;gt; VS2005) is supported, anything newer (VB9 / VS2008) is not.
&lt;br&gt;&lt;br&gt;Well something that occurred to me when i read this. If Methods in VB9 are not supported, then why am i getting no issues under the &amp;quot;Missing&amp;quot; section of the Mono Migration Analyzer? Technically, when you say its not supported, shouldn't it mean that those methods are missing from mono?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Vijay.
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Rolf Bjarne Kvinge-2 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi,
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi, I have a really large ASP.Net Web application that i need to port
&lt;br&gt;&amp;gt; into other platforms. The Web app that i'm trying to port is mainly
&lt;br&gt;written
&lt;br&gt;&amp;gt; in vb, and references a lot of custom dll's that have also been written in
&lt;br&gt;&amp;gt; vb. I tried to build the application from bottom up, by creating a blank
&lt;br&gt;&amp;gt; project that has nothing but a page with a label. Mono Migration Analyzer
&lt;br&gt;&amp;gt; pointed a few issues with the dll's, which i could find a way around, or
&lt;br&gt;&amp;gt; temporarily commented out. For testing purposes, i'm using XSP2 server.
&lt;br&gt;The same
&lt;br&gt;&amp;gt; set of dll's in a c#web project compiles and displays the page, whereas it
&lt;br&gt;&amp;gt; fails to do so in a VB web Project. A lot of investigation with one of the
&lt;br&gt;dll's
&lt;br&gt;&amp;gt; showed me that Extension Methods was the issue with that particular
&lt;br&gt;&amp;gt; dll. But in the VB compiler page in Mono site tells me that extension
&lt;br&gt;methods do
&lt;br&gt;&amp;gt; work.
&lt;br&gt;&lt;br&gt;Where exactly did you read this? Because it is not correct, extension
&lt;br&gt;methods are not supported in VB yet. Everything in VB8 (which came with
&lt;br&gt;VS2005) is supported, anything newer (VB9 / VS2008) is not.
&lt;br&gt;&lt;br&gt;Rolf
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I would like to know why i get a vbnc crash inspite of the method being
&lt;br&gt;&amp;gt; supported. Is it something im doing wrong??
&lt;br&gt;&amp;gt; Btw im using Mono- 2.4.2.3.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Any help would be great.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Vijay.
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/VBNC-Crash-&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/VBNC-Crash-&lt;/a&gt;&lt;br&gt;&amp;gt; tp25749738p25749738.html
&lt;br&gt;&amp;gt; Sent from the Mono - VB mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Mono-vb mailing list
&lt;br&gt;&amp;gt; Mono-vb@lists.ximian.com
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-vb mailing list
&lt;br&gt;Mono-vb@lists.ximian.com
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/VBNC-Crash-tp25749738p25783552.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25763747</id>
	<title>Re: VBNC Crash</title>
	<published>2009-10-05T23:53:18Z</published>
	<updated>2009-10-05T23:53:18Z</updated>
	<author>
		<name>Rolf Bjarne Kvinge-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi, I have a really large ASP.Net Web application that i need to port
&lt;br&gt;&amp;gt; into other platforms. The Web app that i'm trying to port is mainly
&lt;br&gt;written
&lt;br&gt;&amp;gt; in vb, and references a lot of custom dll's that have also been written in
&lt;br&gt;&amp;gt; vb. I tried to build the application from bottom up, by creating a blank
&lt;br&gt;&amp;gt; project that has nothing but a page with a label. Mono Migration Analyzer
&lt;br&gt;&amp;gt; pointed a few issues with the dll's, which i could find a way around, or
&lt;br&gt;&amp;gt; temporarily commented out. For testing purposes, i'm using XSP2 server.
&lt;br&gt;The same
&lt;br&gt;&amp;gt; set of dll's in a c#web project compiles and displays the page, whereas it
&lt;br&gt;&amp;gt; fails to do so in a VB web Project. A lot of investigation with one of the
&lt;br&gt;dll's
&lt;br&gt;&amp;gt; showed me that Extension Methods was the issue with that particular
&lt;br&gt;&amp;gt; dll. But in the VB compiler page in Mono site tells me that extension
&lt;br&gt;methods do
&lt;br&gt;&amp;gt; work.
&lt;br&gt;&lt;br&gt;Where exactly did you read this? Because it is not correct, extension
&lt;br&gt;methods are not supported in VB yet. Everything in VB8 (which came with
&lt;br&gt;VS2005) is supported, anything newer (VB9 / VS2008) is not.
&lt;br&gt;&lt;br&gt;Rolf
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I would like to know why i get a vbnc crash inspite of the method being
&lt;br&gt;&amp;gt; supported. Is it something im doing wrong??
&lt;br&gt;&amp;gt; Btw im using Mono- 2.4.2.3.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Any help would be great.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Vijay.
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/VBNC-Crash-&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/VBNC-Crash-&lt;/a&gt;&lt;br&gt;&amp;gt; tp25749738p25749738.html
&lt;br&gt;&amp;gt; Sent from the Mono - VB mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Mono-vb mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25763747&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-vb mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25763747&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/VBNC-Crash-tp25749738p25763747.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25749738</id>
	<title>VBNC Crash</title>
	<published>2009-10-05T05:17:43Z</published>
	<updated>2009-10-05T05:17:43Z</updated>
	<author>
		<name>dejavu</name>
	</author>
	<content type="html">Hi, I have a really large ASP.Net Web application that i need to port into other platforms. The Web app that i'm trying to port is mainly written in vb, and references a lot of custom dll's that have also been written in vb. I tried to build the application from bottom up, by creating a blank project that has nothing but a page with a label. Mono Migration Analyzer pointed a few issues with the dll's, which i could find a way around, or temporarily commented out. For testing purposes, i'm using XSP2 server. The same set of dll's in a c#web project compiles and displays the page, whereas it fails to do so in a VB web Project. A lot of investigation with one of the dll's showed me that Extension Methods was the issue with that particular dll. But in the VB compiler page in Mono site tells me that extension methods do work. 
&lt;br&gt;&lt;br&gt;I would like to know why i get a vbnc crash inspite of the method being supported. Is it something im doing wrong?? 
&lt;br&gt;Btw im using Mono- 2.4.2.3.
&lt;br&gt;&lt;br&gt;Any help would be great.
&lt;br&gt;&lt;br&gt;Thanks, 
&lt;br&gt;Vijay.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/VBNC-Crash-tp25749738p25749738.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25696914</id>
	<title>Re: Need to run VB .net small app under mono at ARM processor</title>
	<published>2009-10-01T07:50:53Z</published>
	<updated>2009-10-01T07:50:53Z</updated>
	<author>
		<name>Nicodem</name>
	</author>
	<content type="html">&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Rolf Bjarne Kvinge-2 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Configure might have chosen a different/wrong path, try the following:
&lt;br&gt;&lt;br&gt;./configure --prefix=/opt &amp;&amp; make &amp;&amp; make install
&lt;br&gt;&lt;br&gt;(note that I'm not certain /opt is the correct path for you, the
&lt;br&gt;Microsoft.VisualBasic.dll assembly will get installed into
&lt;br&gt;$(prefix)/lib/mono/gac/Microsoft.VisualBasic/, so you ensure that prefix is
&lt;br&gt;set to the correct path)
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
Thanks!
&lt;br&gt;I have tried building from scratch whole mono - did not worked out for me.
&lt;br&gt;But copying to /gac directory of ikpg mono package files from compiled mono-basic did worked!
&lt;br&gt;I have successfully compiled .vb program at ARM processor and now its doing it job via mono.
&lt;br&gt;Thanks a lot!
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Need-to-run-VB-.net-small-app-under-mono-at-ARM-processor-tp25676975p25696914.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25696836</id>
	<title>MONODEVELOP - vb.net web app build failed</title>
	<published>2009-10-01T05:21:10Z</published>
	<updated>2009-10-01T05:21:10Z</updated>
	<author>
		<name>Storazi</name>
	</author>
	<content type="html">Hi all, 
&lt;br&gt;&lt;br&gt;i am not able to RUN a simple vb web app on monodevelop
&lt;br&gt;&lt;br&gt;Building: ProjMono (Debug)
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Building Solution ProjMono
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Building: ProjMono (Debug)
&lt;br&gt;&lt;br&gt;Generating CodeBehind members...
&lt;br&gt;&lt;br&gt;No changes made to CodeBehind classes.
&lt;br&gt;&lt;br&gt;Performing main compilation...
&lt;br&gt;&lt;br&gt;vbnc &amp;quot;-out:C:\Inetpub\wwwroot\ProjMono\ProjMono\bin\ProjMono.dll&amp;quot; -nologo -utf8output -debug:full -optionstrict- -optionexplicit+ -optioncompare:binary -optioninfer- -target:library &amp;nbsp;&amp;quot;-r:C:\Program Files\Mono-2.4.2.3\lib\mono\2.0\System.dll&amp;quot; &amp;quot;-r:C:\Program Files\Mono-2.4.2.3\lib\mono\2.0\System.Web.dll&amp;quot; &amp;quot;-r:C:\Program Files\Mono-2.4.2.3\lib\mono\2.0\System.Xml.dll&amp;quot; &amp;quot;-r:C:\Program Files\Mono-2.4.2.3\lib\mono\2.0\System.Web.Services.dll&amp;quot; &amp;quot;C:\Inetpub\wwwroot\ProjMono\ProjMono\Global.asax.vb&amp;quot; &amp;quot;C:\Inetpub\wwwroot\ProjMono\ProjMono\Default.aspx.vb&amp;quot; &amp;quot;C:\Inetpub\wwwroot\ProjMono\ProjMono\Default.aspx.designer.vb&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Build failed. The system cannot find the file specified
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MONODEVELOP---vb.net-web-app-build-failed-tp25696836p25696836.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25694411</id>
	<title>Re: Need to run VB .net small app under mono at ARM processor</title>
	<published>2009-10-01T00:47:14Z</published>
	<updated>2009-10-01T00:47:14Z</updated>
	<author>
		<name>Rolf Bjarne Kvinge-2</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Rafael Teixeira wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; run with mono:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; mono yourapp.exe
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; hope it helps,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Rafael &amp;quot;Monoman&amp;quot; Teixeira
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; No, I got the same error as at the beginning.
&lt;br&gt;&amp;gt; But now I think I know what is a problem.
&lt;br&gt;&amp;gt; mono package from ipkg was installed via ipkg install and it stays in
&lt;br&gt;&amp;gt; /opt/bin
&lt;br&gt;&amp;gt; but installed mono-basic is placed in another place.
&lt;/div&gt;&lt;br&gt;Configure might have chosen a different/wrong path, try the following:
&lt;br&gt;&lt;br&gt;./configure --prefix=/opt &amp;&amp; make &amp;&amp; make install
&lt;br&gt;&lt;br&gt;(note that I'm not certain /opt is the correct path for you, the
&lt;br&gt;Microsoft.VisualBasic.dll assembly will get installed into
&lt;br&gt;$(prefix)/lib/mono/gac/Microsoft.VisualBasic/, so you ensure that prefix is
&lt;br&gt;set to the correct path)
&lt;br&gt;&lt;br&gt;Rolf
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; perhaps showing that mono should use visual basic runtime would be a
&lt;br&gt;&amp;gt; good
&lt;br&gt;&amp;gt; idea
&lt;br&gt;&amp;gt; How should I 'show' mono what runtime should it use?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I need to run mono and point him using installed mono-basic runtimes
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/Need-to-run-VB-&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Need-to-run-VB-&lt;/a&gt;&lt;br&gt;&amp;gt; .net-small-app-under-mono-at-ARM-processor-tp25676975p25693448.html
&lt;br&gt;&amp;gt; Sent from the Mono - VB mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Mono-vb mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25694411&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mono-vb mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25694411&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Need-to-run-VB-.net-small-app-under-mono-at-ARM-processor-tp25676975p25694411.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25693448</id>
	<title>Re: Need to run VB .net small app under mono at ARM processor</title>
	<published>2009-10-01T00:27:39Z</published>
	<updated>2009-10-01T00:27:39Z</updated>
	<author>
		<name>Nicodem</name>
	</author>
	<content type="html">&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Rafael Teixeira wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;run with mono:
&lt;br&gt;&lt;br&gt;mono yourapp.exe
&lt;br&gt;&lt;br&gt;hope it helps,
&lt;br&gt;&lt;br&gt;Rafael &amp;quot;Monoman&amp;quot; Teixeira
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
No, I got the same error as at the beginning.
&lt;br&gt;But now I think I know what is a problem.
&lt;br&gt;mono package from ipkg was installed via ipkg install and it stays in /opt/bin
&lt;br&gt;but installed mono-basic is placed in another place.
&lt;br&gt;&lt;br&gt;perhaps showing that mono should use visual basic runtime would be a good idea
&lt;br&gt;How should I 'show' mono what runtime should it use?
&lt;br&gt;&lt;br&gt;I need to run mono and point him using installed mono-basic runtimes
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Need-to-run-VB-.net-small-app-under-mono-at-ARM-processor-tp25676975p25693448.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25689958</id>
	<title>Re: Need to run VB .net small app under mono at ARM processor</title>
	<published>2009-09-30T15:11:27Z</published>
	<updated>2009-09-30T15:11:27Z</updated>
	<author>
		<name>Rafael Teixeira</name>
	</author>
	<content type="html">run with mono:
&lt;br&gt;&lt;br&gt;mono yourapp.exe
&lt;br&gt;&lt;br&gt;hope it helps,
&lt;br&gt;&lt;br&gt;Rafael &amp;quot;Monoman&amp;quot; Teixeira
&lt;br&gt;---------------------------------------
&lt;br&gt;&amp;quot;To be creative means to be in love with life. You can be creative
&lt;br&gt;only if you love life enough that you want to enhance its beauty, you
&lt;br&gt;want to bring a little more music to it, a little more poetry to it, a
&lt;br&gt;little more dance to it.&amp;quot;
&lt;br&gt;Osho
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Wed, Sep 30, 2009 at 6:27 PM, Nicodem &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25689958&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nicodempl@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Easy_Rider9999 wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Nicodem wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I have found in ipkg mono only, there is no mono-basic.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Any chance finding compiled for ARM mono-basic?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I guess you have to install from source:
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://ftp.novell.com/pub/mono/sources/mono-basic/mono-basic-2.4.2.tar.bz2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ftp.novell.com/pub/mono/sources/mono-basic/mono-basic-2.4.2.tar.bz2&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; Normally the following procedure is sufficient:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; sudo -s
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ./configure &amp;&amp; make &amp;&amp; make install
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Regards Hans
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Installed. I have vbnc which is a compiler. Recompiled from .vbs file.
&lt;br&gt;&amp;gt; But it makes executable which cannot be run in linux.
&lt;br&gt;&amp;gt; How to run such compiled .exe file?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://www.nabble.com/Need-to-run-VB-.net-small-app-under-mono-at-ARM-processor-tp25676975p25689344.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Need-to-run-VB-.net-small-app-under-mono-at-ARM-processor-tp25676975p25689344.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Mono - VB mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Mono-vb mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25689958&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Mono-vb mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25689958&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mono-vb@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/mono-vb&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/mono-vb&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Need-to-run-VB-.net-small-app-under-mono-at-ARM-processor-tp25676975p25689958.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25689344</id>
	<title>Re: Need to run VB .net small app under mono at ARM processor</title>
	<published>2009-09-30T14:27:30Z</published>
	<updated>2009-09-30T14:27:30Z</updated>
	<author>
		<name>Nicodem</name>
	</author>
	<content type="html">&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Easy_Rider9999 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Nicodem wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Hi
&lt;br&gt;I have found in ipkg mono only, there is no mono-basic.
&lt;br&gt;Any chance finding compiled for ARM mono-basic?
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
I guess you have to install from source: &lt;a href=&quot;http://ftp.novell.com/pub/mono/sources/mono-basic/mono-basic-2.4.2.tar.bz2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ftp.novell.com/pub/mono/sources/mono-basic/mono-basic-2.4.2.tar.bz2&lt;/a&gt;&amp;nbsp; &amp;nbsp;Normally the following procedure is sufficient:
&lt;br&gt;&lt;br&gt;sudo -s
&lt;br&gt;&lt;br&gt;./configure &amp;&amp; make &amp;&amp; make install
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards Hans
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
Installed. I have vbnc which is a compiler. Recompiled from .vbs file.
&lt;br&gt;But it makes executable which cannot be run in linux.
&lt;br&gt;How to run such compiled .exe file?
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Need-to-run-VB-.net-small-app-under-mono-at-ARM-processor-tp25676975p25689344.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25687826</id>
	<title>Re: Need to run VB .net small app under mono at ARM processor</title>
	<published>2009-09-30T12:56:36Z</published>
	<updated>2009-09-30T12:56:36Z</updated>
	<author>
		<name>Easy_Rider9999</name>
	</author>
	<content type="html">&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Nicodem wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Hi
&lt;br&gt;I have found in ipkg mono only, there is no mono-basic.
&lt;br&gt;Any chance finding compiled for ARM mono-basic?
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
I guess you have to install from source: &lt;a href=&quot;http://ftp.novell.com/pub/mono/sources/mono-basic/mono-basic-2.4.2.tar.bz2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ftp.novell.com/pub/mono/sources/mono-basic/mono-basic-2.4.2.tar.bz2&lt;/a&gt;&amp;nbsp; &amp;nbsp;Normally the following procedure is sufficient:
&lt;br&gt;&lt;br&gt;sudo -s
&lt;br&gt;&lt;br&gt;./configure &amp;&amp; make &amp;&amp; make install
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards Hans</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Need-to-run-VB-.net-small-app-under-mono-at-ARM-processor-tp25676975p25687826.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25687439</id>
	<title>Re: Need to run VB .net small app under mono at ARM processor</title>
	<published>2009-09-30T12:37:49Z</published>
	<updated>2009-09-30T12:37:49Z</updated>
	<author>
		<name>Nicodem</name>
	</author>
	<content type="html">&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Easy_Rider9999 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;You need to install mono-basic!
&lt;br&gt;&lt;br&gt;Regards Hans
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
Hi
&lt;br&gt;I have found in ipkg mono only, there is no mono-basic.
&lt;br&gt;Any chance finding compiled for ARM mono-basic?
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Need-to-run-VB-.net-small-app-under-mono-at-ARM-processor-tp25676975p25687439.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25682990</id>
	<title>Re: Need to run VB .net small app under mono at ARM processor</title>
	<published>2009-09-30T08:08:14Z</published>
	<updated>2009-09-30T08:08:14Z</updated>
	<author>
		<name>Easy_Rider9999</name>
	</author>
	<content type="html">&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Nicodem wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;&lt;br&gt;** (act.exe:22528): WARNING **: The following assembly referenced from act.exe could not be loaded:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Assembly: &amp;nbsp; Microsoft.VisualBasic &amp;nbsp; &amp;nbsp;(assemblyref_index=1)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Version: &amp;nbsp; &amp;nbsp;8.0.0.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Public Key: b03f5f7f11d50a3a
&lt;br&gt;System error: Success
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
You need to install mono-basic!
&lt;br&gt;&lt;br&gt;Regards Hans</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Need-to-run-VB-.net-small-app-under-mono-at-ARM-processor-tp25676975p25682990.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25676975</id>
	<title>Need to run VB .net small app under mono at ARM processor</title>
	<published>2009-09-30T01:32:22Z</published>
	<updated>2009-09-30T01:32:22Z</updated>
	<author>
		<name>Nicodem</name>
	</author>
	<content type="html">Hi
&lt;br&gt;&lt;br&gt;I got installed mono at my ARM based NAS (QNAP).
&lt;br&gt;I have .exe file that was written in VBasic .NET.
&lt;br&gt;When I simply try to run it with:
&lt;br&gt;mono act.exe (name of program)
&lt;br&gt;then I receive an error listed below. 
&lt;br&gt;Im totally newbie in mono. Do I start it properly or I cant run .exe file?
&lt;br&gt;What should I do to make it run?
&lt;br&gt;&lt;br&gt;** (act.exe:22528): WARNING **: The following assembly referenced from act.exe could not be loaded:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Assembly: &amp;nbsp; Microsoft.VisualBasic &amp;nbsp; &amp;nbsp;(assemblyref_index=1)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Version: &amp;nbsp; &amp;nbsp;8.0.0.0
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Public Key: b03f5f7f11d50a3a
&lt;br&gt;System error: Success
&lt;br&gt;&lt;br&gt;&lt;br&gt;** (act.exe:22528): WARNING **: Could not load file or assembly 'Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
&lt;br&gt;&lt;br&gt;** (act.exe:22528): WARNING **: Missing method Split in assembly act.exe, type Microsoft.VisualBasic.Strings
&lt;br&gt;&lt;br&gt;Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
&lt;br&gt;File name: 'Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Need-to-run-VB-.net-small-app-under-mono-at-ARM-processor-tp25676975p25676975.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25547945</id>
	<title>Re: VB</title>
	<published>2009-09-24T02:30:21Z</published>
	<updated>2009-09-24T02:30:21Z</updated>
	<author>
		<name>PFJ</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Rishikeshan wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message&quot;&gt;Is there a vb IDE for linux?
&lt;br&gt;How can I contribute to MONO-project (ASP.NET, VB)?
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
Monodevelop is a lovely IDE, only lacking in that it doesn't have the winforms designer it really really needs (IMO) to be really complete.
&lt;br&gt;&lt;br&gt;Contribute to Mono? Send in patches to the mono-devel list or just submit code! Failing that, you could always contribute by packaging mono for a platform or submit bug reports to Bugzilla...
&lt;br&gt;&lt;br&gt;TTFN
&lt;br&gt;&lt;br&gt;Paul</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/VB-tp25538138p25547945.html" />
</entry>

</feed>
