PDA

View Full Version : Export Registry data to MS Access



oyabun
05-15-2001, 03:56 AM
I need to send out forms created in MS Access to a large amount of people and to save time I would like to automatically populate some of the fields in the MS Access forms from data contained in the registry, eg. machine name, user ID, etc.

Is this possible? Can anybody help - I have looked at a multitude of sites on the web, but so far no luck!

Cheers,
Oyabun

RWSchlatter
05-15-2001, 05:33 AM
Generally speaking: no.

Depending on the MSAccess versio beeing used: as VBA is VB you should be able to define VBA functions as wrappers for the Registry API and access those keys you want to see.

Depending on your requirements and on the client Win OS version, you could pick up information from the environment variables using the "Environ" function.

______________
Regards - Richard