Word VBA >> project/code unviewable (locked) after applying digital signature

by rbyte » Mon, 19 Jul 2004 21:15:47 GMT

posted earlier, still hoping for answer. please do not
reply unless you think you may have a solution :) thanks.

Using Win2K/MSO2K.

haven't encountered this problem in a long time, mostly
because (1) i thought maybe MS had fixed it and (2) being
aware of what caused it i had avoided triggering it. But
came back last week.

In the past, i found that when a digital signature was
applied to an MS Word project with macros that contained
compile errors, and the file/template was saved in that
state, then when it was reopened (or sometimes immediately
after the sig was applied) the project completely locked
up (and this problem was 100% reproducible, back in
2000/01 anyway). So I have steadfastly avoided adding a
dig sig until all errors were dealt with on a template
project, but at least once last year i remade the mistake
and found the project still accessible.

i screwed up this week and accidentally applied a dig sig
to my normal.dot instead of the template i was working on
and saved it...and immediately realized my potential
mistake and removed the signature and resaved it...but
found it had locked up anyway next time i opened Word. Any
way you try to access it, either through the VB Editor or
programmatically, it says "Project is Unviewable" as if
normal.dot was acting like an add-in template.

i am hoping someone can tell me there has been a solution
for this in the last 3 years, or at least a way to get the
code out of a locked project...no one had any fixes
before. i had been so busy i hadn't backed up my own stuff
since march (my bad but what can you do about maintenance
work when there's job work to be done?). many (many!)
painful hours of code writing is trapped in this damaged
file. I will be forever indebted to anyone who can tell me
how to retrieve the code, if nothing else, from a locked
up .dot file.

thank you!!!!!



Word VBA >> project/code unviewable (locked) after applying digital signature

by Word Heretic » Wed, 21 Jul 2004 21:45:07 GMT


G'day "rbyte" < XXXX@XXXXX.COM >,

I hear ya, and I know exactly where you are coming from. Not really is
the technical answer I'm afraid :-) AFAIK it has never been fixed,
leastwise I've never stopped suffering from it.

Its a 'recreate' job - export your modules and go from there.

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


rbyte reckoned:





Similar Threads

1. template project locked up/unviewable (digital signature related problem) - Word VBA

2. project locked--project is unviewable

I put a digital signature I had created myself on a 
mailmerge project that includes VBA code. Now I can't 
view or access the code: I get a "Project Locked" dialog 
box with the message "Project is unviewable."

I've gone through the steps to remove the digital 
signature, but that hasn't helped. A help page somewhere 
said something about needing a password, but as far as I 
know, I never set a password for the project. 

What do I have to do?

3. Project Locked - Project is Unviewable Word 2000 - Word VBA

4. Project Locked - Project is Unviewable

Word 2000
NT4

I just completed a set of macros that are stored in the This Document
module.  I wanted to add a minor feature today, but when I tried to open the
module, I got an error message saying:

    Project Locked:
    Project is Unviewable

I did not lock the project.  Fortunately, I have a backup of my code.
However, this is the second time this has happened with this same set of
macros, and while that may just be a coincidence, I'm wondering if there
could be anything that I've done in the project that might cause this
problem.  There are no forms in the project, but there is a reference to the
Microsoft Forms 2.0 Object Library.  Interestingly, I added the reference to
the Microsoft Forms 2.0 Object Library just yesterday, and now this problem
crops up.  Aside from This Document, there are no code modules in the
project.  The macros themselves are pretty straight forward macros for
selecting, copying, pasting, deleting, and printing blocks of text.  There
is an auto open macro that shows a custom toolbar, which is available only
in this particular document, and a close macro that hides the toolbar before
saving and closing the document.  The Paste macro saves the document after
each paste, and there is a data object for getting data from, and writing
data to, the clipboard.

Is there anything in all of that which may be causing this problem?

Thanks for any help you can offer.

--Tom


5. Project locked Project is unviewable - Word VBA

6. Digital Signature Glitch involving unviewable text

When I select Tools/Options/Digital Signature\Add, I get this cryptic warning:

"One or more fonts needed to read some text in this document are not 
installed on this computer. This might prevent you from reading some of the 
content. Do you want to proceed?"

What now? How do I find out the location(s) of 'unviewable' text that has 
been assigned to a mysterious missing font, so that I can correct the problem 
by reassigning that text to a different standard, installed font?


7. HELP!!!! VBA Project Locked - Project Unviewable - Excel

8. applying s/mime digital signature to email