<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://www.vbex.ru/index.php?action=history&amp;feed=atom&amp;title=VB.Net_Tutorial%2FSocket_Network%2FRemoting</id>
		<title>VB.Net Tutorial/Socket Network/Remoting - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://www.vbex.ru/index.php?action=history&amp;feed=atom&amp;title=VB.Net_Tutorial%2FSocket_Network%2FRemoting"/>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net_Tutorial/Socket_Network/Remoting&amp;action=history"/>
		<updated>2026-04-05T05:57:25Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://www.vbex.ru/index.php?title=VB.Net_Tutorial/Socket_Network/Remoting&amp;diff=3536&amp;oldid=prev</id>
		<title> в 16:40, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net_Tutorial/Socket_Network/Remoting&amp;diff=3536&amp;oldid=prev"/>
				<updated>2010-05-26T16:40:30Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 16:40, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://www.vbex.ru/index.php?title=VB.Net_Tutorial/Socket_Network/Remoting&amp;diff=3537&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net_Tutorial/Socket_Network/Remoting&amp;diff=3537&amp;oldid=prev"/>
				<updated>2010-05-26T12:55:54Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Load remote object==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;Imports System.Runtime.Remoting&lt;br /&gt;
&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Serializable()&amp;gt; Public Class Hello&lt;br /&gt;
    Private strmyDomain As String&lt;br /&gt;
    Public Sub New()&lt;br /&gt;
        strmyDomain = AppDomain.CurrentDomain.FriendlyName&lt;br /&gt;
    End Sub&lt;br /&gt;
    Public Function GetMessage() As String&lt;br /&gt;
        Return strmyDomain&lt;br /&gt;
    End Function&lt;br /&gt;
End Class&lt;br /&gt;
&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
public class RemoteLoadingForm&lt;br /&gt;
   public Shared Sub Main&lt;br /&gt;
        Application.Run(New Form1)&lt;br /&gt;
   End Sub&lt;br /&gt;
