Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Certificate breaks when file is saved

We're having troubles with a certificate getting broken when a workbook is
saved.

Dean's PC: Running Excel 2007 in compatibility mode, we sign the VBA
project with a VeriSign certificate, and save the workbook as a .XLS file.
As long as we're in 2007 compatibility mode on this or other PCs, the
certificate behaves very nicely. We can save the file, re-open it and the
certificate works perfectly. [:~}

Old PC: We open that very-same signed .XLS workbook in Excel 2003, and the
certificate is respected (this time). We run no macros and make no edits.
We save the file and then close Excel. We re-open that workbook (still in
Excel 2003) and the certificate is broken -- doesn't match the code and
macros are disabled! [:~{

We then try opening that same workbook in 2007 compatibility mode, and
indeed the certificate is broken.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Certificate breaks when file is saved

Was there a dealer warranty on that? <g

"Dean Meyer" wrote:

We're having troubles with a certificate getting broken when a workbook is
saved.

Dean's PC: Running Excel 2007 in compatibility mode, we sign the VBA
project with a VeriSign certificate, and save the workbook as a .XLS file.
As long as we're in 2007 compatibility mode on this or other PCs, the
certificate behaves very nicely. We can save the file, re-open it and the
certificate works perfectly. [:~}

Old PC: We open that very-same signed .XLS workbook in Excel 2003, and the
certificate is respected (this time). We run no macros and make no edits.
We save the file and then close Excel. We re-open that workbook (still in
Excel 2003) and the certificate is broken -- doesn't match the code and
macros are disabled! [:~{

We then try opening that same workbook in 2007 compatibility mode, and
indeed the certificate is broken.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Certificate breaks when file is saved


I would think it is to do with the different file formats, Have you
checked VeriSign's FAQs or emailed them?


--
royUK

Hope that helps.

RoyUK
------------------------------------------------------------------------
royUK's Profile: http://www.thecodecage.com/forumz/member.php?userid=15
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=26829

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Certificate breaks when file is saved

Unfortunately, VeriSign only supports the installation of certificates, not
applications-level problems like this one.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Certificate breaks when file is saved

I agree with royUK, saving the file as xl2003 format could be seen by the
digital cert as a change and that invalidates the cert. The companies that
sell the certs should be able to tell their consumers how the cert works with
respect to formats between versions,etc. What good is the cert if you can
only use it on the originating system?

"Dean Meyer" wrote:

Unfortunately, VeriSign only supports the installation of certificates, not
applications-level problems like this one.



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Certificate breaks when file is saved

At this point, here's what we think we've learned thanks to Michael Herzfeld,
Office Programmability Test Team:

* Adding/deleting worksheets within a workbook is construed as a change in
the project (since it adds/deletes objects) and breaks the certificate.

* Any change in ActiveX controls will break the certificate. We do dynamic
menues (changing menu item availability based on context) so that may also be
breaking the certificate. Not sure though.

* At this point we have no evidence either way that certtificates are not
portable between 2003 and 2007 compatibility mode.

It's not a VeriSign problem. Their certificate is behaving as it should.
The problem is the way Microsoft Office uses the certificate to protect far
more than just the code itself.

I don't see a work around.... Do you?

Thanks to all for pitching in.

--Dean
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trust Certificate/Digital Signature "Breaks" Upon Addition of Shee MSweetG222 Excel Programming 0 September 3rd 08 11:08 PM
Saved *.csv file gives SYLK file type warning upon Excel 2003 open Tom Excel Discussion (Misc queries) 5 March 19th 08 03:15 PM
Choose a digital certificate pops up when trying to save excel file from browser [email protected] Excel Discussion (Misc queries) 0 April 24th 07 03:16 PM
HELP Needed, Word mail merge breaks when saved as.. from an Excel Macro [email protected] Excel Programming 0 April 20th 06 01:51 PM
How to use digital certificate in xls file kvenku[_28_] Excel Programming 0 July 26th 04 01:32 PM


All times are GMT +1. The time now is 09:55 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"