EldoS | Feel safer!

Software components for data protection, secure storage and transfer

try to singed a doc file

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#17502
Posted: 09/14/2011 01:46:55
by shmulik bublil (Basic support level)
Joined: 09/14/2011
Posts: 1

hii to all
im try to singed a doc file but when i try to the operation is faill

im saving the file to the disk and the file is 100% ok

report.ExportToDis(selectesFormat, "C:\\Inetpub\\wwwroot\\Pdfs\\nt120.doc");
(from crystal report)

the next step is to singed the file
signDocuments("C:\\Inetpub\\wwwroot\\Pdfs\\nt120.doc");


private void signDocuments(string FileName)
{
try
{
//load the file
_OfficeDocument.Open(FileName, false); /// faile her
//Invalid document format
}
catch (Exception ex)
{
return;
}
finally
{
UpdateDocumentInfo();
}
}

the function work fine if i make new doc manuel
but when i export it to disck from the program the signature is not working
how can i fix it??
tnx shmulik!!
#17509
Posted: 09/14/2011 03:45:16
by Dmytro Bogatskyy (EldoS Corp.)

Some versions of Crystal Reports export to DOC format, but actually they produce reports in RTF format (Rich Text Format) and giving them the .DOC extension by default.
Could you please attach here or to helpdesk a sample document, so we could check this.
The RTF document format doesn't support signing and it is not supported by OfficeBlackbox components.

Reply

Statistics

Topic viewed 551 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!