problem with Removing Menubar and Toolbar from IDE at runtime

Hello,

I am Developing a tool.for that i created instance of VS IDE(see code ). The problem is i have to Remove the Menubar and toolbar from that IDE. I am not getting how to move forward. i am new to this programming.

can any one help me by giving u r suggestions and samples related to this.

objwin =CType(Microsoft.VisualBasic.Interaction.CreateObject("VisualStudio.DTE"), EnvDTE.DTE)

Dim tAs System.Type = System.Type.GetTypeFromProgID("VisualStudio.DTE",True)

Dim objAsObject = System.Activator.CreateInstance(t,True)

obj.ExecuteCommand("View.SolutionExplorer")

obj.MainWindow.Visible =True

[1318 byte] By [ryams] at [2008-2-2]

Software Development for Windows Vista

Site Classified