New User? Sign Up  |  Sign In  |  Help
Barcode support and
tutorials from IDAutomation
and the community.
Click for the BBB Business Review of this Computers Hardware, Software & Services in Tampa FL
Resolved Questions

Problem with older version of .NET Barcode Linear Forms Control dll, idautomation.linearbarcode.dll version 7.11.0.0 (2008), that don´t work as it should in Win7 Professional

Hello! I have a C#.NET application, a barcode label print application, that currently uses idautomation.linearbarcode.dll, version nr 7.11.0.0 (developer license purchased in 2008), to generate barcodes in a print document.

Initially, the application was developed on Win XP Pro. After upgrading to Win 7 Pro SP1, combined with Lexmark Universal v.2 print driver, barcode generation does not work anymore and ends up with a System.ArgumentNullException - error. The reason is that the MetaFile class object, which is used as a container for generated barcode pictures, fails to be correctly registered at runtime (globally declared as System.Drawing.Imaging.Metafile BarcodeImage).

I have of course tested a lot of other print drivers too, both Lexmark printer-specific ones and Microsoft corresponding drivers, but the same bad result remains.

So my question now is if some of IDAutomation:s newer versions of this barcode dll hopefully can solve my current print problem.

Sincerely!

Lars-Åke Åkesson, Umeå - Sweden

Operating System: Windows 7 Professional Service Pack 1

03-06-13     11.6 year(s) ago    

  Report Abuse

 

Ben

Best Answer

For information on the latest release of the IDAutomation .NET Forms Control visit the .NET Forms Control Release Log

Download the demo version of the latest Forms Control. If the issue is resolved, the latest version can be downloaded by purchasing the Priority Support & Upgrade Subscription.

Posted 11.6 year(s) ago

(0)
(0)
  Report Abuse
 
Find Interesting
 
Email to Others
 
Bookmark
 
Subscribe to Answer Alert
No comments yet.     Be the first to comment.
Other Answers (1)
Hello!
First, sorry for the late response with complementary info on this issue. Based on Ben:s rapid answer I downloaded the demo version and installed it in another test project with identical source code. A couple of tested approaches later I discovered that the latest dll version still remained not working.

To solve the problem I needed to do some source code changes, for example, to substitute the original container Metafile object with a corresponding Bitmap object (declared as System.Drawing.Bitmap BarcodeImage) that also resulted in the use of .BMPPicture as a subroutine return object instead of the former .Picture one. Attribute differences in the latest dll also led to some minor changes from former float to int data types for attributes like left and top margin, LeftMarginCM = 0, etc.

And finally after reasonable hours of work, success =D

Regards, Lars-Åke Åkesson

Posted 11.2 year(s) ago

(0)
(0)
   Report Abuse
Email this question link to friends
You must enter an email address, if name is entered or vice-versa for each friend.
Friend #1 -
Friend #2 -
Friend #3 -
Friend #4 -
Friend #5 -
  Your comment on this question
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allows to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must starts with "http://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always starts with " http:// ")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 Characters are allowed. Current Count: 0
  Your comment on this answer
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allow you to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must start with "http://" or "https://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always start with "http://" or "https://")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 characters are allowed. Current Count: 0

You may answer and comment on any thread according to the Terms and Conditions.

 © Copyright 2021 IDAutomation.com, Inc., 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