TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
toto
NA
15
0
How do I COPY the selected text from a webBrowser page?
Nov 5 2011 6:50 PM
This is a Hard question(apparently simple):
How do I COPY the selected text from a webBrowser page, and paste it to a text file( for example)?
I have this until now:
private void webBrowser1_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e)
{
//the 67 is the mousebutton no4 (I have 5 5buttons and a scrolwhell-A4Tech_X7 mouse)
//the mousebutton no4 is set to "ctrl+c" keys (Copy)
if (e.KeyValue == 67)
textBox2.Text=webBrowser1.DocumentText;
}
Until now i cant manage to copy a text selection from webBrowser.
How to do that?
Thank you.
Reply
Answers (
2
)
Problem in using begin trans in c# code
Printing DD for banks