![]() Private Sub Label3_Click(sender As Object, e As EventArgs) Handles Label3. Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As ) Handles TextBox1.KeyDown Private Sub Tmr_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Tmr.Tickĭim cnt As Integer = Directory.GetFiles(DirectoryToCheck, "*.msg", SearchOption.TopDirectoryOnly).Count Private Sub Label1_Click(sender As Object, e As EventArgs) Handles Label1.Clickįb.RootFolder = 圜omputer Process.Start("explorer.exe", NewFoldersUnNamed) ReadyFolders.Add(Test.Remove(x + 1, CreateInfo.Length - x - 1))ĭim NewFoldersUnNamed As String = PathUnNamed MessageBox.Show("You can only add integers to the textbox." & vbCrLf & "Please try again.")įor x As Integer = 0 To CreateInfo.Length - 2 Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click Private Sub Button3_Click(sender As Object, e As EventArgs) Private Sub Button2_Click(sender As Object, e As EventArgs) Handles EM.Click (The 'old' folder) Click the 'right' button and choose the folder you would like to move items TO. Click the 'left' button and choose the folder you would like to move items FROM. Private Sub Button1_Click(sender As Object, e As EventArgs) Handles DT.ClickĭTVar = Environment.GetFolderPath() Here's how you can compare two directories with FileMerge: +space, type in 'FileMerge' and open it. ![]() Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load If e.Button = Thenĭim msg As Message = Message.Create(sender.Handle, 161, New IntPtr(2), IntPtr.Zero) Private Sub Form1_MouseDown(ByVal sender As Object, ByVal e As ) Handles Me.MouseDown Of Folder A is less than or greater than Folder B by say 5 mins, then Return something like "No Problems", than 15mins "Should be OK", and 30mins "Check folder" etc.) or maybe return a color like Red Green and Yellow.Īnyhow, Here is my current code if for some reason it helps: Imports System.IO What I want to compare is the Average of the Modified dates of all the files within Folder A to Folder B and return a response based on the differences. Now I want to add a button that will allow me to compare two of those subfolders. I am trying to make a program that does some basic things, one of those things allows a user to enter a # which is a job number and the program creates a folder structure for that number. If anyone could point me in the right direction, that would be great. I found some info searching this, but nothing specific.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |