DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Visual Basic 4 / 5 / 6 (http://www.daniweb.com/forums/forum4.html)
-   -   Have a question.... (http://www.daniweb.com/forums/thread201133.html)

iantoya Jul 2nd, 2009 3:23 am
Have a question....
 
Is making a program altering a registry of an OS?
Thanks for the answers

ithelp Jul 2nd, 2009 5:33 am
Re: Have a question....
 
Yes you can alter windows registry at least using VC++

vb5prgrmr Jul 2nd, 2009 10:33 am
Re: Have a question....
 
Hmmm... I thought we were in the VB Classic forum!!!

Yes, just opening the IDE and creating a program alters the registry of the machine the program was designed on.

Oh, you mean when you install the program? Yes, when you install the program on another machine there will always be registry entries. The more dependancies you have the more entries will be made (unless those dependancies are already on the computer in question).

As for the question that was attempted to be answered by the VC++ answer, well you can read, update, and insert values into the registry with the SaveSettings and GetSettings VB Functions or if you need more control, you can use the following API's

RegCreateKey or RegCreateKeyEx
RegDeleteKey
RegQueryValue or RegQueryValueEx


Good Luck

iantoya Jul 3rd, 2009 6:11 am
Re: Have a question....
 
Thanks for the information. Solved thread here.


All times are GMT -4. The time now is 1:14 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC