Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 224
Default MSCOMCT2.OCX registration error "ClassFactory cannot supply requestedclass"

I used the datepicker control from MSCOMCT2.OCX in Excel VBA, and I
ensure that MSCOMCT2.OCX is present and registered on each computer.
It works fine on most computers.

But now on a new computer I can't register it. When I try to register
it (with regsvr32), I get the error:

System Error &H80040111 (-2147221231). ClassFactory cannot supply
requested class

How can I get it to register? Normally regsvr32 has no problem
registering MSCOMCT2.OCX.


(I know that it is not registered because when I try to instantiate
the datepicker control, I get the error "Object library invalid or
contains references to object definitions that could not be found")


Thanks,

Greg
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 449
Default MSCOMCT2.OCX registration error "ClassFactory cannot supply requested class"

Hi Greg

Would this new wonder machine by any chance be running the marvellous very
safe Windows Vista operating system ?

If so, do not try to place and register anything in the Windows/system32
catalog or anywhere near system files, it assumes you are a madman and
refuses to do it even with an admin account. Try putting it in a "normal"
innnocent looking folder and regsvr32 it from there (full path).

HTH. Best wishes Harald

"Greg Lovern" wrote in message
...
I used the datepicker control from MSCOMCT2.OCX in Excel VBA, and I
ensure that MSCOMCT2.OCX is present and registered on each computer.
It works fine on most computers.

But now on a new computer I can't register it. When I try to register
it (with regsvr32), I get the error:

System Error &H80040111 (-2147221231). ClassFactory cannot supply
requested class

How can I get it to register? Normally regsvr32 has no problem
registering MSCOMCT2.OCX.


(I know that it is not registered because when I try to instantiate
the datepicker control, I get the error "Object library invalid or
contains references to object definitions that could not be found")


Thanks,

Greg


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
Error Help - Method "Range" of object "_Worksheet" failed. Alan Smith Excel Programming 3 March 15th 07 06:55 PM
What is Error "Method "Paste" of object "_Worksheet" failed? vat Excel Programming 7 February 17th 06 08:05 PM
Getting "compile error" "method or data member not found" on reinstall Bp Excel Programming 1 April 23rd 04 04:42 PM
Make "BeforeSave" event supply a default path and file name? quartz Excel Programming 1 April 22nd 04 08:08 PM


All times are GMT +1. The time now is 12:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"