Article ID: 241396 - Last Review: August 9, 2004 - Revision: 3.3 FileTool.exe Replaces the Open and Add-to-Project Features in Visual C++
This article was previously published under Q241396 On This PageSUMMARY Launching the Open File dialog box in Visual C++ using the keyboard shortcut key or from
the File menu results in the following error: Access
Violation (0xC0000005) in DEVSHL.DLL at 0x5003eaed. DevShl.Dll referenced memory at 0x0000000. The memory could not be read. FileTool.exe is a sample that replaces the Open and Add to Project menu items in Visual C++ using the Developer Studio Object Model. The Developer Studio Object Model contains methods that both open files and add files to a project. The BuildProject object contains an AddFile method that adds files to a project. The Documents object contains an Open method that can open files into Developer Studio. These can be used in either a macro or Add-In. MORE INFORMATIONThe
following file is available for download from the Microsoft Download
Center: FileTool.exe
(http://download.microsoft.com/download/vc60ent/s1/6.0/w9xnt4/en-us/filetool.exe)
The self-extracting FileTool.exe file contains the following files: Collapse this table
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base: 119591
(http://support.microsoft.com/kb/119591/EN-US/
)
How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most
current virus-detection software that was available on the date that the file
was posted. The file is stored on security-enhanced servers that help to
prevent any unauthorized changes to the file.
Installing the Add-In
NOTE: Only the Open command works in Visual C++ 5.0. The AddFile method was added with the Visual Studio 6.0 release. Removing Shortcut KeysAfter you load the add-in, you can remove the shortcut keys for the menu items that stop Visual C++ and assign them to the two add-in commands by following the steps below:
REFERENCES See the following topics in the
MSDN
Library
(http://msdn.microsoft.com/library)
for Visual C++ 6.0 for documentation on Visual C++
Automation and associating shortcut keys in the Visual C++ IDE:
MSDN Library; Visual Studio Documentation; Visual C++ Documentation; Using Visual C++; Visual C++ User's Guide; Automating Tasks in Visual C++ MSDN Library; Visual Studio Documentation; Visual C++ Documentation; Using Visual C++; Visual C++ User's Guide; The Visual C++ Environment; Customizing Visual C++; How Do I... Topics: Customizing Visual C++; Customizing Keyboard Shortcuts MSDN Library; Visual Studio Documentation; Visual C++ Documentation; Using Visual C++; Visual C++ User's Guide; The Visual C++ Environment; Customizing Visual C++; How Do I... Topics: Customizing Visual C++; Customizing Toolbars and Menus | Other Resources Other Support Sites
CommunityArticle Translations
|





















Back to the top