Article View: borland.public.cppbuilder.nativeapi
Article #1668restore settings
From: han
Date: Thu, 28 Jun 2007 00:37
Date: Thu, 28 Jun 2007 00:37
20 lines
1384 bytes
1384 bytes
I have a borland c++ builder application and I have all the settings in a registry.The user may change some of the settings to their habit. I would like to add a restore button, by simply clicking this button, the original settings can be restored. What's the best way to do this? I am thinking about exporting my original settings to a .reg file and save it in user's c drive during the program installation. However even with that strategy, I don't know what function to use to load the .reg file to registry. Thanks for any help. han zhang
Technical Details
Message-ID:
<468302be$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d669b3896ddf8f0d,start X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "han" <hanzhangusa@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: restore settings Date: Wed, 27 Jun 2007 17:37:23 -0700 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 75.62.235.16 Message-ID: <468302be$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1182991038 75.62.235.16 (27 Jun 2007 17:37:18 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail