Hi,
Is there a way to invoke ExamDiff Pro from the command line so that it is hidden and does not take up the foreground? I am working on a .net application that invokes ExamDiff Pro from the command-line by creating and executing a batch file. I have no problem hidding the batch file during execution, but once the batch file calls ExamDiff the foreground is brefiely taken away from my app. I call ExamDiff for several files so it becomes very annoying when the foreground rapidly changes. Here is the current command I use to call ExamDiff:
ExamDiff /html /o:" & quote & g_workingDirectory & "\test.html" & quote <file1> <file2>
Any help would be greatly appreciated.
Hide ExamDiff Pro
Re: Hide ExamDiff Pro
I presume you see flashes of the console window. I'm pretty sure that you can invoke a program and pass a flag to hide its window. For example, you could use ProcessWindowStyle.Hidden to pass in ProcessStartInfo.WindowStyle to Process.Run. Have you tried this?
psguru
PrestoSoft
PrestoSoft
Re: Hide ExamDiff Pro
The console window is hidden (I do use Process.WindowStyle.Hidden). However, the console calls ExamDiff and that's where my problem lies. I can see ExamDiff flicker on the Windows Taskbar. I hope I am explaining it correctly. Thanks for the help.
Re: Hide ExamDiff Pro
Try using ExamDiff.exe in the command line, not ExamDiff (which would translate into ExamDiff.com, that in turn calls ExamDiff.exe).
psguru
PrestoSoft
PrestoSoft
Re: Hide ExamDiff Pro
Thanks for the information. I have tried the command with ExamDiff.exe as well, but to no avail.
Re: Hide ExamDiff Pro
I don't know what else to suggest. Perhaps tweaking process creation flags is still possible.
psguru
PrestoSoft
PrestoSoft