VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



How to transfer information using dim X as string.

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

Rate How to transfer information using dim X as string.



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

Download this snippet    Add to My Saved Code

How to transfer information using dim X as string. Comments

No comments have been posted about How to transfer information using dim X as string.. Why not be the first to post a comment about How to transfer information using dim X as string..

Post your comment

Subject:
Message:
0/1000 characters