Accessing remote registry in vb6

Hi experts!

Can anybody telll me how could we connect to a registry of remote computer through VB code? also how to get the programs credentials to access that computer? means i know the administrative username/password of all computers i want my program to connect to.. how would i check if my program has the rights to access and if not...first login and then connect to registy..

Thanx in advance.
LVL 17
Muhammad KhanManager, ITAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

danaseamanCommented:
Here is a class that handles remote registry. Perhaps someone else can help with the permissions issue if in fact these routines don't prompt for access.

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=28518&lngWId=1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Muhammad KhanManager, ITAuthor Commented:
Thanx danaseaman !

This class would help me !

navstar16!

Although i would use danaseaman solution but i really appreciate your help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.