Hi sujayanand,
Refer the below article.
Else you can do it like below.
C#
private void Form1_Load(object sender, EventArgs e)
{
timer1.Interval = (1 * 60 * 1000); // 1 min
timer1.Tick += new EventHandler(RunExeFile);
timer1.Start();
}
private void RunExeFile(object sender, EventArgs e)
{
System.Diagnostics.Process process = new System.Diagnostics.Process();
process.StartInfo.FileName = "D:\\Test.exe";
process.Start();
}
VB.Net
Private Sub Form1_Load(sender As Object, e As EventArgs)
timer1.Interval = (1 * 60 * 1000) ' 1 min
timer1.Tick += New EventHandler(AddressOf RunExeFile)
timer1.Start()
End Sub
Private Sub RunExeFile(sender As Object, e As EventArgs)
Dim process As New System.Diagnostics.Process()
process.StartInfo.FileName = "D:\\Test.exe"
process.Start()
End Sub