Private string1 As Long
Private string2 As Integer
Private RBuff1 As Long
Private RBuff2 As Single
Private RBuff3 As Integer

#end region

#Region "Check Process/ReadDll"

Private Function readdll(ByVal modulename As String)
Dim procmodule As ProcessModule
Dim constant1 As Integer
Dim constant2 As Long
Dim constant3 As Process() = Process.GetProcessesByName("iw4mp")
If constant3.Length = 0 Then
Return 0
End If
For Each procmodule In constant3(0).Modules
If modulename = procmodule.ModuleName Then
constant1 = procmodule.BaseAddress
End If
Next
constant2 = constant1
Return constant2
End Function

4. Go back to the designing form and make a textbox, a button and a label

5. Doubleclick the button and add
[php]memoryh4x(&H12BC89C, textbox1.text, 4) 'Exp code[/php]
If you want to set a default value like level 70 then [php]memoryh4x(&H12BC89C, 2516000, 4) 'Exp code[/php]
Just fill in whatever value u want, and put it on a button as above.

6. Now debug and test it in barracks!
If everything works, You just made your first trainer in Visual Basic

Credits:
Me for tutorial
Blubb for his awesome module and funcrions forund here
And last CK for his cheat engine tables in attachments

Here are some cheat engine etables so you can find all the adresses needed!!