TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Kerry on November 27, 2006, 07:08:12 PM
-
I want to determine if the code following works if MS Office is not installed.
I'm particularly interested in ADO COM at this time.
In an XP install I believe MDAC is installed which I think should satisfy this test ..
If my assumption is whacky, I'll have to try another route.
This code just does Registry reads ...
... please post results
(DEFUN c:test ()
(AND (SETQ _ADODLLCLSID (VL-REGISTRY-READ
"HKEY_CLASSES_ROOT\\ADODB.Command\\CLSID"
)
)
(SETQ
_ADODLLPath (VL-REGISTRY-READ (STRCAT "HKEY_CLASSES_ROOT\\CLSID\\"
_ADODLLCLSID
"\\InProcServer32"
)
)
)
(SETQ _ADODLLPath_Qualified (FINDFILE _ADODLLPath))
)
(TERPRI)
(princ _ADODLLCLSID)
(TERPRI)
(princ _ADODLLPath)
(TERPRI)
(princ _ADODLLPath_Qualified)
(princ)
)
Thanks
kwb
-
Si funciona Kerry, aqui estan los resultados (aqui no esta instalado nada de Office)
It works Kerry, below are the results (I do not have any Office installed here)
Command: test
{00000507-0000-0010-8000-00AA006D2EA4}
C:\Program Files\Common Files\System\ado\msado15.dll
C:\Program Files\Common Files\System\ado\msado15.dll
Espero te sirva
HTH
-
That 'serves me' well Luis, Thanks ....
Would like a couple more confirmations though .... just to be positive.
kwb
-
Mine is the same as Luis's. But I think I have office installed, I mean I have all the programs.
-
Anyone else without Office/Access installed in Win XP ??
-
Anyone else without Office/Access installed in Win XP ??
I do, but there is no cad on it. Is there something I can look for manually?
edit
the brand new install XP SP2 has the file C:\Program Files\Common Files\System\ado\msado15.dll
nothing has been installed on the machine but the os.
-
PERFECT !! Thanks Daniel ..