The work machine is equipped with 64-bit Windows 7, which is connected to the company's accounting system. Due to a number of problems, SQL2000 cannot be installed, and vs2005 must upgrade the patch.
Finally, install the components office2007, vs2005
Failed to retrieve components whose CLSID is {} in the com class factory because the following error is displayed: 80040154
First, check whether the called COM is registered. If not, run cmd as an administrator to perform regsvr32 ****. DLL (.
Resvr32 the name of a reference control in. NET if the registration succeeds, the problem does not occur but if the control is registered successfully in a x64 bit system, the error is prompted because most third-party written COM controls only
This problem has plagued me for a long time, and it is useless to find a lot of information on the Internet,
Finally, find the solution:
Run dcomcnfg to open the component service
Expand "component service"> "computer"> "my computer"> "DCOM
SeeHttp://www.experts-exchange.com/Programming/Programming_Languages/Cplusplus/Q_20513227.html
Use ATL to add an "ATL simple object" called myobjectIn this case, I want to create a new myobject * PTR = new myobject ();)The following error occurs
Solution: add the ASP. NET permission to access the COM component service.
{MACHINE} \ ASPnet on IIS 5
IIS 6 and IIS 7 serve the network: NETWORK SERVICE
Application configured for IIS 7.5ProgramPool ID:IIS apppool \{Application pool}
Do a website, on their own computer without errors, but posted to the server, browsing one of the pages when the title of the wrong. Also find a lot on the internet, say what to add permissions to Word, the result is not. Later looked at the code,
This problem has plagued me for a long time, and it is useless to find a lot of information on the Internet,
Finally, find the solution:
Run dcomcnfg to open the component service,
Expand "component service"> "computer"> "my computer"> "DCOM
Solution 1:
Control Panel-> Administrative Tools-> component services-> Computer-> my computer-> DCOM configuration-> Microsoft Word documents
After
Click properties to open the Properties dialog box for this application .?
2. Click the ID tab
The answer for searching a post from the Internet is roughly the same: the user logging on to the website has no operationExcel. EXE permission
Run "input dcomcnfg.exe to start" component service ". You can also enter it from the management tool,
"
Solution:
On the server, run dcomcnfg to open the component service and expand "component service"> "computer"> "my computer"> "DCOM configuration"
Find the Microsoft Excel applicationProgram"Or" Microsoft Word application ",
Right-click the
This issue is mainly about permissions.
1: Install the Excel software for office on the server.2: Enter dcomcnfg.exe in "start"-> "run" to start "Component Service"3: Double-click "component service"> "computer"> "my computer"> "DCOM configuration"4
Cause: You are not authorized to call the Excel component.
1. Enter dcomcnfg.exe in "start"-> "run" to start "Component Service"
2. Double-click "component service"> "computer"> "my computer"> "DCOM configuration"
3. Find "Microsoft Excel
Section 6 Interface Conversion
C # not only supports the. NET platform, but also supports the com platform. To support COM and. net, C # contains a unique language feature called attribute. An attribute is actually a C # class.Source codeTo
Although. net assemblies are the best choice for new applications, you may at times need to employ COM objects instead. this walkthrough demonstrates two ways to create COM objects with Visual Basic. net: with and without the com class template.
The
1, create a new Word template by looking for a Word document that needs to be populated with a program, and saving it if you want to enter it with a bookmark (insert--> bookmark--> enter Id-->ok).2, modify the security add everyone readable on the
Found an article, very well, to solve the problem; Thank Yumbo Lord! Take a note.Address: http://www.cnblogs.com/zhongxinWang/p/3275154.htmlPublish a Web program on IIS that calls the server's COM componentIn general, there are many PDA points in
Address: http://blog.163.com/mad010@126/blog/static/12237155200841645952814/
[Document Introduction]
C # not only supports the. NET platform, but also supports the com platform. To support COM and. net, C # contains a
The loss of mysql storage in IE is so strange in the world. First of all, my database and page use UTF-8 encoding. the page code is as follows:
Header ("Content-type: text/html; charset = utf8 ");
$ Result = $ mysqli-> query ("select * from 'com _
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.