how can i write to registry,i know there's exemple at Vb Square but i don't really understand it.What i do to put my program in the registry.
Printable View
how can i write to registry,i know there's exemple at Vb Square but i don't really understand it.What i do to put my program in the registry.
I'm sorry but
You can't put your program in the registry, but you can save data for your program in the registry (height, top, last 10 opened documents etc.)Quote:
What i do to put my program in the registry.
Is that what you want?
look at the kedaman's site: http://www.kedaman.com
He has a good registry module with some examples.
have fun
You know what i mean by >putting my program in the registry.
But if i don't want to save setting, what is the use of writting to the registry. Is it fundamental to write to the registry if i install my program????????/
Obviously I didn't.Quote:
You know what i mean by >putting my program in the registry.
If you don't want to save data then there's no need for the registry.
It's fundamental for the installing of the prog I think, but the installer you use (P&D Wizard? or InnoSetup, well almost any installer) will do that automaticly for ya.
The registry can be handy for doing some tweaking (changing the webbrowser home address, putting your program in the context(right-click)menu of a specific file/folder).
OK it's fundamental, the installer will write to registry. But what is it that they write.
Cuz i'm doing my own setup program(cuz i needed to give the user the choice of witch application to install, i have 8 of them and so far i can gather all the information depending on what the choose, but i need to know if i have to write to the registry,and if yes what to write)
Open DRIVE\PATHTO\DevStudio\VB\setupkit\setup1
project and look what they write to the registry,
and use this: http://www.vb-world.net/articles/customsetup/ as guideline.