473,788 Members | 2,896 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Event Monitoring.

Hi,

Is there any way out that I can log copy/cut-paste events....?
Thanks & Regards,
Jaydeep.

Sep 9 '06 #1
3 1247
Hi Jaydeep,

There is a System.Windows. Forms.Clipboard class that provides some ability
to work with the System Clipboard. However, this does not have events
associated with it. Also, you didn't mention whether you want to monitor
Clipboard events in an application, or for the entire OS. If you want to
monitor Clipboard events in an application, you can simply raise an event
whenever you access the Clipboard. If you want to monitor *all* Clipboard
events, you will need to use the unmanaged Windows API and PInvoke. The
documentation for the WinAPI Clipboard, and all of its events, is:

http://windowssdk.msdn.microsoft.com.../ms674551.aspx

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

What You Seek Is What You Get.

"jay_kbvt" <ja************ *@gmail.comwrot e in message
news:11******** **************@ b28g2000cwb.goo glegroups.com.. .
Hi,

Is there any way out that I can log copy/cut-paste events....?
Thanks & Regards,
Jaydeep.

Sep 9 '06 #2
Hey Kevin,

Thanks for reply. Actually I want to monitor what a user is pasting on
a USB - Drive or burns on a CD.

Thanks & Regards,
Jaydeep.

Sep 10 '06 #3
That would entail using the Windows API with PInvoke.

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

What You Seek Is What You Get.

"jay_kbvt" <ja************ *@gmail.comwrot e in message
news:11******** **************@ p79g2000cwp.goo glegroups.com.. .
Hey Kevin,

Thanks for reply. Actually I want to monitor what a user is pasting on
a USB - Drive or burns on a CD.

Thanks & Regards,
Jaydeep.

Sep 10 '06 #4

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

Similar topics

1
3430
by: Daniel Bass | last post by:
hey guys. overview --------- I'm designing a messaging system that works on the principle of late binding to the I/O objects, depending on the .Net class libraries present in the local folder. I may have an output File.DLL, and ODBC.DLL, that instantiate an abstract parent to stream data i receive... an input .DLL allows data to be streamed
9
3215
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My questions are below... "David Good" wrote: > We have a network running both Win2k and Win2k3 webservers and our web sites > reside on a UNC network share that happens to be a Network Appliance NAS.
12
4143
by: Jack Russell | last post by:
My unstanding of all VB up to and including vb6 is that an event could not "interrupt" itself. For instance if you had a timer event containing a msgbox then you would only get one message. However in vb.net you get continual messages (even setting the system modal property). Firstly, are these two assumptions right and if so what is the approved
1
1984
by: Jason | last post by:
Given a scenario where I'm monitoring a folder, once the file has been created, I'd like to have it relocated to another folder via the File.Copy() method. My problem occurs when I paste a 600mb+ file into the folder I'm monitoring. I use this magnitude of a size in order to guarantee it'll work for smaller files. The "created" event occurs before the file is actually completely copied into the folder, so when I try to do File.Copy(),...
1
3040
by: Jacand4321 | last post by:
I'm trying to audit all the database activities using Server-side trace in SQL Server 2000. Basically I need to get the login information (login Id, Login time etc) along with the name of the database.Can some one suggest a way to do that? Thanks in advance. J
18
2343
by: Jerry Boone | last post by:
I'm looking for a way to fire a public sub/function when a form is opened and closed - without using form level events. I have already done some extensive form work with instancing, looping through the forms collection, bringing forms to the front with API via hWnd, et.. and so on. The problem is that users are loosing windows behind others and I thought I would put a list together on an existing left handed menu of (i.e.) "My open...
1
1999
by: Jo | last post by:
Hi. I have a few questions regd event monitoring. Would appreciate some assistance with this. 1. Does the event monitor only insert data into the event monitoring tables once the connection has been disconnected? sometimes when i select from the tables the data does not show current connections, only when i use the FLUSH command the data is updated. so, is my understanding correct? thanks. 2. Can we activate and deactivate the event...
1
2573
by: Mahita | last post by:
Hi, I am coding a Windows Service in which I am using the "OnCreated" event of FileSystemWatcher class to do some processing when a new file is created in a particular folder. However I have encountered the following issue in the "OnCreated" event of FileSystemWatcher class. Whenever a file is copied from a different folder (like network share) and pasted to the monitoring folder and this copy & paste process takes time, even before the...
1
6940
by: =?Utf-8?B?YnJlbnQ5NjA=?= | last post by:
Environment: ASP.NET 2.0, SQL Server 2005, C#, Visual Studio 2005 In my Session_End event, I am executing a stored procedure to update a database table that is used to log user sessions. When the user sessions time out, the Session_End event fires successfully. The stored procedure executes successfully, and I can see the updated data in the database just as I would expect. Nonetheless, an exception is being generated by the code...
1
3006
by: brad.serbus | last post by:
I am trying to figure out a way to have health monitoring throw different Event IDs into the event log, and am having a hard time. None of the customization that I have looked through so far has been helpful, yet. As an example, here's a text copy of a typical unhandled exception from the event log: Event Type: Warning Event Source: ASP.NET 2.0.50727.0
0
10364
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...
0
10172
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
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
9967
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...
1
7517
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
6750
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();...
0
5398
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.