Solved

Writing to Log file

Posted on 1998-09-15
6
121 Views
Last Modified: 2010-04-30
How can I  make my application to write each and every event to write into a log file. I am using win-nt and I would like to write all the events into my own log file instead of win-nt log file.
0
Comment
Question by:monalisa
  • 3
  • 3
6 Comments
 
LVL 14

Accepted Solution

by:
waty earned 10 total points
ID: 1435015
Go to my web site, you will find the logger OCX, wich does what you need : Logger.ocx

Web Site : http://www.geocities.com/ResearchTriangle/6311/ 
0
 

Author Comment

by:monalisa
ID: 1435016
First let me appreciate for the great work done by you.


I downloaded the logger.ocx and installed it on my system. I tried working with your test program, but unfortuantely it is not writing to the log file.

Here are the steps I followed

1) I unziped the files
2) Installed and registered the logger.ocx
3) Then I ran the test program
 i) First wrote some text with the option as error and repeated the same with other options.
 ii) Then selected the View option with all the options checked(error, infromation..). But I could see nothing in the log file.

Can you help me out in tracing the probelm.

Lot of thanks
0
 
LVL 14

Expert Comment

by:waty
ID: 1435017
Give me you e-mail, I will send you informations by mail.
0
Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

 

Author Comment

by:monalisa
ID: 1435018
my e-mail is koneruv@hotmail.com


0
 

Author Comment

by:monalisa
ID: 1435019
I didn't get the info
0
 
LVL 14

Expert Comment

by:waty
ID: 1435020
Oops, sorry for the delay, I probably lost the mail.

Did you tried to view the logfile directly under notepad?

I use this OCX every days in all my applications, and it works fine.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question