There's a slightly hidden feature in the VB6 IDE that allows you to attach "Related Documents" to your project. Until now, the only way to do it was to edit your VBP file with Notepad, and then add a line something like the following:
You can just "attach" any file you like to your project with this method.
I've gotten to where I use this feature quite a bit for project documentation. In my case, I tend to use RTF files so they'll open with WordPad. You can just double-click them right in the VB6 Project Window and they'll open, which is particularly nice.
The only downside was that you had to edit the VBP file to include these "Related Documents". This Add-In solves this problem. It adds an option onto your Project Window's context menu:
![Name: AddRelated.png
Views: 63
Size: 12.9 KB]()
It calls up a file explorer (starting in App.Path), and lets you attach any file you like to your project.
![Name: AddRelated2.png
Views: 60
Size: 9.0 KB]()
Again, once they're in your project, just double-click them to open them with their default program.
Add-In attached. Just compile to your Add-In folder.
Enjoy.
Code:
RelatedDoc=RandomNotes.rtf
I've gotten to where I use this feature quite a bit for project documentation. In my case, I tend to use RTF files so they'll open with WordPad. You can just double-click them right in the VB6 Project Window and they'll open, which is particularly nice.
The only downside was that you had to edit the VBP file to include these "Related Documents". This Add-In solves this problem. It adds an option onto your Project Window's context menu:
It calls up a file explorer (starting in App.Path), and lets you attach any file you like to your project.
Again, once they're in your project, just double-click them to open them with their default program.
Add-In attached. Just compile to your Add-In folder.
Enjoy.