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#
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in WINDOWS
- how to play a sounds in c# forms?
- Echo behaviour of Microsoft Windows Telnet Client
- Getting error while running spark-shell on my system; pyspark is running fine
- DirectX 9 With No SDK Installed - How To Translate a D3DMATRIX?
- Gradle 8.7 cannot find installed JDK 22 in IntelliJ
- 'IOException: The cloud file provider is not running', when trying to delete 'cloud' folder
- Cannot load modules/mod_dav_svn.so into server
- Issue with launching application after updating ElectronJs to version 28.0.0 on Windows and Linux
- 32-bit applications do not display some files in Windows 10
- 'bun' is not recognized as an internal or external command
- mkssecreenshotmgr taking a screenshot
- Next js installation in windows 7 os
- Can't resize a partition using Mini Tool?
- Is there any way to set a printer as default according with Active Directory Policy Security Group and PC hostname?
- Electron Printing not working on Windows (Works on Mac)
Related Questions in BACKUP
- How to restore a e2image image backup
- Differential backup for delete and restoring files and folders
- How would I use my backup for my 1inch wallet to get back into my wallet
- backing up RDS to non AWS backup solution
- Can I backup a dockerized mysql database just by copying the container's volume?
- Do I need the series of differential backups to restore my Ceph image to a specific point?
- Backup with Spatie does not work on Windows
- :Unable to obtain authentication token using the credentials provided
- How to create a localized backup server Using Windows server?
- Extract Note Text Format (Bold/Italic/Strikethrough) from iOS OTG Backup
- backup issue about openstack disk
- Auto back up using python
- Avoid automatically backup after restore from snapshot on RA3 Redshift cluster
- UDF (DVD-R) incremental writing of changed file sectors
- About VM Esxi Backup
Related Questions in WINDOWS-FORMS-DESIGNER
- how check if printing content on new page
- How can I make background of a button transparent when it is on top of other colored buttons?
- error : Object refrence not set to an instance of an object
- Can't open WinForms forms anymore in Designer, VS2022, .NET 8
- Trouble creating in-editor button in custom control
- Restore mdi children after Controls.Clear
- Screen-sharing in C# Windows Form using TCP: half screen glitched out
- How do I parse values to text boxes from a row of selected cell in a datagridview in a windows forms app?
- Forbid to move cursor in RichTextBox past certain position
- Import files (.png...local files) as assets like Windows Forms importer does
- Visual Studio Form designer started displaying my form like it is zoomed in
- Why does Windows Forms Designer resize my controls?
- Why is the WinForms editor causing so much code change?
- How to add a user control (from a DLL file) to the .NET Core's Windows Forms designer controls toolbox?
- How to Open the Explorer on the Windows 11
Related Questions in BACKUP-STRATEGIES
- log4j2 is only keeping 1 backup log and deleting the rest
- Create new database from a MariaDB backup
- Achieving Data Synchronization in Android App with Kotlin - Best Approach and Option?
- Where do i should save my docker postgres backups?
- Backup Microsoft fabric and prevent easy artifact deletion
- How to stream files to tar using a chunking approach?
- Docker containers safe upgrade best practice
- S3 high version count per object alerting
- How to rsync a linux server to a local directory excluding all os files
- Backup and recovery of hive flutter database offline in phone storage
- How can I limit the the no. of table backups to keep?
- By mistake I have created a .git folder in my DESKTOP and then deleted that folder my caused whole data of the desktop deleted
- Is there any way to implement Disaster Recovery on Minio?
- AWS Redshift Disaster Recovery - Is it possible to restore tables in another account to cluster provisioned by IAC?
- Manage daily, weekly and monthly backups in AWS S3
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 # Hahtags
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