VC6.0 opens files and automatically exits the solution when adding files to the project

  • 2020-04-01 21:28:16
  • OfStack

Changed a computer, vc6.0 program, click to open the file and add files to the project, the program crashed automatically quit.
I do not know why, install the same vc program, this should appear. But this operation is oneself often use, so have to solve.

Unlike the last computer, which was xp, this one is Windows 7. This is the 2010 version of office. The last one was WPS. So, look up information on the Internet, to solve.

See a similar problem on the Internet, some say Windows 7 system, some say office2007 version, some say viso. In a word, I agree with all these statements. Windows 7 +office source code. So the online solution, turn over, for the convenience of everyone.
Because vc6.0 program, there are English version and Chinese version, the following solution is the English version, meaning is the English menu, if there are individual, I will analyze it.

You need to download the file FileTool, or you can download it if I've already uploaded it to the resource.
Below is the solution in baidu library, according to the following way, my problem has been solved.
1. Download FileTool. Exe and unzip it
2. Open VC6.0, click file-open Workspace, select the FileTool. DSW that has just been extracted, and ok
3. Click bulid-build filetol.dll to generate the filetol.dll file
4. Copy the generated filetol.dll to the appropriate location (to avoid deletion), and click tools-customize in VC6.0
5. In the "Customize" dialog box that appears, click the TAB add-ins and Macro Files
6. Click Browse to locate the generated DLL, click OK, and then click OK to save the Settings
7. At this point, a toolbar with only two ICONS will appear in VC, click the "X" button in the upper right corner to close it, then close VC6.0 and restart the program
8. Still in VC6.0, click tools-customize.
9. Click the Keboard TAB in the Customize dialog box.
10. Select File from the Category drop-down menu box.
11. In the Commands window, select FileOpen
12. Select CTRL+O entry in the Current keys window and click Remove (Chinese version: Current key on the right [U] -- select Ctrol+ O and click Remove)
13. Select Project from the Category drop-down menu box (Chinese version: Category -- Project)
14. In the Commands window, select InsertFilesIntoProject. If a shortcut is registered for it, follow the steps above to remove it.
15. Select add-ins from the Category drop-down menu box.
16. The Commands window AddFileToProject and OpenFile more should have two entries, you can Assign them a Shortcut, select OpenFile entry, and then click the Press New Shortcut Key input box, Press the want to set up Shortcut keys or Shortcut Key combination (e.g., open the file to the default Shortcut CTRL + O), click the Assign can be in the same way as other command to set Shortcut keys

But please note that : finally, you should make changes in the menu bar to remove the old Open command that is not available and replace it with a new one:
1. In VC6.0, click tools-customize
2. Click the File menu and drag the Open command from the popup menu to the popup menu and release. (note: do not drag to other menus.
3. Click the Project menu, and drag and drop the Add To Project command from the pop-up menu outside the pop-up menu and release (note: same as the previous step)
4. Select the Commands TAB in the Customize dialog box
5. Select add-ins from the Category list
6. Click on the File menu, will drag OpenFile (icon for the O) command to Open orders before location (note: if you are using the Chinese version, is still in the File menu to Open the letter, instead of the original Open, since the function can be realized, the other is not necessary to pursue, have quickly to work, will not affect work.)
Click the Project menu and drag the AddFileToProject command (the icon is letter A) To the location of the previous Add ToProjec command (note: roar as before).
If you also encounter similar problems, directly follow the above steps, absolutely no problem roar, but in the release of the original old menu, a little bit difficult to drag, but the above gave my advice, there should be no problem, if there is any problem, you can communicate with me in time, common progress ha.

Related articles: