Access 2007 VBA - TWAIN Message Problem

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.
katie999Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Simon BallCommented:
are they using any specific references in VBA that might be different versions to yours?
0
katie999Author Commented:
The only references used in my version are the four standard ones loaded on Access install. vbe6.dll is up to date (6.5.10.40). Their VB for Applications may be vbe6int.dll, as the screenshot of their test showed Chinese characters in the Access main window bars.
0
Simon BallCommented:
hmmm, if Ac2003 works on all platforms, and Ac2007 does not, its something about the dll's from one version of access to another then...
0
katie999Author Commented:
I just received word and a new twain.ds file from Plustek. They reopened the case and found the problem and it is now resolved. I believe they will now include the corrected file in their scanner driver downloads.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Simon BallCommented:
excellent!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.