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. ATL / WTL / STL
  4. CWebBrowser problem

CWebBrowser problem

Scheduled Pinned Locked Moved ATL / WTL / STL
htmlcomhelpquestion
4 Posts 3 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.
  • D Offline
    D Offline
    dorutzu
    wrote on last edited by
    #1

    Hi! I'm writting an Outlook plugin, and a very nasty problem arised: I'm using some dialogs in my app, and one of them has to display a .html page. I've put a CWebBrowser ActiveX on it, but the dialog won't show up. The DoModal function returns -1 (couldn't create dialog). If I remove the activeX from my dialog everything works just fine. :wtf: Well, have you any ideea why this problem appears, or some workaround to display my .html page? Thanks, Doru K.

    B M 2 Replies Last reply
    0
    • D dorutzu

      Hi! I'm writting an Outlook plugin, and a very nasty problem arised: I'm using some dialogs in my app, and one of them has to display a .html page. I've put a CWebBrowser ActiveX on it, but the dialog won't show up. The DoModal function returns -1 (couldn't create dialog). If I remove the activeX from my dialog everything works just fine. :wtf: Well, have you any ideea why this problem appears, or some workaround to display my .html page? Thanks, Doru K.

      B Offline
      B Offline
      Bernhard
      wrote on last edited by
      #2

      Use Mozilla instead ;P http://codeguru.earthweb.com/controls/iemozilla.html


      "I'm from the South Bronx, and I don't care what you say: those cows look dangerous."
      U.S. Secretary of State Colin Powell at George Bush's ranch in Texas

      D 1 Reply Last reply
      0
      • B Bernhard

        Use Mozilla instead ;P http://codeguru.earthweb.com/controls/iemozilla.html


        "I'm from the South Bronx, and I don't care what you say: those cows look dangerous."
        U.S. Secretary of State Colin Powell at George Bush's ranch in Texas

        D Offline
        D Offline
        dorutzu
        wrote on last edited by
        #3

        Thanks, but that wasn't very usefull. I think the problem lies somewhere else... Thanks anyway!

        1 Reply Last reply
        0
        • D dorutzu

          Hi! I'm writting an Outlook plugin, and a very nasty problem arised: I'm using some dialogs in my app, and one of them has to display a .html page. I've put a CWebBrowser ActiveX on it, but the dialog won't show up. The DoModal function returns -1 (couldn't create dialog). If I remove the activeX from my dialog everything works just fine. :wtf: Well, have you any ideea why this problem appears, or some workaround to display my .html page? Thanks, Doru K.

          M Offline
          M Offline
          Michael Dunn
          wrote on last edited by
          #4

          See my article WTL for MFC Programmers, Part VI - Hosting ActiveX Controls[^] --Mike-- Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber CP SearchBar v2.0.2 released

          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