Question Selected Text must be stored somewhere in Windows. WHERE?

sjt62349

New member
Joined
Sep 3, 2021
Messages
1
Programming Experience
5-10
When text is selected in say a browser or pdf, it must be stored somewhere in the Windows OS. How do I access the last selected text in my VB Net program? Note - SendKeys + copy does not work because the VB app has control, not the last active browser or pdf.
 
Last edited:

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,553
Location
Sydney, Australia
Programming Experience
10+
Windows doesn't keep track of selected text. If what you're actually talking about is text copied to the Clipboard then it's stored... in the Clipboard. All cut, copy and paste operations use the Windows Clipboard. If you search for the obvious keywords, you'll find plenty of relevant information.
 
Top Bottom