"RWC" <he********@shaw.ca> wrote in message
news:fB69b.4918$AD1.340@pd7tw2no...
Hi!
I'm having a problem in A2K2. This should be simple, but I can't really
figure it out. First problem, I'm trying to set the property of a table,
via Vb to hidden, and I aslo would like to update the Description as well.
For some reason I can't seem to find any reference to doing this in the
online help.
Also, second part; I would like to find out more about reading, adding and
editing a registry entry via Access / VB. Although I haven't exhausted
the online help or knowledge base on this one yet, any help in directing me to
a resource would be great.
As the other respondent said, VBA gives you GetSetting, SaveSetting & so on.
These are easy to use, BUT, they put your keys at a fixed location in the
registry. I can't remember where that is (see online help), but I *do*
remember that it is not where I wanted it! So you might not want to use
those functions. (Geez msoft, how hard would it have been to have the extra
parameter! :-(
Try googling on "win32 registry vba" - there's sure to be tons around. But
here's a tip: carefully check the access level that you request on the
registry. In win95 (98? 9x?) it was not checked, & you could get away with
anything. But in winXP etc. it is checked, so code that used to run before,
might start getting permission errors. If you only want to read, just
request read - no more - & so on.
HTH,
TC