Thread: object classes
View Single Post
  #10   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default object classes

Yeah, but that doesn't give you the ability to choose the version from code!

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"mark" wrote in message
...
The last version registered will be the version
used by GetObject and CreateObject.



Sort of.

In the process here, I cleared all of the product off of
this machine, then loaded the Imp7 User version, the Imp 7
Admin version, and then reloaded the Imp5 Admin version.

CreateObject uses the Imp7User version.... which is the
first of the three loaded. That may be because the two
subsequent loads don't didn't actually 'register' the
product...

It's simple to go inot the registry key and make
CreateObject use the Imp7Admin version, if I wanted...

It seems rather more involved to get it to use Imp5 again.

Other solutions are available, and probably more
advisable, in this case.