473,325 Members | 2,308 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Editing Windows Registry

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
4 1638
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
.... 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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: Paul Rubin | last post by:
As what must be penance for something or other, I'm needing to release a Python app for use under Windows XP. Please be gentle with me since I'm a Un*x weenie and the only thing I've had much...
2
by: Markali A. | last post by:
Hello, I'm absolutely new to programming, so please don't be too hard on me... I'm trying to make a simple form application to hide or show hidden files. When I try to run the application I...
0
by: Daniel Passwater via DotNetMonster.com | last post by:
I've built a screen saver in C#. Now I'm trying to load it and make it the current screen saver. I found the tegistry key that needs to be changed, but I can't seem to change it via batch file. Can...
2
by: Sathyaish | last post by:
I've written an Add-in for MS Outlook and in Visual Studio .NET 2003, I also created a setup project to install the add-in. It all works well. When the user double-clicks on the .msi file to...
49
by: indiauday | last post by:
Hello friends, I am new user to this community. My problem is when I try to open registry editor by start> run > regedit, it displays this message. "Registry...
5
by: gbngrg | last post by:
I have no idea with what i got infected. But i lost my task manager (got that fixed but), Registry editing has been disabled, run tab and shutdown tab in the start menu is missing. Now even though i...
2
by: rodpolako | last post by:
Hi everyone, I am trying to write a program that can make some changes into a windows XP registry. My program works great when it is working on the local registry. What I want to do is to be...
3
by: Rafath | last post by:
Hello iam new to this forum but i hope this will help me in solving the case The error iam getting is "Registry editing has been disabled please contact your system administrator" mines is a...
4
AnuSumesh
by: AnuSumesh | last post by:
Hi, One of our customer has following requirement: When user login to web site, some key should be added to client side registry and when he logs off, then that key should be deleted from...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.