Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / September 2007

Tip: Looking for answers? Try searching our database.

Toolbox to be Tabbed Page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joh - 24 Sep 2007 14:38 GMT
I've created a toolbox where I host a usercontrol. How to I set the
toolbox programmatically to be a Tabbed Page?

Dim programmableObject As Object
Dim guidstr As String = "{439bc5e4-6ec1-491f-adc9-fffe36776c2e}"
Dim windows2 As EnvDTE80.Windows2
Dim asm As System.Reflection.Assembly
asm = System.Reflection.Assembly.GetExecutingAssembly()
windows2 = CType(_applicationObject.Windows, EnvDTE80.Windows2)
           _windowToolWindow =
windows2.CreateToolWindow2(_addInInstance, asm.Location,
"Addin.ToolWindowControl1", "Visual Basic .NET Tool window", guidstr,
programmableObject)
           _windowToolWindow.Visible = True
Stevanich - 24 Sep 2007 15:29 GMT
Joh,

I think you mean Tool Window, not toolbox.  You might try asking this
question on the 'microsoft.public.vstudio.extensibility' forum.

Hope this helps,

Steve - dotneticated.com

> I've created a toolbox where I host a usercontrol. How to I set the
> toolbox programmatically to be a Tabbed Page?
[quoted text clipped - 10 lines]
> programmableObject)
>            _windowToolWindow.Visible = True

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.