hi masters..
How to code the Copy, Cut and Paste functionality in VB 6.0 ?

Try the following codes:


Copy

Clipboard.Clear
Clipboard.SetText ActiveForm.ActiveControl.SelText, vbCFText

Cut

Clipboard.Clear
Clipboard.SetText ActiveForm.ActiveControl.SelText, vbCFText
ActiveForm.ActiveControl.SelText = ""

Paste

If Clipboard.GetFormat(vbCFText) Then
ActiveForm.ActiveControl.SelText = Clipboard.GetText(vbCFText)
End If
commented: its done..thx :) +4
commented: Nicely executed. +6

Thx Jx_man for quick response..its done..

Now you just have to mark this as solved, found at the bottom of this page, thanks:)