I'm building and Add In using VS2003 .NET
I've been using the file code model to programmatically insert code
into source files. So far, so good. However, some of the code I am
inserting requires me to import libraries. Thus, my question is
really two questions:
1. Is it possible to use the filecodemodel or something similar to
insert additional "using" clauses at the beginning of a program?
Note: I can already do this for a source file open in the active
window, however I wish to be able to do it so several files at once.
2. Is it possible to insert programmatically insert references into a
project? I would like to be able to access a custom DLL i have
written.
I hope someone can help me, as these problems are fairly fundamental
to my research work...
Thanks
Paul Tennent
University of Glasgow
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com