![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | CreateObject Failing Good Afternoon, I am trying to use CreateObject to use a COM for a third party product (BusinessMap): Set app = CreateObject("BMCom.Iapplication") It fails with the message "ActiveX component can't create object: BMCom.IApplication". Since I was able to use CreateObject on Excel and Microsoft Map Point, I thought this had to do with registering the component, so I tried regsvr32 on bmcom.dll, but CreateObject still fails. Any suggestions would be greatly appreciated. Please post here as I am having email issues. Thanks. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: CreateObject Failing Can you tell us more about the component - where it's from, possibly demo code available for it that you used as a source? Off the top of my head, I can point to a few possible causes; more details can help us help you localize the problem. (1) Could you confirm that the progid you use should be BMCom.Iapplication, not BMCom.Application? That's a bit odd for a COM progId name. (2) Are you running 32-bit or 64-bit Windows? (3) What exact message do you get when you run regsvr32 against BMCOM.dll? (4) If you'd like to look in the registry yourself for the ProgId, do this - it can help you see how things work. Run regedit, and navigate to HKLM\Software\Classes. Under that will be thousands of subfolders; BMCOM.IApplication should be one of them (but is apparently not, or you wouldn't get the failure). Given what you've described and assuming that registration worked fine, the most likely issue seems to be that either you need to register some other component as well, or possibly the programmatic identifier you were given isn't correct. There are some other possible causes - 32/64 bit use or some complications that may happen if it's a .NET component, but those are not as likely based on what you've said. <xmp333@xxxxxx> wrote in message news:776e44c3-42ec-49aa-a195-a8c642730d6f@xxxxxx Quote: > Good Afternoon, > > > I am trying to use CreateObject to use a COM for a third party product > (BusinessMap): > > Set app = CreateObject("BMCom.Iapplication") > > It fails with the message "ActiveX component can't create object: > BMCom.IApplication". > > Since I was able to use CreateObject on Excel and Microsoft Map Point, > I thought this had to do with registering the component, so I tried > regsvr32 on bmcom.dll, but CreateObject still fails. > > Any suggestions would be greatly appreciated. Please post here as I > am having email issues. > > > Thanks. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| I think my HDD is failing... | General Discussion | |||
| SFC Failing! | General Discussion | |||
| Windows Server 2008, CreateObject and a VB6 dll | VB Script | |||
| My PC is failing WGA when it didn't before! | Vista General | |||
| Log on failing | Vista performance & maintenance | |||