Help - Search - Members
Full Version: Interesting VBScript
Piriform Forums > Computer Help and Discussion > The Lounge
Winapp2.ini
I came across this little VBScript that'll disable those annoying popup balloons I so oft get from Windows Defender ohmy.gif


/!\ Don't use this unless you understand what you're doing, please. /!\
CODE
Option Explicit

'Declare variables
Dim WSHShell, n, MyBox, p, itemtype, Title

Set WSHShell = WScript.CreateObject("WScript.Shell")
p = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\"
p = p & "EnableBalloonTips"
itemtype = "REG_DWORD"
n = 0

WSHShell.RegWrite p, n, itemtype
Title = "Balloon Tips are now Disabled." & vbCR
Title = Title & "You may need to log off/log on" & vbCR
Title = Title & "For the change to take effect."
MyBox = MsgBox(Title,4096,"Finished")



Really, I used it just because I spend a lot of time playing with software and windows defender oft' pops up no less than 10 times an hour, If you don't like not having balloon tips you can always delete the string this code creates. :]
Andavari
If you're going to offer things that write into the registry, at the very least also supply and undo file!
tcoffeep
So it rewrites a portion of the registry? If people really wanted to use it, wouldn't they just do it using regedit?

[edit] : I don't see a point in using a code that one could do themselves by hand, unless, of course, they're in a lazy mood.

[edit-edit] : It would actually work better, IMHO, if they did the reg-change by hand, because then they could see what they're changing, and change it back if it fscked it up. just my opinion.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.