how can i use this options cut,copy,paste ,save in vb6.0 and how can i define variables like active control when i am programming? help me please
to copy,save ,cut,paste in vb6.0
Collapse
X
-
You're going to need to use the Clipboard Object to accomplish this text. Here's an example on pasting from the Clipoboard
Hope this gets you started down the Rabbit hole for a full implementation of what you seek :)Code:'Clear the Clipboard Clipboard.Clear 'Set the text of the Clipboard object Clipboard.SetText "VB 6 Paste Example", vbCFText If Clipboard.GetFormat(vbCFText) Then 'Paste the value into a TextBox. Text1.Text = Clipboard.GetText(vbCFText) End If
Comment
Comment