I am working in a multiuser VB 6 Project with MS Access as database.
I want to store details in LOG file.

for this we will have to write to the log file in all the events (into which we have written code)

But is there any way to log details automatically ?
means
Whenever we load a form or application the writing to log details starts automatically.

OR

Is there any way
a method is called automatically when any event occurs... ??

Thanx in advance..

ummm do you mean the code for login(connecting to database) in all?

try putting it into a module, then put your code there, make it universal connection, then call the code on the form load,

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.