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

Source: Internet
Author: User



Many students of learning programming encounter this problem, in the Windows operating system using Visual C + + 6.0 programming, if you click on the menu "open" or "add", or press the shortcut key, will pop up the dialog box, the program crashes and exits the situation.
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 people say that the Vosio conflict with office, but after the inspection found that uninstall Vosio the problem persists, others say it is necessary It is not possible to reinstall the system or re-install the software.
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, and after entering Visual C + + 6.0, click the red exclamation mark in the shortcut menu barTo compile, pop up the dialog box for creating the file as shown, 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\co Mmon\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 and click "Customize ..." In the Tools menu (Customize), as
Locate the "add-ons and Macro Files" tab, tick the "file Tool Developer Studio add-in" in which you can click the Browse button to manually find the Add-ins Get the Filetool.dll file. Then click "Close", such as.


at this point you will find a small floating toolbar with two blue buttons on the interface like this, a "a" and an "O", A is Addin,o is the OpenFile command. Drag the floating toolbar to place it on the shortcut menu bar, as in.
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:
First remove the menu command, first open the Tools menu, click "Customize ..." (Customize), then click on the "File" menu, drag the "open" menu to release or right-click Delete, for example,

Drag the Open button in the shortcut menu bar to release it, or right-click to delete it, for example,

Click the Project menu, drag add to project to release or right-delete, such as.
open "Tools" → "Customize" menu, find "Command" tab, select Add-ins in the Category column, you can see the right button has just added "add to Project" and "Open File" Two blue buttons, such as.
Click the File menu and drag and drop the Open File command to the location where you previously displayed the open File command, for example,
follow the same method of dragging the Add to Project command to the previous location, such as.
Next you will delete the shortcut keys.
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, such as.
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. In the Category box, select Add-ins, select OpenFile in the Commands box, click in the "Ann Shortcut" box, and thenPress "Ctrl" + "O" on the keyboard, click "Assign" on the right, and the new shortcut will appear in the "Current Key" box, for example.

You can also use this method if you want to assign other shortcut keys.
At this point, the problem has been solved.
If you have any other questions, you can leave a comment in the comments, Bo master the fish in the river is willing to discuss learning with you.
This article is for the fish in the river, if you want to reprint, please indicate the source.

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.