When a reference to com is added to the project, InterOP is automatically generated. *. DLL, but the dll version is always 1.0. if you use InstallShield to create an installation package and modify the installation package, the DLL will not be updated because the version is always 1.0.
If you want to modify the version number, you can use tlbimp.exe to re-export a DLL without finding a convenient method. This tool can include the version number.
Tlbim
When Microsoft. Office. Interop. Excel is used, the 64-bit problem occurs.
Not long ago, I encountered a problem. In the past, Microsoft. Office. Interop. Excel was used to export the Excel file. After it was migrated to a 64-bit server, it was shown:
Failed to retrieve components whose CLSID is {00024500-0000-0000-C000-000000000046} in COM class factory
The following solutions are available for users on th
, we can also see a very eye-catching slogan:
Do InterOP the Wiki way!
All right, download a pinvoke. NET and install it. I won't bother with the details of this step. There are several reminders, pinvoke.. Net inserts Visual Studio as a plug-in. so, the premise is that you must have Visual Studio. #. net.
First, we will introduce this demonstration project, which is a consoleapplication project called pinvokelab. We will call
I have recently started DOTNET development for office. I am a little persistent about full encapsulation, because I can useCodeControl the performance in Word and Excel. If you use a host instance or an office script, it is not so casual.
When processing Excel, we found that the Office InterOP class provided by Microsoft was not very well-encapsulated and decided to encapsulate it by ourselves.Encapsulation options:1. encapsulate the main Excel class
Find azroles. dll in C:/Windows/system32If no XP/2003 is available, install the http://www.microsoft.com/downloads/details.aspx? Familyid = e487f885-f0c7-436a-a392-25793a25bad7 displaylang = en.Win2000 please install http://www.microsoft.com/downloads/details.aspx? Familyid = 7edde11f-bcea-4773-a292-84525f23baf7 displaylang = en.Run the vs2003/vs2005/vs2008 command line or the CMD command line to enter the. NET installation directory.Input:D: \ Program Files \ Microsoft Visual Studio 9.0 \ Vc>
"Could not load file or assembly ' Microsoft.Office.Interop.Word, version=11.0.0.0, Culture=neutral, publickeytoken= 71e9bce111e9429c ' or one of its dependencies.
It means "the system cannot find the file or assembly" Microsoft.Office.Interop.Word, version=11.0.0.0, Culture=neutral, publickeytoken= 71e9bce111e9429c ' or a part of it. "Method to add a reference:
2, cannot embed interop type "Microsoft.Office.Interop.Word.ApplicationClass". Use the
There are too many known and unknown problems in InterOP. The interaction between managedcode and unmanagedcode is not very good.
. Net2.0 update http://www.dotnetinterop.com/features/default.aspx for the InterOP part? Q = whidbey. In the future, we can look at the shortcomings from another perspective.
The syntax of InterOP is also very ugly. For example, th
There are too many problems known and unknown in Interop. Managedcode and UnmanagedCode interaction between the problem, Microsoft is not a good solution.
. NET2.0 Update Http://www.dotnetinterop.com/features/default.aspx?q=Whidbey for the interop section. The future of the update, in fact, another point of view is now inadequate.
The syntax for the interop s
IIS calls Microsoft. Office. InterOP. Word. Documents. Open and returns NULLControl Panel-> Administrative Tools-> component services-> Computer-> my computer-> DCOM configuration-> Microsoft Word documentsAfterClick properties to open the Properties dialog box for this application.2. Click the ID tab and select an interactive user.3. Click the "Security" tab, select "Custom" in the "Start and activate Permissions" and "Access Permissions" groups, and
Linux and Windows inter-pass files
User profile and password configuration files
User Group Management
User Management
2.27 Linux and Windows interop files want to enable Linux and Windows to pass files, you can use Xshell, but first you need to install a package in Linux, the command is as follows:[email protected] ~]# Yum install-y lrzszAfter the installation, you can use the command to upload Linux files to Windows, for example, I
On the afternoon of October 16, December 9, I will talk about the new InterOP feature in. Net 4.0 CTP: Type equivalency, also called no Pia.
If you are interested, you can register and listen to this webcast through the following link:
New feature series in. Net 4.0 (1): Type equivalency (level 200)
Speaker:Zhang Yu
Course introduction:Before. Net 4.0, in order to solve the type equivalence problem in different
Analyzer error message: failed to Load file or
Assembly Loading trace: The following information helps determine the assembly "Microsoft. Office. InterOP. Excel, version = 11.0.0.0,Culture = neutral, publickeytoken = 71e9bce111e9429c "cannot be loaded.
Warning assembly binding logging is disabled.To enable the Assembly Binding failure log, set the registry value to [HKLM/software/Microsoft/Fusion! Enablelog]
(DWORD) is set to 1.Note: There wil
This example illustrates
Interop invokes the wf3.x activity
system.activ Ities. Statements.interop
file
system.workflow.runtime.dll
inherit nativeactivity, ICustomTypeDescriptor is a sealed class Override the [CacheMetadata method] and [Cancel method] and [Execute method]
Override the type of the [Caninduceidle property] [Activitymetaproperties] property is [Idictionary [ The type
First, we recommend a book, "proficient in. NET interoperability," which is the most exhaustive book in Chinese literature.Do system integration project students should have dealings with equipment (such as video equipment: Hoi Hong, Dahua, etc.), in most cases these equipment manufacturers will give the system Integration Vendor Development Protocol (DLL class library, function definition header file, test program, call process), the DLLs of these protocols are mostly developed in C + +, So if
2.27linux and Windows Interop files: Use the command yum install-y lrzsz to install this toolLinux------(upload) Windows use commands: Sz needs to upload filesWindows---(upload) Linux use command: RZ3.1 User profile and password configuration filespasswd+ User: Modify the user's password/ETC/PASSWD and/etc/shadows are 2 of reusable files3.2 User Group Management/etc/shadow-//etc/passwd/etc/gshadow-/file behind the belt-, the system automatically for o
Tags: des Io OS AR for SP file on
Asp.net is commonly used to generate WORD functions, and code is also common on the Internet. It has been tested locally.There is no problem running under serves 2003, but an error occurs when it is published to 2008. The component permission has been configured, the temp permission under the Windows directory has been granted, the program directory permission has been granted, and the
An error occurred while saving the Word Document (word. documentclass.
090618 the problem is that excel is related to the high security settings of the collection, so you can modify the security.
Other people's solutions to similar problems --"
Post, original post address: http://blog.csdn.net/dezwen/archive/2007/11/03/1864769.aspx
Cocould not load file or assembly 'Microsoft. Office. Interop. Excel, Version = 11.0.0.0, Culture = neutral, PublicKeyToken = 71e9bce111e9429c' or one of its dependencies.
There are two reaso
ZangFailed to Load file or assembly "Microsoft. Office. Interop. Excel, Version = 11.0.0.0, Culture = neutral, PublicKeyToken = 71e9bce111e9429c" or one of its dependencies. The system cannot find the specified file.
Problem analysis: the installed Microsoft. Office. Interop. Excel version is incorrect.
Solution: Modify the Web. Config file.
(1) Find the Web. Config file in the installation directory.
(2) D
To practice C # Word documents today, first introduce the class library (Microsoft. office. interOP. but it cannot be referenced on my machine. The reason is that "Office 2003 Master InterOP" is not installed.ProgramSet ".
Installation Method (introduced on the Internet): run the office2003 installer, select "add or delete component", and select "Advanced custom application ", -> Expand application-specifi
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.