Barcode Fonts, Components, ActiveX and .NET Windows Forms Controls, Java Servlets, 
DLLs and Barcode Scanners. IDAutomation.com, Inc., Computers Hardware, Software & Services, Tampa, FL   This site chose the Norton Secured Seal to promote trust online with consumers.    View your cart in the IDAutomation Store   


Run-Time ActiveX Error '-2147417848'

Problem:

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)':
Automation error
The object invoked has disconnected from its clients

Work-Around Solution(s):

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.

Option 4: Use the .NET Windows Forms Controls and/or .NET Barcode Image Generators instead.

Related Documents:
 ©Copyright 2017 IDAutomation.com, All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us

Training Videos on YouTube  Join us on Google Plus  Join us on LinkedIn  Follow us on Twitter  Like us on Facebook
Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses.