To read from registry -
I'm opening wordpad through my application. The application is used on multiple platforms. I need to find the path to locate wordpad and store in a variable which I can pass using the shell command. Any help will be appreciated.
'get path and assign to variable
'i = shell(variable,1)
'Instead of hardcoding as below
i=shell ("C:\Program Files\Windows NT\Accessories\wordpad.exe",1)
Registry: Read and Write Dword -
hello,
I've been reading and trying a lot of code, but I can't seem to get it to work.
What I would like to do is to read a dword from the registry but also be able to write a new value to it.
The key I need from the registry is the following:
HKCU\Software\Microsoft\Windows\Curr
Registry Read Only -
i want my registry to be read only. i dont want any software to allow edit or create new entry in my registry. But registry should be open when ever i want to open.
can somebody tell me how to achieve this?
thanks
Windows service cannot write/read registry! What should I do -
Hi,
Is it really so that windows services cannot access to registry? Or am I just stupid?
I want to do a windows service which can write and read windows registry, how should I do that? Is it impossible?
Now I try to read some values from registry by calling this getsetting fun
Refreshing the registry -
Hey people......I know how to read and write to and from the registry.....however I'm having problems applying the registry value immediately. Is there any way I can apply the registry value there and then? I'm using Win95 and VB 6.0. Thanks a lot.
Registry Manipulation -
Well, this site is my only other options
can someone please explain how to read / write to the registry,
Im quite knew to VB, myknowledge is somewhat 'dim' (get it? xD..-.- okay, i'll stop :>)
I've read about 5/6 tutorials on how to manipulate the registry and none of them actu
Registry... registry and more registry. -
Ok everybody out there. I was wondering how to write and read the startup registry and how to take paths in and out of it.
Can anyone help me out here?
Thanks!
Read/Write Registry Values -
hie guyz... im a newbie in registry programming, can you just tell me how to simply set and read the registry values, such as dword, string .. etc...
How to read Registry tree -
Hellow,
I have such function:
Private Function Registry_Read(Key_Path, Key_Name) As Variant
On Error Resume Next
Dim Registry As Object
Set Registry = CreateObject("WScript.Shell")
Registry_Read = Registry.RegRead(Key_Path & Key_Name)
End Function
How to r
Update registry from xml file -
I have a program that tweaks the registry. No problems. I'm trying to convert it to read and xml file (no problem) and then update the registry from that file. I've setup the xml file for the registry key to be a node and the subkey and values to be a node. i loop through that and that
Reference for Registry -
Hi, Iam totally new for registry reading and writing.
Plz, let me what are the refernces that i have to set to read registry from VB6.0.
My OS is WindowsNT workstation
Thanks
[ Resolved]Read from registry -
Hello i need code how to read from registry.
so for example i got HKEY_LOCAL_MACHINE\software\myapp\important\name
So i need to read the value of "name" and write it on label
ty
Registry (Save and Read) and Get the # of lines in a string! -
Since I don't know how to properly use API, can someone please write me a code that has 2 functions (1 for writing strings into the registry and the other for reading from the registry!). Thanks for your help.
Windows Service + Registry Access -
hi everyone... i hope you could help me on this. I'm writing an application and it is set to run as a service. I used VAServices.dll and NTSvc.ocx. it's working perfectly fine now. my problem is that when my app is running as a service, it can't read/write from the registry savesetting
Registry sections automatic reading -
hi everyone
I have the following problem...
The program I have has lots of stuff stored in the registry but now for backup reasons I want to develop a module that reads all the values of the application from registry at startup and then saves them in a database and later can be used
Win2k Registry -
How in the heck do you read the registry in W2K of NT?????
I got code that will read from the reg in win 9x but it will not work in w2k or NT.
Yes I have Admin rights.
An easy but urgent Registry Problem, PLEASE HELP **SOLVED** -
Hey, ok what I am trying to do is read an entry from the registry. I have been looking throug a lot of posts on different forums all telling me to use the Registry class. So I tryed this:
[code]
RegistryKey RegTest = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\mysoft\myprog&q
writing/reading to registry -
Hi, I have a login for all my programs that uses a XML file to store the regstraion code. So everytime the program is run it doesnt need to show the login screen. BUT this creates a problem everytime i offer an update because evryone needs thier registration codes again. So i want to s
Read from registry -
Hi guys. Once time again i need help. I need to read some key from registry and write it into textbox.
I know how to read from registry. But i dont know how to write that value to textbox.
HKEY_LOCAL_MACHINE\SOFTWARE\TalkAndTalk\TalkAndTalk
and it needs to read value "password&
how to save into registry in binary format -
I have a group of datas (20,00,12,31) & will like to save it to registry as binary value.
The value of binary will shown in this format (15 00 0C 1F).
I manage to read/write the binary from the registry using regedit. & know how to read the binary using getregvalue (api f
Accessing registry without restrictions -
Hi to all!
Have a bit of a question - we are developing a piece that requires to read and write in the registry, only in it's own values, nowhere else. Having a bit of a difficulties when restricted user attempts to run it. Because of the restriction to access the registry the app
Read INI file then write in Registry & Vice Versa -
can anybody help me to solve this? i have 2 buttons, i want the first to Read an INI file then write contents in Registry and the second would Read the Registry and write in INI file.
Recursive Registry -
Hi, how do I search a registry key for all strings and add them to a listbox:
eg.
The registry key: HKEY_LOCAL_MACHINE\Software\My Project
contains strings such as
AppName
AppVer
AppEXE
AppLocation
I would like the form to search the registry key above, and add any strin
Read Registry Folder to File -
I know how to read a registry string, but how do i take an entire folder out of the registry and save it as a .reg file ?
Thanks,
Saga
reading\writing to registry -
This may be a common sense question, of which I have none, hehe
When you save to or read from the registry do you have to close the registry or end the reading or writing sesion??
I mean will the registry stay open? or do i just need to go in and get what i need and then im done?
urgent pls help..How to read the windows registry -
When an application is installed on Windows OS (95/98/NT),
I believe it writes the Licensing information into windows registry of that machine.
I need to write an application which can read the windows registry and read the licensing information part.
Is it possible to write a
Read Registry Keys -
I want to search a section of the registry, and change keys after the key is read, how do I do that?
For example: I want to read all of the keys that are to open on Windows reboot, and add them to a listbox.
I can read 1 key just fine, but how do I change keys?
Thanks,
Sir Lo
Querying Remote Registries -
Help. I'm new to VB scripting. I'm looking to use a VB Script that I can use with ASP or Windows Scripting to read a registry key from a remote machine and wirte the value of that key in a text file and save it. Everything I've seen is either pure VB or they have the remote registry tu
Internet Explorer (Ie) & Registry -
Hi,
I have written a VB script to change some registry keys used by Internet Explorer (Ie). However, changes made to the registry keys won't take affect immediately in Ie until Ie is restarted.
Does anyone know how to force the Ie to re-initialize so it would read the registry key
Changing registry key value, please help! -
what code do i have to write in VB to change a registry key value from say 1 to 0?
The registry key is located here:
HKEY_LOCAL_MACHINE
SYSTEM
CONTROLSET001
HELLO
and i want that to happen when i click on the command cmdOff
So I would put this and what would i pu
Reading and Writing and Deleting from registry -
I need to read and write from the registry as well as deleting entrys. Anyone got a simple example on how to do it.
I also need to know which encryption method I should use to store passwords in the registry?
Registry - read EVERY key -
Hi,
I'm working on a little program, to clean up the registry, for values refering to files, that no longer exists. I'd like to know, if there is an (easy) way to retrieve EVERY key and values in the registry ?
Best regards
Søren
edit registry -
I would have it needs to make the following things:
1) to write a new record in the registry
2) to read a record from the registry
3) to modify a record in the registry
how can I serve this as vb?
you could write the code to me...
Read Registry Keys. -
Is it possible to read Registry keys? And if so could someone show me the code. And how is it possible to insert keys into the registry????
Registry Question. -
I know how to read and write to the registry, but is there a way to get an entire registry keys contents with all the strings and, strings names??
Registry read\save example wanted -
Hi,
Im looking for an example of how to read and save information to the windows registry. I have been messing around with functions such as GetKeyValue etc but had no luck. If anyone is experienced or knows how to do this would you please reply with a example.
Many thanks
Read in registry with VB6 -
I want to read the registry of Windows 98 and store the information of "HKEY_CURRENT_USER\Control Panel\International\sDecimal".
How can I do that?
My best regards
José Nogueira
Red information from the Registry -
Hi all,
I would like to read data from the registry into my winforms application.
I want to get the current user, and the company name to show in my splash screen. Is getting this information from the registry the right way and where could I find this?
Thanks
Rudi Groenewa
Read binary from registry and cut into parts -
Hi, I've been searching for help to read any reg_binary value and cut it to parts.
Example: Registry value 18 10 20 28 to 4 different textboxes showing the values in decimals.
I'm using Visual Basic 2005 Express Edition.
registry reader -
Hey,
anyone know of a program that can read the user.dat and system.dat files of another computer? That is, I copy another computers registry files and want to read it. Is there a way to do this?
thanks
*RESOLVED* How do I read from and write to the registry -
Hi,
I am using VB.NET on VS2005 to develop an application for a Windows CE 5.0 device.
Does anybody have an example of how to read from and write to the registry.
Any help appreciated.