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 8798085
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:59:53+00:00 2026-06-13T23:59:53+00:00

i am new to Browser helper object i got the below link http://www.codeproject.com/Articles/37044/Writing-a-BHO-in-Plain-C which

  • 0

i am new to Browser helper object i got the below link http://www.codeproject.com/Articles/37044/Writing-a-BHO-in-Plain-C which helps me to understand BHO but using this how can i acheive –in internet explorer when i open a PDFs file it has to throw an event and i need to catch it and find what extension it is trying to open and if its is PDFs then raise a popup message.

  • 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-06-13T23:59:54+00:00Added an answer on June 13, 2026 at 11:59 pm

    In your IObjectWithSite::SetSite() implementation find and hook a sink object to the DWebBrowserEvents2 connection point of the browser object passed into the SetSite function. Now in your event sink’s IDispatch::Invoke implementation check if the URL parameter is a string ends with PDF.

    If you do not want to show the PDF at all, you probably want to consider handling the PDF MIME type by yourself.

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

Sidebar

Related Questions

I'm busy writing a BHO(Browser Helper Object) in C# and I need to attach
I am creating a Browser Helper Object in C++, and previous tests were successful
With http://doc.qt.nokia.com/4.7-snapshot/qtwebkit-bridge.html we can expose Qt 's QObject as glabal JS objects in browser,
I'm completely new to developing IE extensions with Browser Helper Objects. I managed to
Folks, I am developing Browser Helper Object, that has to change search assistant URL
If I open a new browser window and open a new page in it
How can I easily open a new browser with just some help text in
I'm having some issues understanding how to reference new browser windows after opening them.
I'm working on this project and I have to open a new browser tab.
When user clicks hyperlink on my ASP.NET page, I want a new browser to

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.