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. Visual Basic
  4. Problem with webbrowser control

Problem with webbrowser control

Scheduled Pinned Locked Moved Visual Basic
toolshelptestingdebuggingquestion
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.
  • H Offline
    H Offline
    Hashim Saleem
    wrote on last edited by
    #1

    Hi, I am using this property of web browser control

    ie.Document.Script.Document.Write "Text"

    and it is giving me this error.

    Run-time Error '-2147467259(80004005)':
    Automation error
    unspecified error

    and in debug window it shows "Object doesn't support this action" -------------------------------------------------- Should I have to do some task for enabling automation. ???

    C 1 Reply Last reply
    0
    • H Hashim Saleem

      Hi, I am using this property of web browser control

      ie.Document.Script.Document.Write "Text"

      and it is giving me this error.

      Run-time Error '-2147467259(80004005)':
      Automation error
      unspecified error

      and in debug window it shows "Object doesn't support this action" -------------------------------------------------- Should I have to do some task for enabling automation. ???

      C Offline
      C Offline
      Corinna John
      wrote on last edited by
      #2

      Document.Write needs a document to write on. Does the browser control display document? If you don't want to change an existing document, I suggest you look for a method "Document.Open". In JavaScript window.document.open() opens an empty document.

      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