Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
can anyone tell me how to get a list of the object classes
registered on any given PC? the ones that would be used in: Dim objApplication Set objApplication = CreateObject("Excel.Application") the object classes that are recognized on a given pc with the CreateObject function. Thanks. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can look them up in the registry, under HKEY_CLASSES_ROOT... it's quite
a long list... -- Regards Juan Pablo González "mark" wrote in message ... can anyone tell me how to get a list of the object classes registered on any given PC? the ones that would be used in: Dim objApplication Set objApplication = CreateObject("Excel.Application") the object classes that are recognized on a given pc with the CreateObject function. Thanks. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
it's quite a long list...
yep. Thanks. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Mark,
You can find them in the Registry under the HKEY_CLASSES_ROOT hive. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "mark" wrote in message ... can anyone tell me how to get a list of the object classes registered on any given PC? the ones that would be used in: Dim objApplication Set objApplication = CreateObject("Excel.Application") the object classes that are recognized on a given pc with the CreateObject function. Thanks. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
There's a pc that has 2 versions of Cognos Impromptu on
it... Version 5, and Version 6. When a macro calls CreateObject("Impromptu.Application") , it brings it up in version 6. I was looking into making it call version 5. But it looks like it would be really involved. -----Original Message----- Mark, You can find them in the Registry under the HKEY_CLASSES_ROOT hive. -- HTH |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try with
CreateObject("Impromptu.Application.5") -- Regards Juan Pablo González "mark" wrote in message ... There's a pc that has 2 versions of Cognos Impromptu on it... Version 5, and Version 6. When a macro calls CreateObject("Impromptu.Application") , it brings it up in version 6. I was looking into making it call version 5. But it looks like it would be really involved. -----Original Message----- Mark, You can find them in the Registry under the HKEY_CLASSES_ROOT hive. -- HTH |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
CreateObject("Impromptu.Application.5")
Thanks for the idea... I meant to say Impromptu 7.1 earlier, not Imp6 But anyway, using automation, both CreateObject("Impromptu.Application") , and CreateObject("Impromptu.Application.50") bring up Imromptu 7.1 "Impromptu.Application.5" results in 'bad object class' I did find the registry key that causes it to think it should go to Imp7.1, and changed that, but then it just threw me into a 'server is busy' loop and didn't really bring anything up, so I changed it back and now it is working as it was. |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Mark,
Tom Ogilvy has already made this point, so I am just re-iterating ... aversion number .. on the end does nothing according to articles published by Microsoft. The last version registered will be the version used by GetObject and CreateObject. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "mark" wrote in message ... CreateObject("Impromptu.Application.5") Thanks for the idea... I meant to say Impromptu 7.1 earlier, not Imp6 But anyway, using automation, both CreateObject("Impromptu.Application") , and CreateObject("Impromptu.Application.50") bring up Imromptu 7.1 "Impromptu.Application.5" results in 'bad object class' I did find the registry key that causes it to think it should go to Imp7.1, and changed that, but then it just threw me into a 'server is busy' loop and didn't really bring anything up, so I changed it back and now it is working as it was. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel Classes | Excel Discussion (Misc queries) | |||
data classes | Excel Discussion (Misc queries) | |||
Counting Classes | Excel Discussion (Misc queries) | |||
Version compability of classes? | Excel Programming | |||
Using classes defined in an add-in | Excel Programming |