vb如何将制定内容复制进剪切板?
vb如何将制定内容复制进剪切板?原代码如下:PrivateSubCommand1_Click()Dimd()AsString,k()AsString,tempAsStri...
vb如何将制定内容复制进剪切板?原代码如下:
Private Sub Command1_Click()
Dim d() As String, k() As String, temp As String
temp = Text1.Text
d = Split(Text2, vbCrLf)
For i = 0 To UBound(d)
k = Split(d(i), "-")
temp = Replace(temp, k(0), k(1))
Next
Text1.Text = temp
End Sub
Private Sub Command2_Click()
End
End Sub
也就是按下command3的时候,自动将TEXT1的内容复制进剪切版 展开
Private Sub Command1_Click()
Dim d() As String, k() As String, temp As String
temp = Text1.Text
d = Split(Text2, vbCrLf)
For i = 0 To UBound(d)
k = Split(d(i), "-")
temp = Replace(temp, k(0), k(1))
Next
Text1.Text = temp
End Sub
Private Sub Command2_Click()
End
End Sub
也就是按下command3的时候,自动将TEXT1的内容复制进剪切版 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询