in

Archived Data Techniques Forums

Weird Error

Last post 06-18-2009 11:07 AM by noctufaber. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-28-2009 4:31 PM

    Weird Error

    I'm getting this weird error message: HRESULT: 0X800A7EFD This error comes up occassionally when trying to convert TIF images to PNG images. Here's my code (in VB.NET): ImageManCtrl.Picture = tifFiles(fileNum) ' This is an array of file names. ImageManCtrl.IncreaseTo(8) ImageManAtts.Add("EXTENSION", "PNG", tagDataType.IMString) ImageManAtts.Add("PNG_COMPRESS", 9, tagDataType.IMInt8) ImageManAtts.Add("COLORTYPE", 2, tagDataType.IMInt8) ImageManCtrl.SaveAs(newFile, ImageManAtts) Any ideas?
    Filed under:
  • 05-29-2009 2:44 PM In reply to

    Re: Weird Error

    Hi,

    On what line of of code do you get the exception ?

    Does it always occur with the same image ?

    Sean
    Data Techniques Online Support
  • 06-18-2009 11:07 AM In reply to

    Re: Weird Error

    Sorry. I figured out the problem. The program was getting an invalid filename passed into it. So basically that long hex string means "file not found".
Page 1 of 1 (3 items)
Copyright 2009 Data Techniques, Inc. All Rights Reserved.