Hello again,
I realize that I have messed up in my explanation and that it makes the
question silly.
The wizard *can* be invoked by VS as a "New XXX" wizard.
If I invoke the wizard myself through DTE.LaunchWizard, I can obviously pass
a ServiceProvider as a context param.
However, if VS calls the wizards, I cannot do this directly.
However, I think I have found the solution: I just need to chain two wizards
and have my wizard called with the appropriate context params.
--
Cyril
> Hello,
>
[quoted text clipped - 18 lines]
> --
> Cyril
Adam Friedman - 22 Jun 2004 02:49 GMT
FWIW, the DTE object can be cast to an IOleServiceProvider as well (works
for me using the definition from
Microsoft.VisualStudio.OLE.Interop.IServiceProvider).
> Hello again,
>
[quoted text clipped - 36 lines]
> > --
> > Cyril
Cyril Mathey - 23 Jun 2004 09:29 GMT
Hello Adam,
This is nice to know.
Thanks a lot.
--
Cyril
> FWIW, the DTE object can be cast to an IOleServiceProvider as well (works
> for me using the definition from
[quoted text clipped - 46 lines]
> > > --
> > > Cyril