By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,124 Members | 1,945 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,124 IT Pros & Developers. It's quick & easy.

Editing Windows Registry

P: n/a
Hello

I would like to add a key to the windows registry in the HKEY_CLASSES_ROOT
from code.

Does anyone know how to do this ?
Thanks
G Gerard
Dec 30 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Hi,
I would like to add a key to the windows registry in the
HKEY_CLASSES_ROOT from code.

Does anyone know how to do this ?
There's a A97 sample ( Registry Functions ) which you can find here :

http://www.amazecreations.com/datafast/Download.aspx

Regards
Jens
Dec 30 '06 #2

P: n/a
.... but adding items to the registry (apart from HKEY_CURRENT_USER) are
open to failure due to Windows security.

--
--
Terry Kreft
"Jens Schilling" <Je************************@fissership.dewrote in message
news:en**********@online.de...
Hi,
>I would like to add a key to the windows registry in the
HKEY_CLASSES_ROOT from code.

Does anyone know how to do this ?

There's a A97 sample ( Registry Functions ) which you can find here :

http://www.amazecreations.com/datafast/Download.aspx

Regards
Jens

Jan 2 '07 #3

P: n/a
Hi, Terry
... but adding items to the registry (apart from HKEY_CURRENT_USER)
are open to failure due to Windows security.
Yes, sorry - I did not pay enough attention to the specific registry key.

Regards
Jens
Jan 2 '07 #4

P: n/a
I knew that, which is why I put my reply as an addendum to yours (hence the
.... at the start), as I guessed that's what you would have said if you'd
noticed <g>.

--

Terry Kreft
"Jens Schilling" <je************************@fissership.dewrote in message
news:en*************@news.t-online.com...
Hi, Terry
... but adding items to the registry (apart from HKEY_CURRENT_USER)
are open to failure due to Windows security.

Yes, sorry - I did not pay enough attention to the specific registry key.

Regards
Jens


Jan 2 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.