It deletes very fast...
Hello, I'm trying to fit a progress bar in to my cleaner but I
Current do not know how to set an increment for each deleted item.
All that I have right now is when I hit "Clean" its already cleaned but the
progress bar loads very slowly to 100% when technically it only reacts to the
"Clean".
Example of what I currently want:
.Jpg deleted = [| ]
.Txt deleted = [|| ]
Example of what its currently doing:
"hits button" = [|||||||]
Last edited by =Advocate=; 07-26-2010 at 08:59 AM.
It deletes very fast...
It does I know that, But I aiming for it to follow what it deletes.
Hmm Try This Method
This Should WorkCode:If Progressbar1.Value = 50 Then '(i took 50 for an example) 'your code for the thingy here end if If Progressbar1.value = 100 Then '(as i said b4 i took 100 as an example) 'your code here End If
Change 50 and 100 with other numbers if you want.
Last edited by WootXD; 07-26-2010 at 09:44 AM. Reason: The Edited Code
Or you could do it better and say
GLOBAL:
dim totalchecked as integer
then in your checkboxes checkchanged
if CheckBoxX.Checked = True
totalchecked += 1
else
totalchecked -=1
end if.
Then in your cleaning event after each seperate cleaning sequence
add
ProgressBar1.Value += (100/totalchecked)
something like that
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)