Save Events

J

John Wels

Hi.
I would like to ask If is possible in VB.NET make something like that
application will be somewhere saving all events which was made.
For example button A was pressed, Mouse clicked on
X-axis Y-axis.
And then for example this events backward generate.
Thanks for answers.
 
M

Mohamoss

Hi John
One way of doing that it to write a handler to each of the events you want
to keep logs for ( probably you have that handler already doing some
function when the event is raised ) then you can use the Trace class to
write an entry to the application log file ( or you can create you own
application log for that matter ) in that log you can write the name of the
event the object that raised it ( get that from the object sender param in
the handler ) and the time when the event was raised ( Time.Now.ToString())
Mohamed M .Mahfouz
Developer Support Engineer
ITWorx on behalf of Microsoft EMEA GTSC
 

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