-
I added a test program i made to my startup folder and what it does is stop icq from working everytime icq starts using findwindow and destroy window api.And it works fine but when i tried to delete the program i got a
"Path/access error" and i cant delete it..
HELP!!!!!!!!!!
-
try rebooting, then deleting the program.
if that doesnt work then try to reboot and make sure that the program is not running, then delete it...
if that still doesnt work, then try changing the shortcut so it points to something else, or doesnt point to anything, and then try to delete it.
-
None of that will work.
I stoped it from working before by changing the programs attrinutes from archive to read only but when i booted up again that didnt help no more.
Damn this makes me mad... ****
any other ideas?
-
Think this will work?
I got the classname for the window of the program itself
even though it is a invisible form.I sET THE "gET CLASSNAME" api to search for the window title of
"Form1" and since that is the only program that i made that is running on my computer with the window title of "Form1" i guess i could now make a program that deletes the window that says "Form1" on it. The classname i got from it was
"ThunderRT6FormDC"
I never got a classname like this before so am gonna try to delete the program that corresponds to that classname.
Any opinions? or better ideas will be appreciatede.
-
Thunder was the code name for Visual Basic 1, so all VB controls / forms start with Thunder. The class name you got was the standard for a VB6 form compiled as an EXE. Look in the registry under HKCU\Software\Microsoft\Windows\CurrentVersion\Run, and then RunOnce, and then both of those under HKLM. Delete any references to your program.
-
I didnt add it to my regestry i added it to my startup folder...
I seen a post here on vb-world that matthew gates answered too about adding a program to the startup folder and then deleting it..
the code he used is what i used to add it to my startup folder..but i used the same Kill function as he did ..but it wont delete the thing from the startup folder... i get a error that says "Path/access error" i know i put the correct filepath, so i tried to delete the program from it's own menu and i got another error saying "Cannot delete The specified file is being used by windows" .grrrr
so how would i stop windows from using it! Do i boot up from DOS and the try do delete it?
-
That's probably the easiest way.