hi masters..
How to code the Copy, Cut and Paste functionality in VB 6.0 ?
Jade_me 1 Light Poster
Recommended Answers
Jump to PostTry the following codes:
CopyClipboard.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
All 3 Replies
Jx_Man 987 Nearly a Senior Poster Featured Poster
AndreRet commented: Nicely executed. +6
Jade_me commented: its done..thx :) +4
Jade_me 1 Light Poster
AndreRet 526 Senior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.