Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to add reference to windows application in VSTO project?

Status
Not open for further replies.

vinidel

IS-IT--Management
Jan 23, 2004
78
US
Hi All,

I have a windows application in VB.NET and want to generate certain documents in word from this application. I am using VSTO in VS 2005, so I created a separate project but added to the same solution of my windows application.
I have a module class in windows application which carries various values that I need in my VSTO project.

How can I add or import a reference to this module class from my windows application in my VSTO application.

Thanks,
 
The second project needs to be a class library and the you can just add a reference to it by right clicking on your first project and clicking add reference and the clicking on the projects tab and selecting the project you need.

Christiaan Baes
Belgium

My Blog
"In a system where you can define a factor as part of a third factor, you need another layer to check the main layer in case the second layer is not the base unit." - jrbarnett
 
Is there a way I can include VSTO project/ files in my main windows application and do not need to create dll files.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top