Developer Network
Developer Network
Developer
:CreateViewProfileText:
Sign in
Subscriber portal
Get tools
Downloads
Visual Studio
SDKs
Trial software
Free downloads
Office resources
Programs
Subscriptions
Overview
Administrators
Students
Microsoft Imagine
Microsoft Student Partners
ISV
Startups
Events
Community
Magazine
Forums
Blogs
Channel 9
Documentation
APIs and reference
Dev centers
Samples
Retired content
We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second.
Ask a question
Quick access
Forums home
Browse forums users
FAQ
Search related threads
Remove From My Forums
Answered by:
Save Text in clipboard to a file
Archived Forums V
>
Visual Basic Express Edition
Question
0
Sign in to vote
I have text information in a clipboard, and would like to write it out to a simple Text file...... any ideas
Wednesday, October 28, 2009 1:43 PM
Answers
0
Sign in to vote
Thanks....... works great
Marked as answer by
bugsxxx
Wednesday, October 28, 2009 2:50 PM
Wednesday, October 28, 2009 2:50 PM
All replies
1
Sign in to vote
If Clipboard.ContainsText() Then
IO.File.WriteAllText("testFile.txt", Clipboard.GetText())
End If
Thanks
♦
My Blog
♦
My Flickr
♦
My Facebook
♦
YOUR Place to have fun time !
Proposed as answer by
•.trujade.•
Wednesday, October 28, 2009 3:04 PM
Wednesday, October 28, 2009 1:56 PM
0
Sign in to vote
Thanks....... works great
Marked as answer by
bugsxxx
Wednesday, October 28, 2009 2:50 PM
Wednesday, October 28, 2009 2:50 PM