| vb.net interface with word |
I wrote a .Net 2008 program to write to bookmarks in Word (Office 2003) version word 11.0 all my testing worked fine but when I move code to the client area for testing I ran into a problem.
1st the machine was set up with office 2007 and the program threw an error. I had the user open the document I supplied in word 2007 and save the new document. The program appeared to happy and generated the documents and continued on updating the database. The documents were stuck in the print spooling a window saying please wait, with an option to cancel. I had the user display the printers from control pannel where it showed all 4 documents the first job showing status as "spooling/printing". I had the user click restart from this pannel with no help. The window never disappeared, eventually I have the user click on cancel and the documents (4 total) were packed out of the print spool. On anoterh try i had the user exit the program and the spooler window remained so it does not appear to be a garabage collection issue.
I do not have 2007 install on my machine so I am unable to test with Office 2007.
Any ideas on how of to release to spooling task?
2nd the user found a machine with office 2003 and had her run the program for that machine. On the machine I get this error.
could not load file or assemblly "Microsoft.Office.Interop.Word Version=126.96.36.199 ....." The main windows from displayed which was developed using Framework 3.0. The Word interface module was writen using Framework 2.0.50727
Is this a framework compatibility problem or the way Office was installed?
Started By robertsofconcord on Dec 5, 2008 at 4:13:36 PM