VBA - Edit Registry - is it possible??

J

Jado

Hi

I need to make changes in the registry..then stop and restart a service
under WinXP.

the information for the registry will be pulled from an Access 97 db.

does anyone know how to edit the registry directly from vba...

or of any command line program that can be called from vba.

if so... would it be possible to include an example of how to do this.

Thanks

Jado
 
S

Stephan Kassanke

Jado said:
Hi

I need to make changes in the registry..then stop and restart a service
under WinXP.

the information for the registry will be pulled from an Access 97 db.

does anyone know how to edit the registry directly from vba...

or of any command line program that can be called from vba.

if so... would it be possible to include an example of how to do this.

Thanks

Jado

Jado,

try the class file http://www.vbusers.com/downloads/clsRegistry.cls

Sample should be in the source code.

cheers,
Stephan
 
T

TC

Make sure the user running the database has sufficient o/s level permissions
to update the relevant portion of the registry! In win9x, anyone could
update anywhere, AFAIK. In winXP, I'm sure there are more restrictions.

HTH,
TC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top