Solved

Writing to Log file

Posted on 1998-09-15
6
120 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

832 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