Re: Problem protecting document from vb (office 2007 sp2)



Would it help if I reported this bug somewhere at the microsoft site?
If yes, where would I do that?

I subscribed to kbalertz, hope to see the hotfix soon...

Thank you for the information.

p_sie

"Jay Freedman" wrote:

Fortunately, you can uninstall SP2 where it has already been installed -- this
is the first Office SP package that's able to do that.

I can't say now whether there will be a fix, soon or ever (I'm not a Microsoft
employee, and even they may not know yet). If and when there is one, though, it
will most likely be offered as a "hotfix". A KnowledgeBase article will be
posted that explains how to get the hotfix package; usually you have to contact
Product Support and specifically request access to the download location. You
can subscribe to http://kbalertz.com and sign up for just the Word articles to
keep watch for the one you want.

On Sat, 16 May 2009 03:16:02 -0700, p_sie <psie@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:

saving the documents as .doc documents will require me to update the entire
program, not a real option to me.

Not installing SP2 is the best option for me now, do you think that there will
be a fix soon? And how can I obtain the fix if it exists?

Thank you.

p_sie


"Jay Freedman" wrote:

A similar SP2 bug was reported in the thread "Password error from Word 2003
to Word 2007" that was started three days ago by Lorenz Hölscher. The MVPs
have confirmed it's a bug and reported it to Microsoft.

It appears the only workaround for now may be to save the document in Word
97-2003 (*.doc) format.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

p_sie wrote:
Hello,

I have the following problem:
I developed a program, that saves Word documents formfield-protected
on the disk, but since installing sp2 of office 2007, I can no longer
unprotect documents that are protected while using sp2.

Steps to reproduce this:
open a vb program and paste the following code to be executed:

Dim oApp As New Word.Application

oApp.Documents.Add
oApp.Selection.TypeText "hallo"

oApp.ActiveDocument.Protect wdAllowOnlyFormFields, False, "a",
False, True

oApp.ActiveDocument.SaveAs "c:\a.docx"

oApp.Quit

Then close your program and then open it in Word, then try to
unprotect it, it will
allways say : invalid password.

Does anyone have a tip/suggestion how to overcome this bug?

Thank you




.