I’m working on migrating code from Visual Basic 6 to Visual Basic.NET, but before I can do that I need to get it to build. Currently I cannot get it to build because of a missing reference in an MSHTML for an IDocHostUIHandler. Specfically I get the error on the line using DOCHOSTUIFLAG_DIALOG. I’ve tried added different references, but the error stays the same. If it makes any difference, I’m running XP with IE8.
I’m working on migrating code from Visual Basic 6 to Visual Basic.NET, but before
Share
MSDN says that the
IDocHostUIHandlerinterface is defined inmshtmhst.idlwhich is in the Platform SDK. I can’t find this defined in any DLL or type library so you may need to compile the IDL into your own library to register.You will also need to make sure that there are no references listed as “(MISSING)” as these cause random object reference problems.