File.Copy fails

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?VmlqYXkgR2FuZXNo?=

    File.Copy fails

    We are using a logo by calling Image.FromFile( ).

    Based on that we are opening a report (using a 3rd party Report generation
    tool) and without closing the report, We are trying to change the logo by
    calling File.Copy, at that time application fails to copy and throws
    exception. The report is somehow locking locking the logo file, and that's
    why the copy into the logo file fails. But how do we disassociate the logo
    file from the created report?

    Could you please let me know about this issue?


    Thanks,
    Vijay

Working...