1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

+Windows7 +ShowHTMLDialogEx +"COM objects not being instantiated"

Discussion in 'Internet Explorer' started by j4ck455, Jan 28, 2010.

  1. j4ck455

    j4ck455 Flightless Bird

    Why are my COM objects not being instantiated (via the <object> tag) using
    ShowHTMLDialogEx from MSHTML.dll in Windows 7 (32bit) with IE8?

    The exact same application works perfectly in XPProSP3 with IE8 installed,
    but not with Windows7 IE8.

    I know that my COM objects are not being instantiated in W7 due to an error
    message that I have similar to this <object...>ERROR: ....</object>, and my
    error message is displayed.

    My COM objects are all marked safe for scripting, although not digitally
    signed, but that should not make any difference when using ShowHTMLDialogEx.

    In XP, ShowHTMLDialogEx effectively bypasses all "security checks", and
    allows scripts and COM to run without any prompts or other impedance, how can
    I get this to work in Windows7?

    I don't get any prompts displayed by IE8, but my page does load and is
    displayed, just without the objects that are supposed to be "alive" on the
    page.

    I have tried all sorts of things like Run as Administrator (even though the
    user account I'm logged in with is a member of the local machine's
    Administrators group), the permissions inherited from the parent folder are
    also Full Control. I have also tried creating a new local administrator user
    account. I have also tried setting all the zones in IE8 to the least secure
    settings - including Restricted sites.

    Nothing I have tried solves this problem.

    I am also very new to Windows7, so I'm very much out of my depth, but have
    been using IE8 in XP for quite a while.
     
  2. rob^_^

    rob^_^ Flightless Bird

    Hi, IE8 was branched for Win7.

    Repost your question in the technical msdn forums.

    IE Extension Development Forum

    http://social.msdn.microsoft.com/Forums/en-US/ieextensiondevelopment/threads

    Please include all relevant information... (OS version and SP level), code
    snippets and error messages (in full). Those forums are designed to allow
    you to cut and paste code snippets in your posts. Sounds like you may need
    the Win7 windows sdk and the appropriate win7 headers.

    Regards.

    "j4ck455" <j4ck455@discussions.microsoft.com> wrote in message
    news:C49AD426-FD4D-46F1-916D-101E9A822139@microsoft.com...
    > Why are my COM objects not being instantiated (via the <object> tag) using
    > ShowHTMLDialogEx from MSHTML.dll in Windows 7 (32bit) with IE8?
    >
    > The exact same application works perfectly in XPProSP3 with IE8 installed,
    > but not with Windows7 IE8.
    >
    > I know that my COM objects are not being instantiated in W7 due to an
    > error
    > message that I have similar to this <object...>ERROR: ....</object>, and
    > my
    > error message is displayed.
    >
    > My COM objects are all marked safe for scripting, although not digitally
    > signed, but that should not make any difference when using
    > ShowHTMLDialogEx.
    >
    > In XP, ShowHTMLDialogEx effectively bypasses all "security checks", and
    > allows scripts and COM to run without any prompts or other impedance, how
    > can
    > I get this to work in Windows7?
    >
    > I don't get any prompts displayed by IE8, but my page does load and is
    > displayed, just without the objects that are supposed to be "alive" on the
    > page.
    >
    > I have tried all sorts of things like Run as Administrator (even though
    > the
    > user account I'm logged in with is a member of the local machine's
    > Administrators group), the permissions inherited from the parent folder
    > are
    > also Full Control. I have also tried creating a new local administrator
    > user
    > account. I have also tried setting all the zones in IE8 to the least
    > secure
    > settings - including Restricted sites.
    >
    > Nothing I have tried solves this problem.
    >
    > I am also very new to Windows7, so I'm very much out of my depth, but have
    > been using IE8 in XP for quite a while.
    >
     
  3. PA Bear [MS MVP]

    PA Bear [MS MVP] Flightless Bird

    Developer-specific resources include:

    MSDN IE Development Forum (post such questions here instead)
    http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/threads

    IE Developer Center
    http://msdn.microsoft.com/en-us/ie/default.aspx

    Learn IE8
    http://msdn.microsoft.com/en-us/ie/aa740473.aspx

    HTML and DHTML Overviews and Tutorials
    http://msdn.microsoft.com/en-us/library/ms537623.aspx and

    Cascading Style Sheets (CSS)
    http://msdn2.microsoft.com/en-us/ie/aa740476.aspx

    Expression Web SuperPreview for Internet Explorer (free, stand-alone visual
    debugging tool for IE6, IE7, and IE8)
    http://www.microsoft.com/downloads/...FamilyID=8e6ac106-525d-45d0-84db-dccff3fae677

    Expression Web SuperPreview Release Notes
    http://www.microsoft.com/expression/products/Web_SuperPreviewReleaseNotes.aspx

    Validators:
    http://validator.w3.org/
    http://jigsaw.w3.org/css-validator/


    j4ck455 wrote:
    > Why are my COM objects not being instantiated (via the <object> tag) using
    > ShowHTMLDialogEx from MSHTML.dll in Windows 7 (32bit) with IE8?
    >
    > The exact same application works perfectly in XPProSP3 with IE8 installed,
    > but not with Windows7 IE8.
    >
    > I know that my COM objects are not being instantiated in W7 due to an
    > error
    > message that I have similar to this <object...>ERROR: ....</object>, and
    > my
    > error message is displayed.
    >
    > My COM objects are all marked safe for scripting, although not digitally
    > signed, but that should not make any difference when using
    > ShowHTMLDialogEx.
    >
    > In XP, ShowHTMLDialogEx effectively bypasses all "security checks", and
    > allows scripts and COM to run without any prompts or other impedance, how
    > can I get this to work in Windows7?
    >
    > I don't get any prompts displayed by IE8, but my page does load and is
    > displayed, just without the objects that are supposed to be "alive" on the
    > page.
    >
    > I have tried all sorts of things like Run as Administrator (even though
    > the
    > user account I'm logged in with is a member of the local machine's
    > Administrators group), the permissions inherited from the parent folder
    > are
    > also Full Control. I have also tried creating a new local administrator
    > user
    > account. I have also tried setting all the zones in IE8 to the least
    > secure
    > settings - including Restricted sites.
    >
    > Nothing I have tried solves this problem.
    >
    > I am also very new to Windows7, so I'm very much out of my depth, but have
    > been using IE8 in XP for quite a while.
     
  4. j4ck455

    j4ck455 Flightless Bird

  5. rob^_^

    rob^_^ Flightless Bird

    Hi, IE8 was branched for Win7.

    Repost your question in the technical msdn forums.

    IE Extension Development Forum

    http://social.msdn.microsoft.com/Forums/en-US/ieextensiondevelopment/threads

    Please include all relevant information... (OS version and SP level), code
    snippets and error messages (in full). Those forums are designed to allow
    you to cut and paste code snippets in your posts. Sounds like you may need
    the Win7 windows sdk and the appropriate win7 headers.

    Regards.

    "j4ck455" <j4ck455@discussions.microsoft.com> wrote in message
    news:C49AD426-FD4D-46F1-916D-101E9A822139@microsoft.com...
    > Why are my COM objects not being instantiated (via the <object> tag) using
    > ShowHTMLDialogEx from MSHTML.dll in Windows 7 (32bit) with IE8?
    >
    > The exact same application works perfectly in XPProSP3 with IE8 installed,
    > but not with Windows7 IE8.
    >
    > I know that my COM objects are not being instantiated in W7 due to an
    > error
    > message that I have similar to this <object...>ERROR: ....</object>, and
    > my
    > error message is displayed.
    >
    > My COM objects are all marked safe for scripting, although not digitally
    > signed, but that should not make any difference when using
    > ShowHTMLDialogEx.
    >
    > In XP, ShowHTMLDialogEx effectively bypasses all "security checks", and
    > allows scripts and COM to run without any prompts or other impedance, how
    > can
    > I get this to work in Windows7?
    >
    > I don't get any prompts displayed by IE8, but my page does load and is
    > displayed, just without the objects that are supposed to be "alive" on the
    > page.
    >
    > I have tried all sorts of things like Run as Administrator (even though
    > the
    > user account I'm logged in with is a member of the local machine's
    > Administrators group), the permissions inherited from the parent folder
    > are
    > also Full Control. I have also tried creating a new local administrator
    > user
    > account. I have also tried setting all the zones in IE8 to the least
    > secure
    > settings - including Restricted sites.
    >
    > Nothing I have tried solves this problem.
    >
    > I am also very new to Windows7, so I'm very much out of my depth, but have
    > been using IE8 in XP for quite a while.
    >
     

Share This Page