Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Mon, 08 Oct 2007 14:02:32 -0000,    group: microsoft.public.vstudio.extensibility        back       


Re: Need help: ToolWindowPane.Show() fails with E_UNEXPECTED   
Ok, after some code changes, I tried the following lines:

Window window = _dte2.Windows.Item(captionOfToolWindow);
window.Activate();
window.Visible = true;

but I still get an error: "Value does not fall within the expected
range." The funny thing is, that as long as the toolwindow was not
closed, the method works fine (the toolwindow is activated). How can I
avoid that the toolwindow is taken out of the Windows collection?!

Anyone?!
date: Mon, 08 Oct 2007 14:02:32 -0000   author:   markus

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us