⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 client.vb

📁 一个饭店管理系统
💻 VB
字号:
Imports System
Imports System.Runtime.Remoting
Imports System.Runtime.Remoting.Channels
Imports System.Runtime.Remoting.Channels.Tcp
Imports Microsoft.VisualBasic

Module Client
           Sub Main()
            Try
   	Dim channel As TcpChannel = New TcpChannel()
                ChannelServices.RegisterChannel(channel)
	Dim WKSTE As New WellKnownServiceTypeEntry(GetType(CoHello), "HelloDotNet", WellKnownObjectMode.SingleCall)
	'RemotingConfiguration.ApplicationName = "HttpService"
	RemotingConfiguration.RegisterWellKnownServiceType(WKSTE)
                Dim h As Server.CoHello = Activator.GetObject(GetType(CoHello), "tcp://127.0.0.1:8000/HelloDotNet")
	dim strName as string
dim msg as string
msg="ノめ狠

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -