last post

Readers– I’m leaving MSFT for other opportunities.  As such, this will be my last post.  Thanks for reading!  I hope you will all continue to read the IE Team Blog: http://blogs.msdn.com/ie  

2

on CComQIPtr

You’re writing some code that uses COM.  Do you use SmartPointers or not use SmartPointers?  Debate on this topic flares up now and then.  The trick to answering it is to seperate the technical facts from stubbornly held beliefs.  Like any technology, there is a right time and a wrong time to use it.  But that’s…

4

why doesn’t the favicon for my site appear in IE7?

Today I have a mini-FAQ on Favicons. Q: How do I make a favicon appear for my site in IE7?A: There are two ways.  The first is to put a file in the root of your domain called favicon.ico.  The second is to use a <link> tag with the rel=”shortcut icon” value and the href…

49

msdn blogging, ie7 and the future

My posting rate has declined somewhat since we shipped IE7.  It seems posts come in bursts.  I have a theory for this.  At the beginning of a product cycle we are focused on planning, architecting, and implementing.  There is not much to talk about, since we can not talk about anything that has not been…

1

pop-up blocker and ActiveX controls, part three: creating a user initiated action

Note: This is part three in a series of posts explaining how ActiveX controls and the IE Pop-up Blocker should interact.  The first post is here.  If you are a user (and not an ActiveX control developer), and have found this post in an attempt to track down why you are still seeing unwanted pop-up…

8

pop-up blocker and ActiveX controls, part two: HlinkSimpleNavigateToMoniker()

Note: This is part two in a series of posts explaining how ActiveX controls and the IE Pop-up Blocker should interact.  The first post is here.  If you are a user (and not an ActiveX control developer), and have found this post in an attempt to track down why you are still seeing unwanted pop-up…

7

pop-up blocker and ActiveX controls, part one: IWebBrowser::Navigate(), IWebBrowser::Navigate2()

As I mentioned previously, one reason users may continue to experience unwanted pop-up windows while browsing is creative use of ActiveX controls that provide methods that allow web sites to open new browser windows.  This series of posts will provide best-practices for ActiveX control implementors. There are two things to keep in mind while considering…

8

IOleCommandTarget, CGID_MSHTML and ActiveX controls

If you write an application that hosts the WebBrowser Control, and you want the control to do something, you can send commands to mshtml via the IOleCommandTarget interface. However, if you are an ActiveX control and you want to send CGID_MSHTML commands, you may try something like this:     …    IOleCommandTarget *pCommandTarget = NULL;    hr…

6

on getting IOleCommandTarget wrong (and a bit in the middle about ActiveX controls)

IOleCommandTarget is very useful.  It provides a generic way of sending commands between objects.  IE makes extensive use of IOleCommandTarget, both publically and internally.  And, like IUnknown, people frequently get it wrong. Each command is composed of a GUID (Command Group Identifier) and a DWORD (Command Identifier).  First, what is wrong with this code: HRESULT CFoo::Exec(const GUID…

7

on IObjectWithSite, IOleObject and ActiveX controls

ActiveX® controls frequently need to communicate with their containing object.  For example, a control may want to QueryService for the cached InternetSecurityManager object to decide whether or not to take a particular action.  Controls can obtain a pointer to their containing object (also called the object’s site) in one of at least two ways.  The…

6