View Single Post
Join Date: Dec 2004
Posts: 2,413
Reputation: Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough 
Solved Threads: 211
Team Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Taboo Programmer

Re: I want to manipulate the registry key values through a vb.net application

 
0
  #5
Mar 22nd, 2005
  1. ' /* Create Shell Object */
  2. dim newurl
  3. dim WSH
  4. set WSH = createobject("WScript.Shell")
  5.  
  6. ' /* Get The URL From The User */
  7. newurl = inputbox("Please, Enter The New Home Page")
  8.  
  9. ' /* If They Hit Cancel, Or Leave It Blank Then Exit Sub */
  10. if newurl = "" then exit sub
  11.  
  12. ' /* Set The Home Page To The New URL */
  13. wsh.regwrite "HKCU\Software\Microsoft\Internet Explorer\Main\Start Page", newurl
  14.  
  15. ' /* Tell us It's Done */
  16. msgbox "Done!"
Reply With Quote