Visual c ++ cannot open files or add files to projects

Source: Internet
Author: User

Disclaimer: the main solution and some content of the problem solved in this article are reposted from the blog. This article mainly addresses the problems that arise later. I am a newbie. Please do not make a brick. Thank you for your advice. The purpose of this article is to help the children's shoes who need to solve such problems!

 

The following solutions do not allow visual c ++ to open files or add files to projects:

 

The Open button on the VC toolbar or the file-> OPEN button cannot open the file or add a file to the project. The symptom is that there is no response or, more seriously, a prompt appears, or the VC will force close and so on. In fact, the solution has already been provided:

 

 

1. First to the following url: http://download.microsoft.com/download/vc60ent/s1/6.0/w9xnt4/en-us/filetool.exe

 

Download a filetool.exe file,

 

(1) double-click the file and click "Unzip" to copy the directory name under "unzop to folder ".

 

(2) open this Directory, which contains someProgramFile, find the DSW suffix, that is, the workspace, open with vc6

 

Compile, generate, and run files

 

There will be a debug folder under the directory just now. What we need is the filetool. dll file in it.

 

 

 

2. Okay. The first step is done, and the next step is to createArticleNow

 

(1) Find "tool" on the toolbar of vc6 and follow these steps: Tools> customization> additional items and macro files> browse

 

Next, select the filetool. dll file you just saw (remember to select DLL for the file type)

 

(2) An error occurs: "unable to register this add-ins because its dllregisterserver returns an error"(If this problem does not occur, ignore it)

 

 

First, open the command line prompt (using the Administrator identity), CD to the directory where filetool. dll is saved just now (please check your installation directory. Here is my example ):

 

Enter "regsvr32 filetool. dll" in the command line to register the DLL. Make sure that the specified path is correct.

 

Now, perform the following (1) Steps. Generally, you can do it here, but if not, for example:

 

 

This problem is the focus of this Article. My solution to this problem is: Put the filetool folder you just decompressed into the addins folder under the installation directory, note that the debug folder in the filetool folder contains the filetool we just obtained. DLL.

Then re-start the above 2. (2) re-register with the CMD command, and then load in step 2. (1. This should be successful. After you press "close", such a small toolbar appears:

 

This is our ultimate goal. The O button is used to replace the original Open button, and the button is used to add files to the project.

 

Haha, so that vc6 can be used again normally!

The following is a method for deleting useless open keys in the original menu (including the solution to the problem in this article). Since I have not tried it, I only provide one link:

Http://alexrenguoly.blog.163.com/blog/static/120505597201032114823571/

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.