-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: LovedJohnySmith
Message 5 in Discussion

Prashanth:           It is correct, first you need to reference the 
"interop.OWC.dll" from ur source path instead of "OWC", I mean if you add 
reference of Office Web Components, it will create PIA as well as OWC for OWC 
using AxImp at invoke time. So what i suggest you to refer PIAssembly(Interop 
assembly) rather than original one which created by NET runtime engine.      In 
target machine at customer place, You must register all acquired primary 
interop assemblies on your development computer before you can reference them 
with Microsoft Visual Studio NET. It looks for and uses a primary interop 
assembly the first time that you reference a type from a COM type library. If 
it cannot locate the primary interop assembly associated with the type library, 
it prompts you to acquire it or offers to create an interop assembly instead. 
Likewise, the Type Library Importer (Tlbimp.exe) also uses the registry to 
locate primary interop assembles. 
To register a primary interop assembly  
At the command prompt, type: 
regasm assemblyname  
In this command, assemblyname is the file name of the assembly that is 
registered.  
The following example registers the CompanyA.UtilLib.dll primary interop 
assembly. 
regasm CompanyA.UtilLib.dll
Regasm.exe adds an entry for the primary interop assembly under the same 
registry key as the original type library. For more information on 
Redistributing Interop Assemblies, please see the following URL. 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconredistributingprimaryinteropassemblies.asp
   Thanx, Smith

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to