writting to a pdf file which is open

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sunjutha
    New Member
    • Jul 2008
    • 1

    writting to a pdf file which is open

    hi friends,
    I need to overwrite a pdf file. if that file is open i need to close it and then overwrite and open it again.
    Can u pls tell me how this can be done in c#?
    Can it be done with the help of Process?

    Thanks in advance
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    You would have to find out what process has it open, and get that process to release the locks on the file.
    No idea how to do that. You would need to use Win32_API for that I think

    Comment

    Working...