Search the web
Sign In
New User? Sign Up
vbra · Visual Basic - Reliable Answers
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Daily Log File Generator   Message List  
Reply | Forward Message #38 of 42 |
I am looking for a VB program to create log files at the end of each
night. What I need it to do:

The computer is turned on by me.

Windows 3.11 starts.

Terminal is opened.

Terminal goes into receive text file mode.

The name of the file needs to be the date, example : 012002.txt (Jan
20, 2002.

Every night at midnight, the file needs to close, thus saving the
days text log, and opening a new file with the next day as the
filename, in this example, 012102.txt.

If the computer should be shut down by accident or due to power
failure, I need it to know the date it left off with and "append file
" rather than over-write.

This all needs to be done automatically, no user interface.

Are there any programs like this out there? I've gone through
several books, and can't figure out how to do it!!! I'm more
confused than ever! If someone has a progam, I'd like a copy, even
just bits and pieces of a semi fucntioning example and info to help
get me started, though a running example would get me off to a good
start, I am not looking for others to do my work, I fully plan to
study it to increase my knowledge.

Kurt






Mon Jan 21, 2002 6:12 am

facility_406
Offline Offline
Send Email Send Email

Forward
Message #38 of 42 |
Expand Messages Author Sort by Date

I am looking for a VB program to create log files at the end of each night. What I need it to do: The computer is turned on by me. Windows 3.11 starts. ...
facility_406
Offline Send Email
Jan 21, 2002
6:13 am

I don't have the whole answer, but this question got me thinking. ... file ... How about writing the name of the file to the registry when it's first opened....
mjcarini
Offline Send Email
Jan 24, 2002
8:44 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help