Click here to Skip to main content
15,892,059 members

Comments by bikerben (Top 1 by date)

bikerben 20-Dec-12 5:45am View    
Hi Adam, Yes I've tried popping a thread.sleep in there using various lengths from millliseconds to a few seconds. I've currently changed the code so the IE_PrintTemplateTeardown method is not called, instead once the application has finsihed processing all the files it will then close all the instances of IE which are open in the background. Its dirty I know but for the time been it will do since the application has the desired effect. I'll come back to this issue at a later date with a fresh pair of eyes.