Windows programming

Moderators: None (Apply to moderate this forum)
Number of threads: 3711
Number of posts: 9173

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Needs help on basics of windows programming. Posted by deep2002n on 28 Feb 2011 at 1:19 AM
Hi,

I am new to windows programming, ( however I have extensive experience in web technologies using php and mysql), so am asking for a little help from the experts.

I want to alter the windows nt os program so that when i overwrite a .txt file, a copy of it goes to my achive directory. Can you help know how such prgorgam can be written, I mean which application to use , from where to download the freeware (if available), where to get help on the programming language.

Thanks in Advance
Deep
Bangalore
Report
Re: Needs help on basics of windows programming. Posted by DaiMitnick on 3 Mar 2011 at 9:02 AM
As with anything, there are multiple solutions so I'll suggest just one. I would think your best option is to use a .NET language, C# or VB, both similar, C# is slightly better but VB is slightly easier. So pick one and download the applicable language from the Visual Studio Express downloads page:

http://www.microsoft.com/express/Downloads/Download-2010.aspx

Once you have that, create a simple app with a FileSystemWatcher in it. This is essentially a function to watch a file and when a change occurs to it, it will do whatever you've programmed it to do, in this case take a copy of the file whenever it is changed. More informative info on the FileSystemWatcher class here:

http://www.eggheadcafe.com/tutorials/aspnet/fd3891ed-db38-4149-83a2-95a3a49868b5/how-to-use-filesystemwatc.aspx

Hope this helps, Dai


------------------------------------------
Do or do not, there is no try. |
------------------------------------------
Report
Re: Needs help on basics of windows programming. Posted by carly on 13 Mar 2011 at 3:04 AM
Use Win32 api (C or C++) (Shell)
Report
Re: Needs help on basics of windows programming. Posted by carly on 13 Mar 2011 at 3:06 AM
Just use Win32 api (C or C++)
See on Professional Win32 api newsgroup :
news://nntp.aioe.org/comp.os.ms-windows.programmer.win32
or http://tinyurl.com/cmhb5g by Google
where it has often been discussed



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.