Solved

Writing to Log file

Posted on 1998-09-15
6
123 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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 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…

696 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