Results 1 to 2 of 2

Thread: Creating a .reg file in Compact Framework

  1. #1

    Thread Starter
    Hyperactive Member vbud's Avatar
    Join Date
    Jan 2002
    Location
    Mru 20 17S, 57 33E Goal: Get out of the BOX Status: In The Shadows!!! Target Posts: 3,000,000,000
    Posts
    378

    Question Creating a .reg file in Compact Framework

    Hi all,

    I have the following issue on a PDA device:

    Users can alter registry entries on a PDA device while my application is running. Each time the application exits, I need to save the changed registry entries into a .reg file so that on each cold boot of the device, this reg file can be run automatically to update the registry with the custom user settings.

    Does anyone know how to do this?

    Thanks in advance.
    >!v!<
    Free your mind, stop thinking
    http://inspirone.blogspot.com

    Please rate this post if it helped you

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Creating a .reg file in Compact Framework

    A REG file is simply a text file with a specific format and a ".reg" extension. Go to MSDN and read about the appropriate format or just export a few keys and values from the registry editor and open the resulting file in Notepad. Once you know the format you can write your REG file in the same way you would any other text file.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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