End class&lt;br /&gt;
Public Class Form1&lt;br /&gt;
    Inherits System.Windows.Forms.Form&lt;br /&gt;
    Public Sub New()&lt;br /&gt;
        MyBase.New()&lt;br /&gt;
        InitializeComponent()&lt;br /&gt;
    End Sub&lt;br /&gt;
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)&lt;br /&gt;
        If disposing Then&lt;br /&gt;
            If Not (components Is Nothing) Then&lt;br /&gt;
                components.Dispose()&lt;br /&gt;
            End If&lt;br /&gt;
        End If&lt;br /&gt;
        MyBase.Dispose(disposing)&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private components As System.ruponentModel.IContainer&lt;br /&gt;
    Friend WithEvents btnCreatDomain As System.Windows.Forms.Button&lt;br /&gt;
    Friend WithEvents txtDomain As System.Windows.Forms.TextBox&lt;br /&gt;
    Friend WithEvents Label1 As System.Windows.Forms.Label&lt;br /&gt;
    Friend WithEvents btnLoad As System.Windows.Forms.Button&lt;br /&gt;
    Friend WithEvents Label2 As System.Windows.Forms.Label&lt;br /&gt;
    Friend WithEvents lblMessage As System.Windows.Forms.Label&lt;br /&gt;
    Friend WithEvents btnCreateSayHello As System.Windows.Forms.Button&lt;br /&gt;
    Friend WithEvents Label3 As System.Windows.Forms.Label&lt;br /&gt;
    Friend WithEvents Label5 As System.Windows.Forms.Label&lt;br /&gt;
    Friend WithEvents lblLoad As System.Windows.Forms.Label&lt;br /&gt;
    Friend WithEvents lblCreate As System.Windows.Forms.Label&lt;br /&gt;
    &amp;lt;System.Diagnostics.DebuggerStepThrough()&amp;gt; Private Sub InitializeComponent()&lt;br /&gt;
        Me.btnCreatDomain = New System.Windows.Forms.Button()&lt;br /&gt;
        Me.txtDomain = New System.Windows.Forms.TextBox()&lt;br /&gt;
        Me.Label1 = New System.Windows.Forms.Label()&lt;br /&gt;
        Me.btnLoad = New System.Windows.Forms.Button()&lt;br /&gt;
        Me.Label2 = New System.Windows.Forms.Label()&lt;br /&gt;
        Me.lblMessage = New System.Windows.Forms.Label()&lt;br /&gt;
        Me.btnCreateSayHello = New System.Windows.Forms.Button()&lt;br /&gt;
        Me.Label3 = New System.Windows.Forms.Label()&lt;br /&gt;
        Me.lblLoad = New System.Windows.Forms.Label()&lt;br /&gt;
        Me.Label5 = New System.Windows.Forms.Label()&lt;br /&gt;
        Me.lblCreate = New System.Windows.Forms.Label()&lt;br /&gt;
        Me.SuspendLayout()&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;btnCreatDomain&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.btnCreatDomain.Font = New System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 10.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))&lt;br /&gt;
        Me.btnCreatDomain.Location = New System.Drawing.Point(133, 56)&lt;br /&gt;
        Me.btnCreatDomain.Name = &amp;quot;btnCreatDomain&amp;quot;&lt;br /&gt;
        Me.btnCreatDomain.Size = New System.Drawing.Size(123, 32)&lt;br /&gt;
        Me.btnCreatDomain.TabIndex = 5&lt;br /&gt;
        Me.btnCreatDomain.Text = &amp;quot;New Domain&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;txtDomain&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.txtDomain.Font = New System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 10.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))&lt;br /&gt;
        Me.txtDomain.Location = New System.Drawing.Point(123, 16)&lt;br /&gt;
        Me.txtDomain.Name = &amp;quot;txtDomain&amp;quot;&lt;br /&gt;
        Me.txtDomain.Size = New System.Drawing.Size(307, 23)&lt;br /&gt;
        Me.txtDomain.TabIndex = 4&lt;br /&gt;
        Me.txtDomain.Text = &amp;quot;&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Label1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.Label1.Font = New System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))&lt;br /&gt;
        Me.Label1.Location = New System.Drawing.Point(20, 16)&lt;br /&gt;
        Me.Label1.Name = &amp;quot;Label1&amp;quot;&lt;br /&gt;
        Me.Label1.Size = New System.Drawing.Size(103, 24)&lt;br /&gt;
        Me.Label1.TabIndex = 3&lt;br /&gt;
        Me.Label1.Text = &amp;quot;New Domain&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;btnLoad&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.btnLoad.Font = New System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 10.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))&lt;br /&gt;
        Me.btnLoad.Location = New System.Drawing.Point(266, 56)&lt;br /&gt;
        Me.btnLoad.Name = &amp;quot;btnLoad&amp;quot;&lt;br /&gt;
        Me.btnLoad.Size = New System.Drawing.Size(123, 32)&lt;br /&gt;
        Me.btnLoad.TabIndex = 6&lt;br /&gt;
        Me.btnLoad.Text = &amp;quot;Load SayHello&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Label2&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.Label2.Font = New System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))&lt;br /&gt;
        Me.Label2.Location = New System.Drawing.Point(10, 112)&lt;br /&gt;
        Me.Label2.Name = &amp;quot;Label2&amp;quot;&lt;br /&gt;
        Me.Label2.Size = New System.Drawing.Size(144, 24)&lt;br /&gt;
        Me.Label2.TabIndex = 8&lt;br /&gt;
        Me.Label2.Text = &amp;quot;Message&amp;quot;&lt;br /&gt;
        Me.Label2.TextAlign = System.Drawing.ContentAlignment.TopRight&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;lblMessage&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.lblMessage.BackColor = System.Drawing.Color.White&lt;br /&gt;
        Me.lblMessage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle&lt;br /&gt;
        Me.lblMessage.Font = New System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 10.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))&lt;br /&gt;
        Me.lblMessage.Location = New System.Drawing.Point(164, 112)&lt;br /&gt;
        Me.lblMessage.Name = &amp;quot;lblMessage&amp;quot;&lt;br /&gt;
        Me.lblMessage.Size = New System.Drawing.Size(450, 24)&lt;br /&gt;
        Me.lblMessage.TabIndex = 7&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;btnCreateSayHello&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.btnCreateSayHello.Font = New System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 10.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))&lt;br /&gt;
        Me.btnCreateSayHello.Location = New System.Drawing.Point(399, 56)&lt;br /&gt;
        Me.btnCreateSayHello.Name = &amp;quot;btnCreateSayHello&amp;quot;&lt;br /&gt;
        Me.btnCreateSayHello.Size = New System.Drawing.Size(123, 32)&lt;br /&gt;
        Me.btnCreateSayHello.TabIndex = 9&lt;br /&gt;
        Me.btnCreateSayHello.Text = &amp;quot;Create SayHello&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Label3&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.Label3.Font = New System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))&lt;br /&gt;
        Me.Label3.Location = New System.Drawing.Point(0, 144)&lt;br /&gt;
        Me.Label3.Name = &amp;quot;Label3&amp;quot;&lt;br /&gt;
        Me.Label3.Size = New System.Drawing.Size(154, 24)&lt;br /&gt;
        Me.Label3.TabIndex = 11&lt;br /&gt;
        Me.Label3.Text = &amp;quot;Loading Message&amp;quot;&lt;br /&gt;
        Me.Label3.TextAlign = System.Drawing.ContentAlignment.TopRight&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;lblLoad&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.lblLoad.BackColor = System.Drawing.Color.White&lt;br /&gt;
        Me.lblLoad.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle&lt;br /&gt;
        Me.lblLoad.Font = New System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 10.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))&lt;br /&gt;
        Me.lblLoad.Location = New System.Drawing.Point(164, 144)&lt;br /&gt;
        Me.lblLoad.Name = &amp;quot;lblLoad&amp;quot;&lt;br /&gt;
        Me.lblLoad.Size = New System.Drawing.Size(450, 24)&lt;br /&gt;
        Me.lblLoad.TabIndex = 10&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Label5&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.Label5.Font = New System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))&lt;br /&gt;
        Me.Label5.Location = New System.Drawing.Point(10, 176)&lt;br /&gt;
        Me.Label5.Name = &amp;quot;Label5&amp;quot;&lt;br /&gt;
        Me.Label5.Size = New System.Drawing.Size(144, 24)&lt;br /&gt;
        Me.Label5.TabIndex = 13&lt;br /&gt;
        Me.Label5.Text = &amp;quot;Message&amp;quot;&lt;br /&gt;
        Me.Label5.TextAlign = System.Drawing.ContentAlignment.TopRight&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;lblCreate&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.lblCreate.BackColor = System.Drawing.Color.White&lt;br /&gt;
        Me.lblCreate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle&lt;br /&gt;
        Me.lblCreate.Font = New System.Drawing.Font(&amp;quot;Microsoft Sans Serif&amp;quot;, 10.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(136, Byte))&lt;br /&gt;
        Me.lblCreate.Location = New System.Drawing.Point(164, 176)&lt;br /&gt;
        Me.lblCreate.Name = &amp;quot;lblCreate&amp;quot;&lt;br /&gt;
        Me.lblCreate.Size = New System.Drawing.Size(450, 24)&lt;br /&gt;
        Me.lblCreate.TabIndex = 12&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Form1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.AutoScaleBaseSize = New System.Drawing.Size(6, 14)&lt;br /&gt;
        Me.ClientSize = New System.Drawing.Size(655, 253)&lt;br /&gt;
        Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.Label5, Me.lblCreate, Me.Label3, Me.lblLoad, Me.btnCreateSayHello, Me.Label2, Me.lblMessage, Me.btnLoad, Me.btnCreatDomain, Me.txtDomain, Me.Label1})&lt;br /&gt;
        Me.ResumeLayout(False)&lt;br /&gt;
    End Sub&lt;br /&gt;
    Dim myAppDomain As AppDomain&lt;br /&gt;
    Private Sub btnCreatDomain_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCreatDomain.Click&lt;br /&gt;
        Dim strDomain As String&lt;br /&gt;
        Try&lt;br /&gt;
            strDomain = txtDomain.Text&lt;br /&gt;
            myAppDomain = AppDomain.CreateDomain(strDomain)&lt;br /&gt;
            lblMessage.Text = &amp;quot;New &amp;quot; + myAppDomain.FriendlyName + &amp;quot; Created&amp;quot;&lt;br /&gt;
        Catch ex As Exception&lt;br /&gt;
            MessageBox.Show(ex.Message)&lt;br /&gt;
        End Try&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub btnLoad_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLoad.Click&lt;br /&gt;
        Dim mySayHelloInst As ObjectHandle&lt;br /&gt;
        Dim strDomain As String&lt;br /&gt;
        Dim mySayHello As Hello&lt;br /&gt;
        mySayHelloInst = myAppDomain.CreateInstance(&amp;quot;SayHello&amp;quot;, &amp;quot;Hello&amp;quot;)&lt;br /&gt;
        mySayHello = mySayHelloInst.Unwrap()&lt;br /&gt;
        lblLoad.Text = &amp;quot;SayHello &amp;quot; + mySayHello.GetMessage()&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub btnCreateSayHello_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCreateSayHello.Click&lt;br /&gt;
        Dim strDomain As String&lt;br /&gt;
        Dim mySayHello As New Hello()&lt;br /&gt;
        lblCreate.Text = &amp;quot;SayHello &amp;quot;  + mySayHello.GetMessage()&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>