UNDO for InsertFile, please ? (C# or VB-6)

M

Mike

Hi! I am writing a program that puts together a bunch of documents.
Sometimes, I need to undo the call for InsertFile() if number of pages in the
resulting document exceeds a certain number.

I can not figure out how to Undo the insertFile() call. I was thinking of
having 2 sets of files and write to the resulting file only if InsertFile()
into my temp document does not exceed the # of pages. However, this solution
seems a bit cumbersome to me.

Any suggestions / code samples / URL's are greatly appreciated
 
Top