Hide ExamDiff Pro

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
dilloway
New Member
Posts: 3
Joined: Wed Sep 03, 2008 2:59 pm

Hide ExamDiff Pro

Post by dilloway »

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.
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Hide ExamDiff Pro

Post by psguru »

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
dilloway
New Member
Posts: 3
Joined: Wed Sep 03, 2008 2:59 pm

Re: Hide ExamDiff Pro

Post by dilloway »

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.
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Hide ExamDiff Pro

Post by psguru »

Try using ExamDiff.exe in the command line, not ExamDiff (which would translate into ExamDiff.com, that in turn calls ExamDiff.exe).
psguru
PrestoSoft
dilloway
New Member
Posts: 3
Joined: Wed Sep 03, 2008 2:59 pm

Re: Hide ExamDiff Pro

Post by dilloway »

Thanks for the information. I have tried the command with ExamDiff.exe as well, but to no avail.
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Hide ExamDiff Pro

Post by psguru »

I don't know what else to suggest. Perhaps tweaking process creation flags is still possible.
psguru
PrestoSoft
Post Reply