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

  • Home
  • SEARCH
  • 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 591167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:36:23+00:00 2026-05-13T15:36:23+00:00

I am trying to catch Visual Studio Extension events in browser javascript, DTE is

  • 0

I am trying to catch Visual Studio Extension events in browser javascript, DTE is available through window.external:

window.external.DTE.Events.SolutionEvents.Opened = ...

Access is ok up to “Events”, but a SolutionEvents seems not to be found. I’ve checke the #imported tlb, _Events does have a get_SolutionEvents member.

DTE is the correct object (calling some methods through it works fine…)

I haven’t done much yet with DTE, and I’m a complete javascript n00b. Any suggestions?


[update] The javascript runs in a web browser control hosted in a DTE tool window. The addin is written in C++/ATL.

  • 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-13T15:36:24+00:00Added an answer on May 13, 2026 at 3:36 pm

    As a quick answer, without asking why you need this, I would…

    • Through a C# handler catch the Opened
      event.
    • From there, I would call a Javascript method in your web page by
      using DOM.

    Is your javascript loaded in a WebBrowser control? It would be easier to access DOM.

    More info on DOM : http://msdn.microsoft.com/en-us/library/aa290341%28VS.71%29.aspx

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

Sidebar

Related Questions

I'm trying to catch this exception: System.ServiceModel.EndpointNotFoundException But visual studio isn't finding it. There's
I'm debugging a windows phone 7 application using Visual Studio, and I'm trying to
I'm trying to disable exceptions completely in Visual Studio 2010, and to ensure that
I'm trying to connect a DataGridView to an access 2000 database on Visual Studio
I am trying to get name of running applications (mozila, visual studio etc.) I
I'm trying to get around this error I get from Microsoft Visual Studio 10
I'm using Visual C# Studio 2010 express and have been trying to batch update
I'm trying to catch a JSON object with a mouse click event. I use
I'm trying to catch a double-click event in a TreeView's empty area to create
I'm trying to catch an event when a user clicks a blank space on

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.