Faster Registry Scanning?
Are there any other ways of scanning through the registry other than the standard way ?
Or is this limited to VBs performance ?
I see many other non VB applications scan through the registry way toooo fast.
Can any speed improvement be made with VB ?
Re: Faster Registry Scanning?
The speed of code is not only about what methods you used, but how well you used them.
Even if you use fast methods, badly written code will still be terribly slow. At the same time, well written code using slow methods will also run quite slowly.
It is extremely unusual for the language to be the limiting factor - a well written VB program will run at a very similar speed to a program in a supposedly "faster" language.
Without seeing your code (note that saying "the standard way" is meaningless at best) we cannot comment on why it is slow, but we can recommend the "Optimisation" section of our Classic VB FAQs (in the FAQ forum, which is shown near the top of our home page), which should help you re-arrange/change the code to make it run more quickly.