![]() The errors seem to be fairly random like the wrong methods are being called (I've set breakpoints in the code to verify this). system, however when I moved the template to a test system and opened existing documents using the template, it is now getting other errors. I change the code to not access the ActiveDocument in the Document_Open method and that seemed to fix the problem on my dev. ![]() My first question is, does anyone know why the ActiveDocument would be null (or not accessible)? My original though was that the document is being downloaded from a server and possibly the document has not been fully download when Document_Open is called. ![]() The Document_Open method attempts to access ActiveDocument and the user is getting an error "Command is not available because no document is open". I have determined that the ActiveDocument is not set for when Document_Open is called. Now when users attempt to open existing documents (created with the template) they are getting errors opening the document. This template used to run correctly when the systems had Office 2003 installed. I have a word template (developed with Offfice 2003) that is now running on systems that have Office 2007 installed.
0 Comments
Leave a Reply. |