Peter,
Thanks for the quick response. My project is not currently referring to the
GAC. It points to the local 'project' version of the
Microsoft.Office.Interop.Word .dll.
However, after I made the changes to the application mentioned in my last
post, my application seems to running working again. We've been having a
very difficult time moving from Net 2002 to Net 2003 and this issue seemed
to be just another artifact of the migration.
By the way, why should it matter whether the GAC or the local version of the
Microsoft.Office.Interop.Word .dll is used ?? I thought that not having to
use a central repository like the GAC was one of the strengths of the .Net
paradigm ??
As a result I have not focused on use of the GAC up to this point, so I'll
need to research how make sure Microsoft.Office.Interop.Word is added to the
GAC and how to redirect the project to point to the GAC.
Again thanks for the advice, it is very much appreciated.
Barry
in Oregon
[quoted text, click to view] "Peter Huang" <v-phuang@online.microsoft.com> wrote in message
news:bCDbLfd8DHA.1988@cpmsftngxa07.phx.gbl...
> Hi Oregon,
>
> Based on my experience, the problem is somewhat strange.
> To isolate the problem, I hope you may need check if you has referenced
the
> assembly in the GAC not the interop assembly that IDE produce for you.
>
> In the references in the solution explorer, right click on the Word and
> click Properties.
> In the Properties page, the Path is where the assembly you are using now.
> If you are using the PIA, the path should point to the
> C:\WINDOWS\assembly\GAC\Microsoft.Office.Interop.Word, while not the
> current Project's bin directory.
>
> >B.T.W. I thought "Microsoft Word 10.0 Object Library version 8.2" >>
> were
> ><< the Office XP PIA's.
>
> the "Microsoft Word 10.0 Object Library version 8.2" is the olb file, if
> you have installed the PIA, .NET will point to the GAC automatically,
> otherwise it will produce one for you which is not the PIA.
>
> To register the PIA, you may try to download the office XP PIA, Yin-Shen
> refer to in his last post and run the exe file, it will exact all the file
> into a directory. Navigate to the directory and run the register.bat which
> will do the stuff for you.
>
> After you done that, try to check if the Word in the references 's path
has
> been pointed to the GAC.
>
> You may have a try and let me know the result.
>
>
> Best regards,
>
> Peter Huang
> Microsoft Online Partner Support
>
> Get Secure! -
www.microsoft.com/security > This posting is provided "AS IS" with no warranties, and confers no
rights.
>