VC6.0 to open or add a workaround for a project file crash

Source: Internet
Author: User

When programming with Visual C + + 6.0 under the Win7 operating system, if you click "Open" or "add" in the menu, or press the shortcut key, the dialog box pops up and the program crashes and exits.

This problem occurs because of VC6.0 and other software conflicts, the Internet is generally considered to be a conflict with Office2007 or Office2010, some say that the Vosio conflict with office, but after the inspection found that uninstall Vosio the problem persists, others say it is necessary to reinstall the system or re-install the soft But none of these methods are feasible.


In fact, this is a Microsoft bug, Microsoft Official for this problem has given the official solution (the original address is http://support.microsoft.com/kb/241396/en-us). According to the official method, we will fix this bug with a special plugin. Here are the steps:


First of all to download the required plugins filetool.exe,microsoft Microsoft Official for Http://download.microsoft.com/download/vc60ent/s1/6.0/w9xnt4/en-us/filetool.exe. Download Get a self-extracting file of. exe, double click or right click to extract, get a folder containing Filetool project files, such as.

Locate the Filetool.dsw file (the file in the red box), double-click Open, enter Visual C + + 6.0, click the red exclamation mark in the shortcut menu bar to compile, if the dialog box to create the file, select "Yes",

Pop Up the Debug dialog box shown and click "Cancel" directly.

At this point, the compilation is complete, the Filetool folder is more files, open the Debug subfolder, find the FileTool.dll file, such as, copy and paste this file to C:\Program Files\Microsoft Visual Studio\common \msdev98\addins path, if you customize the path to the common folder when you install the software, find your custom path and put it in.

With the FileTool.dll file in place, open the VC6 software, click "Customize ..." (Customiz) in the Tools menu, locate the "add-ons and Macro Files" tab, tick the "file tool Developer Studio add-in ", (if it doesn't, you can manually find the Filetool.dll file you just got by clicking the browse button.) Then click "Close", such as.

At this point you will find a small floating toolbar with two blue buttons in it, like this, a "a" and an "O", A is a addin,o is the OpenFile command. Drag the floating toolbar to place it in the shortcut menu bar

Now you can use these two buttons instead of the previous open and add features, although a bit ugly, but also do not crash. But there is a problem to note that the original open and Add menu and shortcut keys are still there, if the delay of these buttons, the program will still crash, in order to prevent accidents, we also need to clear the previous open and add menus and shortcut keys, as follows:

1. First remove the menu command, first open the Tools menu, click on "Customize ..." (Customize), then click on the "File" menu, drag the "open" menu to release or right-click Delete, drag the Open button in the shortcut menu bar to release, or right-click Delete Except

2. Click the "Project" menu and drag "add to Project" to release or right-delete

3. Open the "tools" → "Customize" menu, find the "Commands" tab, in the Category column select Add-ins, you can see the right button has just added "add to Project" and "Open File" Two blue buttons, such as.

4. Click on the File menu, drag and drop the "open file" command in the location before the Open File command is displayed, for example,

5. Follow the same method of dragging the Add to Project command to the previous location, such as.

6. If it is a green version, you can skip this rage

If it's not the green version, then you'll delete the shortcut key.


6.1. Open the Tools menu, click on "Customize ..." (Customize) and select the "Keyboard" tab in the dialog box that pops up. Select File in the Category box, select FileOpen in the Command box, select Ctrl+o in the current key box, and then click the Remove button on the right to remove it.

6.2. Then select Project in the Category box, select Insertfilesintoproject in the Command box, and by default there is no shortcut key in the current key box on the right, and if so, delete it as described above. Select "Add-ins" in the "Categories" box, select "OpenFile" in the "Commands" box, click in the "Down Heart Shortcut" box, then press "Ctrl" + "O" on the keyboard, tap "Assign" on the right, and the new shortcut will appear in the "Current Key" box

You can also use this method if you want to assign other shortcut keys.
At this point, the problem has been solved.

VC6.0 to open or add a workaround for a project file crash

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.