Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DELETING FROM THE REGISTRY

Status
Not open for further replies.

27962796

Technical User
Dec 4, 2002
8
GB
Im running Windows98, and im having trouble deleting a key from the registry...

The key i have created is :-
SetStringValue "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run", "Pop-up Stop", App.Path + "\" + App.EXEName + ".exe"

but when i try to delete the key using the following :-
DeleteKey "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\Pop-up Stop"
it doesnt delete...

Is there any way i could delete that,so it doesnt run at startup through vb. Any help would be appreciated. Thanks in advance

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top