Discussion Locked

How do you deal with Win2000 Registry?

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I program in VB6.0. Had no problems with Windows 98. I have upgraded to Windows 2000 Pro. The API's that I used for 98 don't seem to work in 2000. There is a .dll available, but I can't make that work either. How can you programmically manipulate the registry in Windows 2000?

5 replies

by shariqsaad

start ---> run ----> type regedit and press enter

select HKEY_LOCAL_MACHINE --------> Software
-----------> Visual Basic and select ur dll file from the list set its property there

by violin463

I know I can access the registry with regedit. I need to do it programmically. Regedit is not the answer.

by amanabala

Hello!

I tried the code in the Microsoft Support Article Q178755 and it works like charm on Win2k. Ofcourse all this example does is to enumerate the registry keys. I am sure it isstraight forward to extend this code to modify registry keys.

if you need further assistance, please let me know.

Regards,
Ravi

This discussion is closed to new replies.