Re: devstudio automation DTE2 interface from WSH JScript?



Fritz,

What issues are you running into trying to use the DTE2 interface?

It looks as though DTE2 simply extends the _DTE interface (see http://msdn.microsoft.com/en-us/library/envdte80.dte2(VS.80).aspx ). This suggests that you _should_ have access to the members added by DTE2 through the same object.

The MSDN docs on referencing DTE and DTE2 seem to imply the same thing. If you look on this page:

http://msdn.microsoft.com/en-us/library/68shb4dw(VS.80).aspx

The initial DTE2 reference is essentially the same as what you're doing now.



"FritzM" <FritzM@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:3E2CB66B-62D8-406E-A690-D7C74283E368@xxxxxxxxxxxxxxxx
Hi all:

I'm trying to write some WSH jscripts that interract with the DevStudio
automation model. I'm able to successfully connect and interract with the
DTE interface (new ActiveXObject("VisualStudio.DTE.8.0"), etc.) but haven't
found a way to get access to the newer DTE2 interface.

Any help would be greatly appreciated!

thanks much,
--FritzM.

.


Loading