currently, I am working on a comparing program. The system that I really need to develop is to compare folders. But I saw the winmerge application. so in order to shorten my project, the Winmerge is the application that I will use for comparing. but the winmerge did not support an excel file result exporting. that is 1 of my project specifications.
- My system has a 3 textbox, the
KJOB, JOB, RESULT.
KJOB and JOBneed to pass the string value to WinMerge.
now my question is:
- How can I pass the string value of Textbox to Winmerge Application?
I have tried this code to start the Application, but i dont know how to automatically send the path of the folder to start the comparing
Process myProcess = new Process(); myProcess.StartInfo.UseShellExecute = false; myProcess.StartInfo.FileName = @"C:\Program Files (x86)\WinMerge\WinMergeU.exe"; myProcess.StartInfo.CreateNoWindow = true; myProcess.Start();
Thanks in Advance. All help will much be appreciated.
Not sure I completely understand what is being compared but you would want to pass the contents of your textbox as command line argument(s) to winmerge. Googling led me to this documentation for winmerge, which I think is what you need... Hope this helps!