xferinterface.bas

来自「使用winsock控件进行大文件传输」· BAS 代码 · 共 26 行

BAS
26
字号
Attribute VB_Name = "xferInterface"
Public Function sendFile_01(fileName As String, filePath As String, hostIP As String, hostPort As Double, localUserName As String)

Dim a As New frmSend

a.nameOfFile = fileName
a.pathToFile = filePath
a.hostIP = hostIP
a.hostPort = hostPort
a.userName = localUserName

a.Show

End Function

Public Function receiveFile_01(hostIP As String, hostPort As Double)

Dim a As New frmReceive

a.hostIP = hostIP
a.hostPort = hostPort

a.Show

End Function

⌨️ 快捷键说明

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