Click here to Skip to main content
15,913,570 members

Comments by Member 11949463 (Top 8 by date)

Member 11949463 26-May-16 2:11am View    
Yes, I'm closing and Flushing stream after creating PDF. I've used File.OpenRead(path) and FileShare.ReadWrite attribute to FileStream() constructor but it doesn't work for me.
Member 11949463 25-May-16 3:34am View    
yes,I've an HTML content template, I replace my content in that template and then my content into bytearray then memorystream and feed my stream to pdf4ml object.
Member 11949463 25-May-16 3:23am View    
I've tried to call Close and Dispose method with my pd4ml object but there is no methods like this in pd4ml class.
Member 11949463 25-May-16 3:14am View    
I've got the reason for the error. When I render the file using pd4ml.Render and create it it is opened somewhere in system. So when I tried to open it through File.open it gives error. So I've a doubt that when I create a file it is created with a lock or not? If no lock is there then I can open it using FileShare.ReadWrite argument in File.Open if I'm not wrong.
Member 11949463 24-May-16 3:27am View    
yes, I'm pressing button once again to generate PDF.