![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Dec 2006
Posts: 9
Rep Power: 0
![]() |
(Need Help) Idea Active File Removeal.
I want to make a program that can be minimized to the tray as an ICON that would actively watch for say something like this.
C:\WINDOWS\System32\data.bad Once it sees this file have the program automatically remove it, and play a cheerful sound. The program doesn't have to be aggressive maybe check every 30 seconds. But I want to build this from scratch, any language that is VB, C, C++. (GUI would be cool) This is my first real project out side of a computer science class. Thank you in advance for any help. |
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Please read the forum's rules/FAQ.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#3 |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
What rule were you referring to in particular, DaWei?
Regarding RedSKul's program, it should be relatively simple to do. The hardest part will be getting the tray icon to display, and even that isn't too tough. For such a straightforward project, you may want to do it in VB. |
|
|
|
|
|
#4 | |
|
Newbie
Join Date: Dec 2006
Posts: 9
Rep Power: 0
![]() |
Quote:
I found an original post regarding a C++ Program that does it here Here I just wanna attach a GUI and the tray method and that lovely noise. ^_^ (I haven't done VB, C, C++ programming in about a year so this is gonna be a revival for me) |
|
|
|
|
|
|
#5 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
I was referring to the huge image that used to be in the signature.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#6 |
|
Newbie
Join Date: Dec 2006
Posts: 9
Rep Power: 0
![]() |
|
|
|
|
|
|
#7 |
|
Programming Guru
![]() ![]() ![]() |
Using C#:
For system tray: http://www.developer.com/net/csharp/article.php/3336751 For the sound: Take a look at PlaySound() For the file existence: look into the File.Exists() Also want to look into Timers, to make it check at certain intervals.
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#8 |
|
Sexy Programmer
|
Yeah, adding a TrayIcon using any .NET language is easy as dragging something to a form.
__________________
I would love to change the world, but they won't give me the source code! |
|
|
|
|
|
#9 |
|
Newbie
Join Date: Dec 2006
Posts: 9
Rep Power: 0
![]() |
|
|
|
|
|
|
#10 |
|
Sexy Programmer
|
You can also download the Visual C++, C#, or Visual Basic Express Edition for free while you wait. It's basically the same except that the Standard or Professional edition have more features.
__________________
I would love to change the world, but they won't give me the source code! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| converting string to float | beginnerCCC | C | 22 | Oct 2nd, 2006 11:59 PM |
| OnlineTextEditor.Com! | Sane | Show Off Your Open Source Projects | 43 | Jun 16th, 2006 8:55 AM |
| After execution - Error cannot locate /Skin File? | wchar | Visual Basic | 1 | Mar 5th, 2005 9:04 PM |
| airport Log program using 3D linked List : problem reading from file | gemini_shooter | C++ | 0 | Mar 2nd, 2005 4:12 PM |
| Structure char field to a disk file | ehab_aziz2001 | C++ | 0 | Feb 10th, 2005 2:42 PM |