473,651 Members | 2,635 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Copy selected text from an external application

Hi All,

I was wondering if it was possible in vb.net to select text from an
external application such as IE, then press a hotkey which would copy
the contents to clipboard?

I have no problems with setting up system wide hotkeys and with
copying selected text if it was not an external application but could
not find any info on how I might do the above.

Any help would be much appreciated, thanks.

- J

Nov 16 '07 #1
1 2781
kru
On Nov 16, 2:19 pm, macrow <shootandpo...@ yahoo.comwrote:
Hi All,

I was wondering if it was possible in vb.net to select text from an
external application such as IE, then press a hotkey which would copy
the contents to clipboard?

I have no problems with setting up system wide hotkeys and with
copying selected text if it was not an external application but could
not find any info on how I might do the above.

Any help would be much appreciated, thanks.

- J
I'm also curious how this might be possible, trying to copy a selected
line of text from a browser to copy into clipboard so I can search
through the string for particular text. Problem is trying to get the
selected text into clipboard.
Nov 20 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
7094
by: JMBollard | last post by:
I am working on a Swing application (Java 1.4 ) and I am having trouble implementing the following functionality: A JTextField that should not be part of focus traversal (should not be tabbed to), but the text can be selected and copied (Ctrl-C). This is a requirement across the whole application, which is hundreds of panels, so 'hard-coding' the tab order is not an option. TIA, John
0
1770
by: David Londeck | last post by:
I am using Visual Basic 2003 and I have written a notepad like application using the RichTextBox control. I am having trouble trying to emulate Microsoft Words text block copy/paste feature. In MS Word you would Hold Alt while clicking and dragging the mouse. A block of text would then be selected and you can then copy and paste what you have selected. Has anybody done this? What I am trying to do is copy multiple columns across...
3
1668
by: Roy | last post by:
Hello, Sorry for a lengthy post. I develop a access 2000 application.As a part of the daily download,I import data from a excel sheet into a access table. The data is as follows: Task Comments 11801 08/02/2004 07:15:43 CET: Submitted 08/02/2004 06:35:39 CET: Please provide Post Mortem 11804 08/18/2004 09:33:46 CET: Sent mail to Carey Walker chasing
6
3067
by: XmlAdoNewbie | last post by:
Hi All, I would like to put a method for copy, cut and paste into my application and this seems to be easy enough except that it's not working the way i would like it to, I thought someone might be able to give me a bit of insight and for that I say Thank You in advance! this is what I have so far. private void CutText() {
3
2650
by: [Joe] | last post by:
Hi all, I am wondering if there is anyway, I could detect if some text gets selected by the user in an external application. To give you an example, I would like to get the selected text same way as done by Babylone application. Regards, Joe
0
1010
by: [Joe] | last post by:
Hi all, I am wondering if there is anyway, I could detect if some text gets selected by the user in an external application. To give you an example, I would like to get the selected text same way as done by Babylone application. Regards, Joe
17
5102
by: Steve | last post by:
I'm trying to code cut, copy, and paste in vb 2005 so that when the user clicks on a toolbar button, the cut/copy/paste will work with whatever textbox the cursor is current located in (I have about 20 textboxes on the form). Also to ensure that the button can't get used if the cursor isn't in a textbox field. And to ensure the contents of the clipboard are "text" contents that have been cut/copied from one of the textboxes on the form. ...
4
10346
by: ACF | last post by:
Hello, I'm programming an application in MS Access 2003 / 2007 and would like to know how I can copy highlighted text to the windows clipboard? I am now using a statement in combination with module "Call ClipBoard_SetData(Memo)" but this copies the whole 'memo' field. I want to highlight text in the memo field and copy only that text to the clipboard. What I really want is the VBA code for window's to copy selected text to the...
11
9638
by: John | last post by:
Hi In a winform app I need to provide a menu with Cut, Copy and Paste options., What code do I use to accomplish cut, copy and paste features for fields on a winfrom? Thanks Regards
0
8275
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8795
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8460
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8576
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7296
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6157
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2696
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1906
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.