I'd like to do a program which can make copies of a folder/subfolders to a specific destination in every hour. I've made a simple program which can copy files if I press a button, but its not scheduled and it forgets the source and the destination every time I open it. Could you please help me out? Thanks in advance!
Creating a backup-maker program in C# windows form
511 Views Asked by moladori At
1
There are 1 best solutions below
Related Questions in C#
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in WINDOWS
- Get Maximum Log Size
- Debugging Windows Services while starting
- Possible consequences of duplicate ProgId for different classes
- How to chain BCryptEncrypt and BCryptDecrypt calls using AES in GCM mode?
- mingw-64 conflicting declarations when cross-compiling
- I run an EXE program from a Windows Service but I can't see form C#?
- Why is PowerShell "not recognized" when installing Chocolatey?
- How to check if Windows device is phone or tablet/pc?
- How to add directories to Cygwin gcc default search path
- Can't install anything with pip2 on Windows 7 due to UnicodeDecodeError
- Active directory and linux nslcd binding without extending the AD schema
- How To Prevent Over Scrolling in Scroll Viewer Windows Phone 8.1
- Unicode error from pip install
- Where is the 'EnablePinning' property in the ribbon framework's recent items?
- How can I implement the same models and data across ASP.NET and Windows Apps
Related Questions in BACKUP
- Need to create a simple script for ftp login
- Backup strategy for build tool hosted on Azure VM
- Error with Data Pipeline backup when I transfer my data from DynamoDb to S3
- Tablesnap not working
- Can WebDeploy Backup on Application Level Not the Whole Site?
- Cassandra restore from incremental backup files from multilple nodes
- How to avoid "use <database>" statement on mysqldump backups?
- Bash output limited to echo only
- Batch file to delete all folders in a directory except the newest folder
- CentOS6 - Backup all RPMs and installed programs
- Tar backup error
- What is the best file format to save dynamoDB table?
- Creating Backup and Restore where the Executable path in vb.net
- Daily and weekly backup strategies
- iOS Enable backup for file ONLY IF backup is encrypted
Related Questions in WINDOWS-FORMS-DESIGNER
- Save the state of a dynamic windows form application C#
- Make two form controls resize with window evenly
- In Visual Studio 2013 when I add an existing form then controls don't appear on designer
- Restrict adding controls to ToolStrip
- DataGridView anchors
- Is it possible to code this website?
- Changing Combobox should update entity EF6
- C# Windows Form Application - value not printing in textbox for each time
- MouseEvent not working in chart Area
- auto sizable picture box
- Using custom event to draw shapes in another form c#
- Windows Forms casting Button class
- Accept Input from user through datagridviewcomboboxcolumn
- Comparing the values of 2 combo-boxes
- How to make my grid group columns read-only in Windows Form DevExpress?
Related Questions in BACKUP-STRATEGIES
- Daily and weekly backup strategies
- Best way to set up cloudant backup/restore
- Ubuntu bash script to delete old backup files from multiple directories
- Stream rdiff - delta differencing?
- backup/restore data in mysql database
- Android SharedPreferences Backup Not Working
- Windows Azure Active Directory Backup/Restore
- permanently remove revisions from SVN
- 'Lines_LineSeries_LineIterator_DataAccessor_Strateg' object has no attribute 'self'
- Is it safe to download a site's files and database at the same time?
- Veeam Backup To Tape Scenario
- SQL Server 2008 backup from locked down hosting provider
- Versioning SQLite databases with Subversion. Good idea or bad idea?
- Subversion: is it possible to backup only the delta since the last backup?
- (Lightweight) backup strategies for a LAMP application stack?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Console case
You can also create a service:
https://learn.microsoft.com/dotnet/framework/windows-services/walkthrough-creating-a-windows-service-application-in-the-component-designer
https://www.c-sharpcorner.com/article/create-windows-services-in-c-sharp/
Output
WinForms case
Add a
Timerfrom the Component tab of the Visual Studio Toolbox and set the desiredIntervalproperty in milliseconds hence 3600000 for an hour.Double click on it to create associated the event method:
You need to start it somewhere or set the enabled property.
Thus you can design your app as you want to offer for example settings and you can use a TrayIcon.
WPF case
In addition to the
System.Threading.Timerthere is:https://learn.microsoft.com/dotnet/api/system.windows.threading.dispatchertimer
ASP.NET case
In addition to the
System.Threading.Timerthere is:https://learn.microsoft.com/dotnet/api/system.web.ui.timer