Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Easy Question about Related Documents

Posted on 1999-07-30
Medium Priority
Last Modified: 2010-04-30
How do I add a related Word document VB project.  Everytime I try and add a file to the Project, it is .DOC file, it gets added as a standard module to the project.  So how can I add this Word Document to the Project Group??
Question by:cavacasp
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 1528549
What do you mean adding .doc file to your project? if as a text than use RichTextBox to show your file in .rtf format.


Author Comment

ID: 1528550
It has nothing to do with the actual running of the project.  A have seen a lot of times if you download something from Microsoft or other places.  They have a readme file as part Project and from here you can just double click on the Readme and it will load in Notepad.  Well I wanted to do a similar thing with a Word Document.  But this document is not displayed when the program is running, what the document is, is the Program's Spec and Design Notes.

Expert Comment

ID: 1528551
You need to include it in your setup package, not the actual vb project.

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.


Expert Comment

ID: 1528552
BeedleGuis is right: when you make your distribution and installation package, you arive to an step where you can specify any additional file you have to include in the distribution list. There is where you have to put your .doc.
After target instalation, you can read or manipulate it the way you (or the final user) want.

Author Comment

ID: 1528553
No that is still not what I am looking for.  It is not to be distributed with the final EXE.  This is a programer's reference about the project for example the classes and all there properties and methods, etc.  

Microsoft's distribution of sample project usually have a readme in the Visual Basic Project that tells you the programmer and information, such as setup or installation or any changes thay may be required to use the sample.

Accepted Solution

Jeremy_D earned 40 total points
ID: 1528554
1. From the "Project" menu, choose "Add File... (Ctrl+D)"
2. Check the checkbox "Add as related document" in the lower left corner of the dialog box.
3. Select the document you want added and open it.

It's a kind of magic...



Author Comment

ID: 1528555
You know I've been working with VB for 6 years now always with the newest version, but someone that little checkbox always slipped my attention.  Funny how things work isn't it.

Expert Comment

ID: 1528556
It took me some months to find out too, and still, it often happens to me that I choose "Add File...", forget to check the box, and get pissed off because it's added as a module. There should simply be an "Add as related document" option in the context menu from the project explorer (hope someone at Micro$oft reads this ;-).


Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question