[dba-VB] VB.Net - minimizing regions in code

Mike & Doris Manning mikedorism at verizon.net
Tue Sep 6 13:35:50 CDT 2005


Did you add the reference to the Project itself or did you import it within
a class/module?  If the latter, it is local only to that class/module.  To
do the former, go to the Project menu and find Properties all the way at the
bottom.  Any references you add there are global to the entire project.  You
may still have to instantiate an object variable within the class/module.

Doris Manning
mikedorism at verizon.net

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby
Sent: Tuesday, September 06, 2005 2:21 PM
To: dba-vb at databaseadvisors.com
Subject: Re: [dba-VB] VB.Net - minimizing regions in code

Have you tried this?  I have tried it in VB.Net express and now also in MDE
2002 and it doesn't work in either one of them.  EnvDTE is not recognized,
and if I go add a reference to it it still complains that DTE.ActiveDocumen
needs an instance (is not static).

John W. Colby
www.ColbyConsulting.com 

Contribute your unused CPU cycles to a good cause:
http://folding.stanford.edu/





More information about the dba-VB mailing list