Search found 2 matches

by IMbatchprogrammer
2013-04-16T10:08:32-07:00
Forum: Users
Topic: Capture return value from Compare tool in Visual Basic
Replies: 3
Views: 4087

Re: Capture return value from Compare tool in Visual Basic

Thanks for the idea. That helped me out, and I started looking into capturing STDERR in VBA. Using the 1>2 command in DOS or 2>&1 enables the reponse to be directed. Infact I was using NULL: as a parameter and 2>OutputResult.txt and that worked well creating a file with OutputResult.txt from DOS ...
by IMbatchprogrammer
2013-04-16T07:39:58-07:00
Forum: Users
Topic: Capture return value from Compare tool in Visual Basic
Replies: 3
Views: 4087

Capture return value from Compare tool in Visual Basic

Hi, I'm trying to use VBA for Excel to compare image files and write the comparison response back to an Excel cell. The relevant piece of code here is: retcode = img.Compare("verbose", "-metric", "rmse", first_file , second_file, "null:") I know the code works, as I've tested it with the addition of ...