Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6751931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:59:08+00:00 2026-05-26T12:59:08+00:00

I am showing a Visual Studio toolwindow in this way. It worked some time

  • 0

I am showing a Visual Studio toolwindow in this way. It worked some time ago, but now it doesn’t work anymore.

    Dim vsUIShell As IVsUIShell = DirectCast(Package.GetGlobalService(GetType(SVsUIShell)), IVsUIShell)
    Dim frame As IVsWindowFrame
    Dim guidToolWindow2 As Guid = GetType(ViewIssueDetailsWindow).GUID
    vsUIShell.FindToolWindow(CUInt(__VSFINDTOOLWIN.FTW_fForceCreate), guidToolWindow2, frame)
    frame.SetProperty(CInt(__VSFPROPID.VSFPROPID_FrameMode), VSFRAMEMODE.VSFM_MdiChild)
    frame.Show()

It’s giving me a null reference exception, saying that “frame” is not set to an instance of an object. So something obviously goes wrong with the FindToolWindow function or the GUID.

I don’t know much about GUIDs. All I know is that all this worked a few days ago.

Here’s my tool window defined:

<Guid("cb7fcd51-f6ba-498b-87fc-693b79cf7c92")> _
Public Class ViewIssueDetailsWindow
    Inherits ToolWindowPane
    Public Sub New()
        MyBase.New(Nothing)
        ' Set the window title reading it from the resources.
        Me.Caption = "Issue tracker"
        Me.Content = New IssueDetailsControl()
    End Sub
End Class

The GUID of my main window was “cb7fcd51-f6ba-498b-87fc-693b79cf7c91”, so to make the GUID for this one, I specified “cb7fcd51-f6ba-498b-87fc-693b79cf7c92” (a 2 instead of a 1 at the end). Was that incorrect?

It worked for a while.

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T12:59:09+00:00Added an answer on May 26, 2026 at 12:59 pm

    I got this resolved by reinstalling Visual Studio, and the Visual Studio SDK as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been running Visual Studio 2008 Team Edition for some time now and
The visual studio std::vector visualizer in the VS2008 autoexp.dat file doesn't seem to work
My Visual Studio 2008 debugger is showing integers as hexadecimals, how to correct that?
Visual Studio tries to be helpful by showing all the nested tags where the
My Visual Studio is behaving strangely. I have no breakpoints in my projects but
In Visual Studio 2008, while editing the web page, it is displaying some error
For some reason in Visual Studio when I build my application it wants to
I just installed visual studio 2010 but when i create a new project Framework
I'm having some trouble with Visual Studio 2008 on my Windows XP SP2 laptop.
C# Visual Studio 2010 Express: When my application starts up, even before showing my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.