This project has moved and is read-only. For the latest updates, please go here.

Stop on in eventregistration in Word2000

Apr 18, 2013 at 3:24 PM
Hi all,

we are forced still to support Word2000. Now our project stops on starting with Word2000. All other Words 2003-2010 are running well.
On examination i found out, that the stop is while registering a word event (new document).
No problem i thought, there was an example from netoffice, this i will try. But the example also stops on registering in Word 2000. After that i must kill the example (written in C# .net 2.0) and Word2000.

If i throw the testprogram into your toolbox, the compatibility parts reports all is fine for all word versions from 2000 to 2010.

Is there a problem with Word2000 ?

My partial Test-code: (the same as your example filled with logs. The last visible log is the "Log4"):
        // start word and turn off msg boxes
        Word.Application wordApplication = new Word.Application();
        wordApplication.DisplayAlerts = NetOffice.WordApi.Enums.WdAlertLevel.wdAlertsNone;

        we register some events. note: the event trigger was called from word, 
        means an other Thread
        wordApplication.NewDocumentEvent +=
        new NetOffice.WordApi.Application_NewDocumentEventHandler(
        wordApplication.DocumentBeforeCloseEvent +=
        new NetOffice.WordApi.Application_DocumentBeforeCloseEventHandler(
Apr 19, 2013 at 11:29 AM
which netoffice version you use? (latest source state?)

Apr 26, 2013 at 10:37 AM
Sorry about the late answer, i was not at office this week.

Yes, i use the latest version