Paste Clipboard data to other program

R

RossL

Is there any way to pass the content of the Clipboard (copied from my
application) over to the Next (unknown) running program/application,
automatically (by code {C#})?

Using C# .NET 1.1, I was able to store data to the clipboard, but was not
successful in determining the next application running to paste the data with.

data is usually text.

I'd like to paste the data on the Next application, where the cursor on that
application is located.

Is this even possible?
Please help... thanks!
 
B

Brendan Reynolds

I would be surprised if it were possible to do that without modifying the
target application to allow it. If it is possible, the security implications
would be quite worrying. However, you're more likely to get a definitive
answer to this question in a C# or .NET framework forum than an Access
forum. Here's some references I've posted recently in response to other
questions involving .NET. The second quote refers to VB, but you'll find C#
forums at the same location.

There's microsoft.public.dotnet.languages.csharp

Also many non-programming-language-specific groups for various aspects of
the .NET framework, e.g. .dotnet.framework.adonet for data-access,
..dotnet.framework.windowsforms if you're developing windows forms apps and
..dotnet.framework.aspnet if you're developing web apps.

http://msdn.microsoft.com/newsgroups/

In the menu on the left side of that page, you'll find VB groups under
'Visual Tools and Languages', and general, non-programming-language-specific
..NET groups under '.NET Development'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top