Results 1 to 2 of 2

Thread: Faster Registry Scanning?

  1. #1

    Thread Starter
    Frenzied Member some1uk03's Avatar
    Join Date
    Jun 2006
    Location
    London, UK
    Posts
    1,675

    Question 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 ?
    _____________________________________________________________________

    ----If this post has helped you. Please take time to Rate it.
    ----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.



  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width