Hi
On opening some word document's I get the following error.

Microsoft Visual Basic (Box Title)
An error occurred while opening "Thisdocument'. Do you
want to continue loading the project?

Press yes. It try's to recover, and displays a blank
document. Press no, it displays the document but you
can't save.

Re: VB Error when I open word doc's by Cindy

Cindy
Wed Jan 07 05:12:40 CST 2004

Hi Jason,

And when you try to open such a document directly in Word
(not using code, but manually) do you get a dialog box of
any kind? What is it about? Which version of Word is
involved?

My first guess would be that such documents contain
VBA-elements and the macro security is triggering...

> On opening some word document's I get the following error.
>
> Microsoft Visual Basic (Box Title)
> An error occurred while opening "Thisdocument'. Do you
> want to continue loading the project?
>
> Press yes. It try's to recover, and displays a blank
> document. Press no, it displays the document but you
> can't save.
>

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep
30 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:-)


Re: VB Error when I open word doc's by Jason

Jason
Wed Jan 07 15:23:35 CST 2004

Hi Cindy
Thanks for helpinging out.
Im using version 10.2627.2625 (Word 2002 (Office XP) with
out service packs) I also have a test machine with
service pack 1 and 2 installed. But it still happens on
that machine.
Strange Thing.
From my home computer via a VPN session i can open all
files no prob's. From the office, it seem's like only
files created before we upgraded to Office Xp are having
the problem. You can cut and paste the whole document in
to a NEW document and then rename it as the original and
it works fine, it's just the old original document, and
because you can't simply resave from the original it
really boring.
PS. There are litterally thousands of these documents on
the network.
Please help...

>-----Original Message-----
>Hi Jason,
>
>And when you try to open such a document directly in
Word
>(not using code, but manually) do you get a dialog box
of
>any kind? What is it about? Which version of Word is
>involved?
>
>My first guess would be that such documents contain
>VBA-elements and the macro security is triggering...
>
>> On opening some word document's I get the following
error.
>>
>> Microsoft Visual Basic (Box Title)
>> An error occurred while opening "Thisdocument'. Do you
>> want to continue loading the project?
>>
>> Press yes. It try's to recover, and displays a blank
>> document. Press no, it displays the document but you
>> can't save.
>>
>
>Cindy Meister
>INTER-Solutions, Switzerland
>http://homepage.swissonline.ch/cindymeister (last update
Sep
>30 2003)
>http://www.mvps.org/word
>
>This reply is posted in the Newsgroup; please post any
>follow question or reply in the newsgroup and not by e-
mail
>:-)
>
>.
>

Re: VB Error when I open word doc's by Cindy

Cindy
Thu Jan 08 04:49:33 CST 2004

Hi Jason,

Sounds like some kind of file damage, then. You haven't
described what happens when you try to open such documents
"by hand" rather than using automation? Something that
corresponds to what's generating the error in VB?

Assuming the home computer is the same software version, you
might try renaming the Normal.dot on the office machine. If
the Normal.dot is damaged that might be interfering with
opening slightly "off" documents.

> Im using version 10.2627.2625 (Word 2002 (Office XP) with
> out service packs) I also have a test machine with
> service pack 1 and 2 installed. But it still happens on
> that machine.
> Strange Thing.
> From my home computer via a VPN session i can open all
> files no prob's. From the office, it seem's like only
> files created before we upgraded to Office Xp are having
> the problem. You can cut and paste the whole document in
> to a NEW document and then rename it as the original and
> it works fine, it's just the old original document, and
> because you can't simply resave from the original it
> really boring.
> PS. There are litterally thousands of these documents on
> the network.
>

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep
30 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:-)


Re: VB Error when I open word doc's by anonymous

anonymous
Mon Jan 12 23:41:35 CST 2004

Hi
Changed normal.dot
tried to open it from inside word still no work.
>-----Original Message-----
>Hi Jason,
>
>Sounds like some kind of file damage, then. You haven't
>described what happens when you try to open such
documents
>"by hand" rather than using automation? Something that
>corresponds to what's generating the error in VB?
>
>Assuming the home computer is the same software version,
you
>might try renaming the Normal.dot on the office machine.
If
>the Normal.dot is damaged that might be interfering with
>opening slightly "off" documents.
>
>> Im using version 10.2627.2625 (Word 2002 (Office XP)
with
>> out service packs) I also have a test machine with
>> service pack 1 and 2 installed. But it still happens
on
>> that machine.
>> Strange Thing.
>> From my home computer via a VPN session i can open all
>> files no prob's. From the office, it seem's like only
>> files created before we upgraded to Office Xp are
having
>> the problem. You can cut and paste the whole document
in
>> to a NEW document and then rename it as the original
and
>> it works fine, it's just the old original document,
and
>> because you can't simply resave from the original it
>> really boring.
>> PS. There are litterally thousands of these documents
on
>> the network.
>>
>
>Cindy Meister
>INTER-Solutions, Switzerland
>http://homepage.swissonline.ch/cindymeister (last update
Sep
>30 2003)
>http://www.mvps.org/word
>
>This reply is posted in the Newsgroup; please post any
>follow question or reply in the newsgroup and not by e-
mail
>:-)
>
>.
>