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...
Want to share photos of your group with the world? Add a group photo to Flickr.

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 #39 of 42 |
Re: Daily Log File Generator

I don't have the whole answer, but this question got me thinking.

> 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.

How about writing the name of the file to the registry when it's
first opened. Then if there's a power outage, when it comes back on,
the program looks for the file named today's date. If it exists, it
will append, if not it will open a new file.

Hope this helps a little.





Wed Jan 23, 2002 2:20 am

mjcarini
Offline Offline
Send Email Send Email

Forward
Message #39 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