We use Word via COM-objects to print some reports.
Now it seems that theese reports that works with Word 2000, does not work with Word 2002. We use the option DefaultTray to get the right paper tray for information, invoice etc, but Word 2002 does not understand what stands in DefaultTray. Has anyone a solution ?
I don't see hwo to sign up for an account on this site...
I was having the same problem, but with Word 2003.
Quite by accident, I found something that fixed it while I was using some debug code. To put it short: Setting the DefaultTray property would not stick unless I retrieved the DefaultTray property first and then set it. For some reason, it sticks after that but only if you retrieve the property first. Doing it this way works for both Word 2000 and Word 2003.
Hope this helps.
- Bill Krahmer
Signing up for an account...
Use the Register Here link from:
http://psdn.progress.com/index.ssp
Salvador