Click here to Skip to main content
14,209,923 members
Click here to Skip to main content
Posted 20 Dec 2003


39 bookmarked

Customized Visual Studio .NET package: your fully integrated document window inside the IDE

Rate this:
4.72 (20 votes)
Please Sign up or sign in to vote.
4.72 (20 votes)
20 Dec 2003        
Create a fully integrated document window inside the Visual Studio IDE.
1. Solution files are provided for VS .NET & .NET 2003. 
	Solution files for Visual studio .NET 2003 have ".2003" extensions.
2. The source code can be built with two optional preprocessor derectives:
	_BASIC_WINDOW_ - eliminates all Document/View logic and enables for simplified functionality.
	_NO_TRACE_ - eliminates all diagnostic messages.


customized bined.dll supplied in .\debug directory

1. Find original bined.dll (it is usually found in Visual Studio root directory under "\Vc7\vcpackages")
 and rename it "orig-bined.dll". Also, it is a good idea to back up a copy of original "bined.dll"
 in some other safe place before you start doing anything.
2. Copy a custom package DLL into the aforementioned directory and name it "bined.dll".
 According to the settings in my workspace, the resultant file will be copied into
 "C:\Program Files\Microsoft VisualStudio .Net\Vc7\Vcpackages" on the "post build event",
 so probably you will need to change it to reflect your machine's settings.
3. To associate a file extension with bined.dll you will need to change the system registry.
 Under the following key: 
 (for Visual 2002)
 (for Visual 2003)
 add a DWORD value set to 0x32. The name of the value is the same as a file extension that you are going to use.
 For example: value name = xyz, type = DWORD, Data = 0x32. Now the custom package will be loaded into the IDE
 if a file having extension "xyz" is dragged into the Visual Studio IDE or opened through the standard "Open file" dialog.
Note 1: this does not associate your files with Visual Studio when using Windows Explorer! 
Note 2: my custom package is using only a ".bine" extension and the use is hard-coded.
 To change this you will need to modify a little the implementation of
 CVsEditorFactory::CreateEditorInstance method.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Michael Sheinin
Web Developer
United States United States
For the last 7 years I have developed software in real-time/embedded and MS-Windows environments for military and civil markets. I hold B.Sc. degree in computer engineering. Living in Ontario, Canada, I like hiking and traveling in general. Currently, I'm looking for employment opportunity inside the GTA.

Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web05 | 2.8.190617.3 | Last Updated 21 Dec 2003
Article Copyright 2003 by Michael Sheinin
Everything else Copyright © CodeProject, 1999-2019
Layout: fixed | fluid