Missing Strong name in Word Assembly???

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Oliver Lange via .NET 247 (anonymous_at_dotnet247.com)
Date: 08/28/04

  • Next message: Chunduri prasad via .NET 247: "In DotNet Component using Tranaction state ReadUncommited for long time SQl server process slow"
    Date: Sat, 28 Aug 2004 05:42:43 -0700
    
    

    Hi all,

    i am new on c# and have some small problems

    Perhaps, someone of you can give me a hint solving it:

    I built a WinForm with different Buttons
    One of these Buttons shall open Word.
    One of these Buttons shall send an e-mail
    and so on

    the mail works fine
    but when i type in this code for the word button

                            Word.Application app;
                            app = new Word.Application();

                            //Word.Application app = new Word.ApplicationClass();
                            object template=System.Reflection.Missing.Value;
                            object newTemplate=System.Reflection.Missing.Value;
                            object documentType=System.Reflection.Missing.Value;
                            object visible=true;
                            Word.Document oDoc = new Word.DocumentClass();

                            oDoc = app.Documents.Add( ref template,
                                       ref newTemplate,
                                       ref documentType,
                                       ref visible);

    My compiler messaged - That the used Interop.Word Assembly doesn't have a strong name

    What does it mean - how can i assign a strong name to this assembly?

    Hope for help

    --------------------------------
    may the force be with you
    From: Oliver Lange

    -----------------------
    Posted by a user from .NET 247 (http://www.dotnet247.com/)

    <Id>NB7KRke0Z0ajjmmbSwK02Q==</Id>


  • Next message: Chunduri prasad via .NET 247: "In DotNet Component using Tranaction state ReadUncommited for long time SQl server process slow"
  • Quantcast