Install VC ++ 6.0 in win7 and solve the compatibility problem between VC ++ 6.0 and office

Source: Internet
Author: User

The content is organized from the network:

The first is how to install VC ++ 6.0 in win7. Note the following three points:

1. when Visual C ++ 6.0 is installed or used, any dialog box indicating compatibility issues will be handled in the following way-tick "no longer display this message, then select "run program ".

2. when installing VC, select "Custom (custom installation)". Next, pay attention to it-do not select the OLE/COM Object Viewer tool in tools to install it smoothly, this is only a viewing tool and does not affect the compilation of VC ++.

3. In "tool -- option -- directory", add: (the specific location depends on where you install VC ++ 6.0. I installed it under D:/program files)

Executable file:

D: \ Program Files \ Microsoft Visual Studio \ common \ msdev98 \ bin
D: \ Program Files \ Microsoft Visual Studio \ vc98 \ bin
D: \ Program Files \ Microsoft Visual Studio \ common \ tools
D: \ Program Files \ Microsoft Visual Studio \ common \ tools \ winnt
C: \ windows \ system32 \ WBEM
C: \ windows \ system32

Include files:

D: \ Program Files \ Microsoft Visual Studio \ vc98 \ include
D: \ Program Files \ Microsoft Visual Studio \ vc98 \ MFC \ include
D: \ Program Files \ Microsoft Visual Studio \ vc98 \ ATL \ include

Library file:

D: \ Program Files \ Microsoft Visual Studio \ vc98 \ Lib
D: \ Program Files \ Microsoft Visual Studio \ vc98 \ MFC \ Lib

Resource file:

D: \ Program Files \ Microsoft Visual Studio \ vc98 \ MFC \ SRC
D: \ Program Files \ Microsoft Visual Studio \ vc98 \ MFC \ include
D: \ Program Files \ Microsoft Visual Studio \ vc98 \ ATL \ include
D: \ Program Files \ Microsoft Visual Studio \ vc98 \ CRT \ SRC

(This step is said to have been automatically completed after many people install it, so it is not necessary)

The second is to solve the conflict between VC ++ 6.0 and office:

This conflict occurs when Vc cannot open projects and files, but they can be created. Compilation and running are also normal. What should we do?

Of course, you can choose to replace office with 2003 or use a virtual machine, or use a later version of Microsoft compiler, such as vs2010. However, Microsoft has solved this problem:

Download the filetool.exe tool online and then:
1. Download filetool.exe and decompress it.
2. Open vc6.0, click File-open workspace, select filetool. DSW, and click OK.
3. Click bulid (build)-build filetool. DLL to generate the filetool. dll file.
4. In vc6.0, Click Tools-Customize (custom)
5. In the displayed "customize (custom)" dialog box, click the add-ins and macro files tab.
6. Click Browse, select DLL under the file type, locate the generated DLL file, click OK, and then click OK to save the settings (run VC as the administrator)
7. in this case, a toolbar with only two icons is displayed in VC. Click "X" in the upper right corner to close it, close vc6.0 and restart the program. A floating toolbar (a o) is displayed when you open vc6. Click a to add the file to the project. Click o to open the file.
8. Click Tools-customize in vc6.0)
9. Click the keboard tab in the Customize (custom) dialog box.
10. Select file from the drop-down menu of category)
11. In the commands window, select fileopen
12. In the current keys (current key) window, select Ctrl + O, and click Remove)
13. Select project from the drop-down menu of category)
14. In the commands (command) window, select insertfilesintoproject. If you have registered a shortcut key for it, follow the steps above to remove it. By default, it does not have a shortcut key.
15. Select add-ins from the drop-down menu of category.
16. in this case, the "addfiletoproject" and "openfile" entries should be added to the commands window. You can assign them shortcut keys, select the openfile entry, and click the press new shortcut cut key (press the new shortcut key) input box, press the shortcut key or shortcut key combination you want to set (for example, the default shortcut key Ctrl + O to open the file), click assign (assign), you can set the shortcut key for other commands in the same way, you should also make corresponding changes in the menu bar, remove old open commands that cannot be used, and replace them with new ones:
17. In vc6.0, Click Tools-Customize (custom) (and click toolbars or commands to continue)
18. click the File menu on the vc6.0 toolbar and drag the open command in the pop-up menu out of the pop-up menu (release when a difference sign appears, do not mistakenly drag it to other menus) and release it.
19. Click the "project" menu and drag the "add to project" command from the menu to release the project.
20. In the Customize (custom) dialog box, select the commands (command) label.
21. Select add-ins in the category list
22. click the File menu, and drag the openfile command (the icon is the letter O) to the location where the previous open command is located. click the project menu, and drag the addfiletoproject command (a) to the location where the add to projec command is located.

Note:
1. You can directly search for the. dll file.
2. After Step 8 is completed, you can actually move the "A" and "O" icons to the toolbar and click to use them. The subsequent steps are just to replace these two menus with the original location of VC ++ 6.0. If it is too troublesome, you can skip this step.

3. after a while, I found that although this can solve the problem of calling the project file, if you want to import other people's source files or resource files, VC ++ 6.0 will crash, therefore, it is best to use vs2010 of a later version!

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.