Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: CrAz3D on January 22, 2004, 05:15 PM

Title: Undo Function
Post by: CrAz3D on January 22, 2004, 05:15 PM
I have a program that loads when my computer is started.  I do not want it to load.  It is written, somewhere I think, in the registry.  I have not found it in the registry.  I have the code that wrote the instructions into where ever, I need to know how to undo what has been done.

WriteProfileSection "windows", "load=" & App.Path + "\" + App.EXEName + ".exe" & vbCrLf & "open=" & App.Path + "\" + App.EXEName + ".exe"""
Title: Re:Undo Function
Post by: K on January 22, 2004, 05:49 PM
It's writing the Load and Open entries in your C:\windows\win.ini

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/writeprofilesection.asp (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/writeprofilesection.asp)

You should open win.ini with your favorite text editor and remove those lines.
Title: Re:Undo Function
Post by: Stealth on January 22, 2004, 05:49 PM
Start -> Run -> MSCONFIG

Plugging each entry into Google will give you a fairly good idea of what it does. If the majority of results deal with pests, it's adware. If they explain what it is, you're set. If nothing appears, it's a virus.
Title: Re:Undo Function
Post by: CrAz3D on January 22, 2004, 05:54 PM
Thank you K for a simple yet direect & helpful answer.  

Start>Run>MSConfig>Startup Fixed it
Title: Re:Undo Function
Post by: SPY-3 on August 27, 2004, 09:32 AM
msconfig is best if you want to remove them but it is also wise to create a system restore point before messing with msconfig incase ur an ideaot and mess something up