Make sure you're actually setting a address and that what you're trying to set is a number. Like WriteInteger("s1_sp64_ship", &H37A9218, 255) or WriteInteger("s1_sp64_ship", &H37A9218, Int32.Parse(textBox1.Text)). Also make sure the address is correct. If you need help try looking at distinys base and see how he does it.