Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / February 2005

Tip: Looking for answers? Try searching our database.

MSXML crashes Word

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kaldvelski@yahoo.co.uk - 10 Feb 2005 09:59 GMT
I'm occasionally coming across instances where attempting to use the
MSXML SAX parser from Word VBA is causing Word to crash. It doesn't
appear to be specifically related to what it's trying to parse because
the majority of the time it works fine and there's no consistency to
when it will crash.

I find simply changing the version reference between MSXML3-5 tends to
solve the problem which would suggest to me the XML runtime somehow
becomes corrupted. It's  not long term either, I could switch back the
previously crashing version at a later date and it would work fine
again. I've occurs with versions of MSXML >=3 and I've seen this occur
on several machines.

Does anyone know under what conditions MSXML might throw a fit? Is it
really MSXML's problem or could Word's VB runtime be the real culprit?

For example, I've noticed that the XML I'm generating simply starts
with the top element and doesn't contain a <?xml version="1.0"
encoding="XX"?> declaraion or DOCTYPE. Would something like this
matter?

Thanks in advance

Craig
Word Heretic - 13 Feb 2005 06:05 GMT
G'day kaldvelski@yahoo.co.uk,

Just a wild guess: are you destroying your objects when you are
finished with them?

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice

kaldvelski@yahoo.co.uk reckoned:

>I'm occasionally coming across instances where attempting to use the
>MSXML SAX parser from Word VBA is causing Word to crash. It doesn't
[quoted text clipped - 20 lines]
>
>Craig

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.