|
-
Dec 4th, 2000, 08:56 AM
#1
Thread Starter
Lively Member
how do i copy, paste and cut selected text from/in a
textbox? I mean when it's running... so I can cut, paste
and copy stuff to/from the clipboard like a texteditor.
To VB or not to VB, that's the question...
-
Dec 4th, 2000, 09:01 AM
#2
Fanatic Member
-
Dec 4th, 2000, 09:03 AM
#3
Thread Starter
Lively Member
Thanx!!!
I had the exact same idea! Thanx bro'!
To VB or not to VB, that's the question...
-
Dec 4th, 2000, 09:08 AM
#4
Thread Starter
Lively Member
HELP!!!!
I get a runtime error:
object required....
it does not recognize the clipboard!! Maybe my vb version is
too old?
To VB or not to VB, that's the question...
-
Dec 4th, 2000, 10:03 AM
#5
Frenzied Member
hmm.. think it's should work, post the code pls.
... and what VB version are you using?
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Dec 4th, 2000, 10:08 AM
#6
Hyperactive Member
Have you tried Text1.seltext=clipboard.GetText, and Text1.seltext=clipboard.SetText ??
-
Dec 4th, 2000, 10:38 AM
#7
Thread Starter
Lively Member
...
I use the exact code as shown in the link above.
And I'm using Visual Basic 4.0 SE
Maybe a lil' bit too old?
To VB or not to VB, that's the question...
-
Dec 4th, 2000, 11:53 AM
#8
To save data to the clipboard:
Clipboard.SetText MyData
(Clipboard.SetText Text1.SelText)
To retrieve it:
RetrievedData = Clipboard.GetText()
(Text1.text = Clipboard.GetText() )
What line is highlighted?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|