Results 1 to 4 of 4

Thread: URGENT - ActiveX component can't create object

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2000
    Posts
    188
    I have an urgent problem that needs to be fixed ASAP and I'm stumped. I created my app in Windows 2000, and also created an install file. The install program successfully installs the program onto a windows 95 machine but when the program runs on that windows 95 machine I get an error "ActiveX component can't create object" and the program dies. I've figured out that the error happens on the line "If DE1.C1.State <> 0 Then" DE1 is the dataenvironment, and C1 is the connection in DE1. If anyone has any ideas please help!



  2. #2
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670
    Are you using ADO? If you are, the first thing I would recommend is that you find MCAC_TYP.EXE on your PC (or failing that you download it from http://www.microsoft.com/ado ) and run it on the destination PC.
    The latest version is v2.5
    You'll also need DCOM for Windows '95 http://www.microsoft.com/com/tech/dcom.asp





    [Edited by Buzby on 07-12-2000 at 11:34 AM]
    'Buzby'
    Visual Basic Developer
    "I'm moving to Theory. Everything works there."

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    May 2000
    Posts
    188
    yes I am using ado, and I have run dcom95 and mdac_typ on the destination machine. Any other ideas?

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    May 2000
    Posts
    188
    Thankyou! I got it... i checked and the person who installed mdac last time didn't tell me that it didn't work... I got the latest version and installed it and now everything works.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width