473,320 Members | 1,976 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

recent file

Hello,

I'm writing a vb.net console project to parse through the NTBackup log file
and notify if there are any issues. I'm stuck at the point where I have to
read the latest file based on date from directory. Any sample code or hints
out there?

Thanks
Dec 11 '05 #1
3 880
did you know that with a vb.net application you can subscribe to the event
log ?? and so catch entry`s written to it while they occure ??

i have once written an Admin notifier that sends e-mails to the
administrator on certain (critical ) events

regards

Michel Posseth [MCP]

"Troy" <ma****@pushit.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hello,

I'm writing a vb.net console project to parse through the NTBackup log
file and notify if there are any issues. I'm stuck at the point where I
have to read the latest file based on date from directory. Any sample code
or hints out there?

Thanks

Dec 11 '05 #2
can you share your code?

"m.posseth" <mi*****@nohausystems.nl> wrote in message
news:uF*************@TK2MSFTNGP11.phx.gbl...
did you know that with a vb.net application you can subscribe to the event
log ?? and so catch entry`s written to it while they occure ??

i have once written an Admin notifier that sends e-mails to the
administrator on certain (critical ) events

regards

Michel Posseth [MCP]

"Troy" <ma****@pushit.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hello,

I'm writing a vb.net console project to parse through the NTBackup log
file and notify if there are any issues. I'm stuck at the point where I
have to read the latest file based on date from directory. Any sample
code or hints out there?

Thanks


Dec 12 '05 #3
can you share your code?
I did that already years ago :-)

http://www.freevbcode.com/ShowCode.Asp?ID=5903

regards

Michel Posseth [MCP]

"Troy" <ma****@pushit.com> wrote in message
news:Oa**************@TK2MSFTNGP12.phx.gbl... can you share your code?

"m.posseth" <mi*****@nohausystems.nl> wrote in message
news:uF*************@TK2MSFTNGP11.phx.gbl...
did you know that with a vb.net application you can subscribe to the
event log ?? and so catch entry`s written to it while they occure ??

i have once written an Admin notifier that sends e-mails to the
administrator on certain (critical ) events

regards

Michel Posseth [MCP]

"Troy" <ma****@pushit.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hello,

I'm writing a vb.net console project to parse through the NTBackup log
file and notify if there are any issues. I'm stuck at the point where I
have to read the latest file based on date from directory. Any sample
code or hints out there?

Thanks



Dec 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Nova's Taylor | last post by:
Hi folks, I am a newbie to Python and am hoping that someone can get me started on a log parser that I am trying to write. The log is an ASCII file that contains a process identifier (PID),...
3
by: Suresh Kumaran | last post by:
How do you program in VB.NET to show the most recent used document in a dropdown menu? I am referring to something like in MS WORD or EXCEL where it shows the recent document the user was working...
3
by: Larry Bates | last post by:
I recently upgraded from 2.2 to 2.4 (ActiveState for Windows). I was accustomed to having the most recent 10 files that I had edited show up under File menu under Recent. After upgrading these...
1
by: Eric Robishaw | last post by:
In VS.net 2003, my recent files list will not update the Date. If I open a project from the list, modify it and close... the next time I load VS.net, the project shows the same old date. It...
7
by: William Payne | last post by:
Hello, have you seen a recent files menu in a GUI application? In many GUI applications there's a menu the displays the most recent files that has been opened by the program. Say such a menu has...
2
by: satyaprakash47 | last post by:
Hello How can we remove a specific file from the window recent file list through vb.Net.
4
by: Lee | last post by:
I have an application where I need to find the most recent file placed in a folder. For example, my users periodically place an image file with the format "ImageXXXX.jpg" (where XXXX is some...
2
by: C# programmer | last post by:
Hi All, I'm working on a project which requires tracking of recent document downloads. There is a feature in which user can download the docs without logining into the website for some of the...
4
by: zacks | last post by:
Most applications whose purpose is to work with various types of files implement a "Most Recent Files" list, where the last, say, four files accessed by the application can quickly be re-opened by...
7
by: PawelSokolowski | last post by:
Hi all, I migrated to VS2008, and I cannot find a way to get Recent Projects in File menu. I tried to customize the menu, but no success. Any ideas ? Regards Pawel
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.