It's not going to hurt anything at all. You'll need to register the .chm
now.
Basically the idea behind the registration is the way that different progs
that are run in Windows, that might reference that file, need to know
where to find that file. Doing a search through my registry, I'm finding
multiple keys. Some are in the CLASSES_ROOT key, and one in
particular that comes to mind for me is:
HKLM\SOFTWARE\Microsoft\Windows\HTML Help
"HKLM" means HKEY_LOCAL_MACHINE
The subkey here is defined as follows:
type: REG_SZ (normal string)
name: dao360.chm
contents:
C:\Program Files\Common Files\Microsoft Shared\Office10\1033\
And then there's another key:
HKEY_CLASSES_ROOT\
Installer\Components\71CE92CC2CB71D119A12000A9CE1A22A
The subkey is defined as follows:
type: REG_MULTI_SZ
name: 1033\dao360.chm
The contents of that subkey is...
C84DVn-}f(YR]eAR6.jiVBAHelpFiles>!V1Z3_Aaq@~+)dq.m0mh
Pm7J7O7pf(WXBefPB7^,ProductNonBootFiles>0fCo)=Lnf(E4*L[xeX)y
That's a lot of garbage. I am only guessing now. That key is telling VBA
where
to find that file. So when you press the F1 key on some DAO reference
inside of VBA, VBA knows where to grab the file from. I'm not sure why it's
all encrypted like that. I'm running on an XP machine right. That key is
defined as REG_MULTI_SZ, which I'm thinking means multi-lined string
typedef. SZ means it's a null terminated string I think (string zero)???
If you have those two keys in place, you should be all set and ready
to go I'm thinking.
Hope that helps.
--
Jim Carlock
http://www.microcosmotalk.com/
Post replies to the newsgroup.
Jim,
Thanks for the direction. I searched and found a DAO360.CHM file on my
original Office 2000 CD. I simply copied this file to C:\Program
Files\Common Files\Microsoft Shared\DAO and now I have DAO help info in
Access. This help file isn't getting installed by the Office installation
procedure, even though I told it to install everything.
Have I created any problem by just copying the file this way, instead of
from a Jet Engine SP update as you had suggested?
I also noticed that my DAO360.dll file in the same directory (as above) is
newer than the one on the Office CD. It looks like that came from the
Windows 2000 SP4 that I put on my PC? If so, then Win2000 SP4 had a DLL
update without a CHM help file update to go with it. Does this make sense?
Does it matter if these are updated independently?
ctdak
----- Jim Carlock wrote: -----
Sometimes the help file seems to disappear or doesn't get installed.
I found that out at one company. They couldn't find the file any
where. I ended up finding it in an office service pack or an MDAC
service pack. Service Pack 3 seems to ring a bell for me.
I can find the files in the following locations:
FILE: DAO360.CHM
C:\Program Files\Common Files\Microsoft Shared\Office10\1033
FILE: DAO351.CHM
C:\Program Files\Microsoft Visual Studio\MSDN98\98VSa\1033
FILE: DAOSDK.CHM
C:\Program Files\Microsoft Visual Studio\MSDN98\98VSa\1033
FILE: DAO351.CHM
C:\Program Files\Microsoft Office\ODETools\V9\MSDN\DNMOD\1033
FILE: DAOSDK.CHM
C:\Program Files\Microsoft Office\ODETools\V9\MSDN\DNMOD\1033
If I remember correctly, my specific problem was with ADO as opposed
to DAO. It had a 210 number in the name at the time.
You should be able to find it when you extract one of the MDAC
packages:
http://support.microsoft.com/default.aspx?kbid=239114
You'll need to run the file from the command line and add the
following switches:
mdac.exe /c /t:<drive>:<pathtoextractto>
HTH.
Good luck.
--
Jim Carlock
http://www.microcosmotalk.com/
Post replies to the newsgroup.
If I hit F1 on any reserved word that refers to a DAO object, I get an
error
message saying help is not installed for this.
e.g. rs.FindFirst " ... " or If rs.NoMatch Then
If I go into the help index and type in DAO, none of the subjects it
comes
up with for DAO, and there are many, will give me anything if I
double-click
on them. It is not giving me anything at all on DAO.
ctdak