This relates to the TWAIN driver/.ds for a Plustek portable scanner. Calling the driver using VBA in Access 2007 with the scanner not connected or with no paper in the scanner normally causes the driver/.ds file to generate an appropriate error message (they use CreateWindowEx to generate the message). When the scanner is selected calling a function directly in the Access 2007 VBA editor, the messages display correctly. When this same function is called using a command button on an Access 2007 form, the message is corrupted - an area in the center of the message window text is blank and the message buttons sometimes do not appear. Plustek have tried a test example app using the Chinese version of Access 2007 and don't see the problem. Any suggestions? By the way, I have tested this Access 2007 app on XP, Vista and W7 - same problem on all platforms. This code works perfectly in Access 2003 on all platforms.