Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2007
    Location
    Suffolk, UK
    Posts
    176

    Grin reading registry and HDD

    Im trying to read the registry and the HDD for registry keys and files at two points and then store the differences in two tables, unfortunatly, i have a minimal idea on how to read the all the registry files and HDD files (though i would appreciate any proven to work methods) but im not sure how to get the difference in the tables, any help appreciated.

  2. #2
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    Quote Originally Posted by screwed over View Post
    Im trying to read the registry and the HDD for registry keys and files at two points and then store the differences in two tables, unfortunatly, i have a minimal idea on how to read the all the registry files and HDD files (though i would appreciate any proven to work methods) but im not sure how to get the difference in the tables, any help appreciated.
    I'm unclear what you want....

    The way I read your post:
    • You want to read the registry and put all the data into a table
    • you want to scan the drive and put all the files into a table

    this would be slow & use a lot of memory, unless by table, you mean an sql table....

    You would use the Registry object to read/scan the registry and File.Find to recursivly find files.


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  3. #3
    Join Date
    Apr 2007
    Location
    Suffolk, UK
    Posts
    176
    pretty much, but i want to take these "snapshots" of the hdd and registry at two different points and record the differences, e.g. new files, new registry keys, changed registry keys etc. i have looked into other methods than tables for storing the data but all the others i've looked at would intefere with the process. and im aware of it being slow and memory consuming, but for what my program is i beleive it to be reasonable.

    (my program is going to be a peice of software that "portablises" (in place of a better word) software when its being installed. i plan to release a demo version for free for these forums and i may sell a full product.)

  4. #4
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    Good luck in your venture. Making applications portable is not an easy task, especially when they rely on the registry and large data files or services (as in an application that uses mssqlserver).

    You've got the tools to do what you want...

    Cheers
    -josh


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

Posting Permissions

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