Have a question....

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved

Join Date: Jun 2009
Posts: 6
Reputation: iantoya is an unknown quantity at this point 
Solved Threads: 0
iantoya iantoya is offline Offline
Newbie Poster

Have a question....

 
0
  #1
Jul 2nd, 2009
Is making a program altering a registry of an OS?
Thanks for the answers
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,855
Reputation: ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all 
Solved Threads: 120
ithelp's Avatar
ithelp ithelp is offline Offline
Posting Virtuoso

Re: Have a question....

 
0
  #2
Jul 2nd, 2009
Yes you can alter windows registry at least using VC++
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 860
Reputation: vb5prgrmr will become famous soon enough vb5prgrmr will become famous soon enough 
Solved Threads: 157
vb5prgrmr vb5prgrmr is offline Offline
Practically a Posting Shark

Re: Have a question....

 
0
  #3
Jul 2nd, 2009
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
If anyone has helped you solve your problem, please mark your thread as solved.

Thanks
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 6
Reputation: iantoya is an unknown quantity at this point 
Solved Threads: 0
iantoya iantoya is offline Offline
Newbie Poster

Re: Have a question....

 
0
  #4
Jul 3rd, 2009
Thanks for the information. Solved thread here.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC