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. Error : Class Does not support Automation

Error : Class Does not support Automation

Scheduled Pinned Locked Moved Visual Basic
helptestingtoolsannouncement
3 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.
  • C Offline
    C Offline
    cberam
    wrote on last edited by
    #1

    Hi, In my VB application i'm trying to embed IE. So in my code i use: Dim MyIE As New InternetExplorer and try to use it properties. But during runtime i get error as: "Class Does Not Support Automation or does not support expected interface". After this i tried installing windowscript 5.6 and vbrun60sp5.exe..But still same problem. I'm using VB6.0 SP5. and IE version: 6.0.2800 Pls help. Thanks Ram

    G A 2 Replies Last reply
    0
    • C cberam

      Hi, In my VB application i'm trying to embed IE. So in my code i use: Dim MyIE As New InternetExplorer and try to use it properties. But during runtime i get error as: "Class Does Not Support Automation or does not support expected interface". After this i tried installing windowscript 5.6 and vbrun60sp5.exe..But still same problem. I'm using VB6.0 SP5. and IE version: 6.0.2800 Pls help. Thanks Ram

      G Offline
      G Offline
      gthompson2005
      wrote on last edited by
      #2

      I'm not to sure, if it's available , or will work for vb 6, haven't used it for quite sometime, but if you can just add a com control. Look for one Called AxWebBrowser. As that's just a com for IE. Works for what I want it to do in my vb.net coding.

      1 Reply Last reply
      0
      • C cberam

        Hi, In my VB application i'm trying to embed IE. So in my code i use: Dim MyIE As New InternetExplorer and try to use it properties. But during runtime i get error as: "Class Does Not Support Automation or does not support expected interface". After this i tried installing windowscript 5.6 and vbrun60sp5.exe..But still same problem. I'm using VB6.0 SP5. and IE version: 6.0.2800 Pls help. Thanks Ram

        A Offline
        A Offline
        Anonymous
        wrote on last edited by
        #3

        This may sound like it doesn't fit but update your MDAC, I've seen that error before, and this fixed it. Microsoft Data Access Components (MDAC) 2.8 http://www.microsoft.com/downloads/details.aspx?FamilyID=6c050fe3-c795-4b7d-b037-185d0506396c&displaylang=en

        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