Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. C# BHO problem

C# BHO problem

Scheduled Pinned Locked Moved COM
csharpvisual-studiocomhelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    svt gdwl
    wrote on last edited by
    #1

    Hi I had BHO developed in vs2005. I work on IE6. I do all the things when the progresschange event fires... http://msdn.microsoft.com/en-us/library/aa768283(VS.85).aspx\[^\] The main thing is when I open 3 instances of IE, consider in first instance, http://www.google.co.in/\[^\] is opened, in second instance, http://www.msn.com/\[^\] is opened, in third instance, http://in.yahoo.com/?p=us\[^\] is opened. when these are opened the ProgressChangeEvent is fired, but when return back to the window of 2nd instance (i.e.,http://www.msn.com/\[^\]) and refresh it, no progresschangeevent is fired. which event can be fired when changing the focus from one window to other, "WindowStateChanged" event should be fired, but when I open solution explorer of my project, this event is not visible in intellisense. Why WindowStateChanged event is not obtained in my Project solution. And, using the BHO can't we get the handle of previously opened instance(which is currently active, like 2nd instance after openeing three instances of IE.) I had already posted this in http://www.codeproject.com/Messages/3165774/Csharp-BHO-problem.aspx[^] but I think this is the forum that I can get some suggestions. I was doing all these in Windows XP Service Pack 2 (SP2).

    J 1 Reply Last reply
    0
    • S svt gdwl

      Hi I had BHO developed in vs2005. I work on IE6. I do all the things when the progresschange event fires... http://msdn.microsoft.com/en-us/library/aa768283(VS.85).aspx\[^\] The main thing is when I open 3 instances of IE, consider in first instance, http://www.google.co.in/\[^\] is opened, in second instance, http://www.msn.com/\[^\] is opened, in third instance, http://in.yahoo.com/?p=us\[^\] is opened. when these are opened the ProgressChangeEvent is fired, but when return back to the window of 2nd instance (i.e.,http://www.msn.com/\[^\]) and refresh it, no progresschangeevent is fired. which event can be fired when changing the focus from one window to other, "WindowStateChanged" event should be fired, but when I open solution explorer of my project, this event is not visible in intellisense. Why WindowStateChanged event is not obtained in my Project solution. And, using the BHO can't we get the handle of previously opened instance(which is currently active, like 2nd instance after openeing three instances of IE.) I had already posted this in http://www.codeproject.com/Messages/3165774/Csharp-BHO-problem.aspx[^] but I think this is the forum that I can get some suggestions. I was doing all these in Windows XP Service Pack 2 (SP2).

      J Offline
      J Offline
      Jacobb Michael
      wrote on last edited by
      #2

      Hi, i think,but not sure, WindowStateChanged event is registered for the current instance and once you come out of that IE then it wont fire. For example. You take IE7 there WindowStateChanged fires while you open a new tab. and switch over the tabs as well.and there u can get the active tab details using he Acessability interface. ( i am also looking for the solution)

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups