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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modify the registry

Status
Not open for further replies.

kahaji

Programmer
Joined
Oct 15, 2002
Messages
5
Location
US
Hi
I was preparing scripts for installing the user DLLs for Crystal Reports using Visual Basic and Windows Scripting host (WSH). I'd like to know what really is the standard way of modifying the system registry to install the application.
Another part of my question is that in Windows Scripts, the methods provided are
1. RegRead
2. RegWrite
3. RegDelete
There is no method called RegExists or something that'd help me figure if the registry entry exists.
Any help would be appreciated.
Thanks
Khuzaima
 
To check for an existing registry entry:

its a bit crude but if you know what your looking for you could use

result=GetSetting(appname, section, key,"NotSet")

if result="NotSet" then
'create etc
end if
 
Look in to your Vb folder.. go to \VB98\Template\Code folder.. u will find some info there

All the Best
Praveen Menon
pcmin@rediffmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top