Is there any way that I could dock a VS toolwindow, or code editor, etc, to a UserControl derived class in Visual studio I want to open an HTML file in a window using EnvDTE._DTE.ItemOperations.OpenFile, but I don't want users to be able to dock it just anywhere, I want to open it up and display it within the client area of my user control.

Docking toolwindows to user control
Michael Wheeler
It is not possible to host the Visual Studio HTML editor like an ActiveX control.
kaushik saha
What you are describing sounds more like 'hosting' then 'docking'. Visual Studio Tool Windows can be toggled between floating and dockable, and when dockable, they can be docked at any Visual Studio docking point. This ensures that the user can always customize the layout as they please. A user control is not a Visual Studio docking point.
For what you are trying to do, I would suggest hosting IE in your user control.
Jamie Plenderleith
Thanks,
Nick