by Xojo (2 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 17th January 2003
Date Added: Mon 8th February 2021
Rating:
(1 Votes)
How to transfer information using dim X as string.
API Declarations
'You'll need 2 text boxes and 1 command button
'Simply copy and paste this code
'This code is obviously stupid in this perpesctive, you can use it in different
'ways.
'Sorry for any typos I might have made
Dim transferTxt As String
transferTxt$ = Me.Text1.Text$
If Text1.Text = "" Then
MsgBox "No Text To Transfer", vbCritical, "Error"
Else
Text2.Text = (transferTxt)
End If
End Sub