When attempting to save an enhanced Windows metafile to disk in Windows XP with SP2, the SaveEnhWMF method in any IDAutomation ActiveX barcode control may cause the following error:
Run-time error '-214741848 (80010108)':
The object invoked has disconnected from its clients
Option 1: Download the latest version of the product. To obtain this, you may have to update your support subscription.
Option 2: Use the "SaveBarcode" method of the control instead.
Option 3: The issue is due in part to a difference in the way the metafile is being initialized. The pixel width/height of the metafile can be initialized before saving the image. To do this, call the SetPixelsXY function before calling SaveEnhWMF. For example, SetPixelsXY 250, 250, where 250 is the height and width in pixels of the image that will be saved.
| ©Copyright 2018
IDAutomation.com, All Rights Reserved.
Barcode Fonts | Components | Scanners | Support | Contact Us
Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses.