vB code off?????????
vB code seems to have been turned off in here, any reason for that?
dfbvdfbsdfb sadgasdgsadbsadb
asgsadgsdgsdgsadgsdag
- d
- dvbg
- b
- a
- w
123
Archive: vB code off?????????
vB code off?????????
vB code seems to have been turned off in here, any reason for that?
dfbvdfbsdfb sadgasdgsadbsadb
asgsadgsdgsdgsadgsdag
123
We were trying to get things like this to work:
ReadRegStr $1 HKLM "Software" "Microsoft" "IsShit"
; removes $9 from $1. keep $9 intact.
Function removeFromClassPath
Push $2
Push $3
Push $4
StrCpy $2 0 ; search start
StrLen $3 $9 ; get length of string to remove
loop:
StrCpy $4 $1 $3 $2 ; copy substring of string starting at $2
StrCmp $4 "" done
StrCmp $4 $9 found
IntOp $2 $2 + 1
Goto loop
found:
StrCpy $4 $1 $2 ; $4 is start of string
IntOp $2 $2 + $3
StrCpy $3 $1 "" $2 ; $3 is end of string
StrCpy $1 $4$3 ; $1 is new string
done:
Pop $4
Pop $3
Pop $2
FunctionEnd