What's the easiest way to control a tiny electromagnet?

First, read this:

Then please give a LINK to the

Perhaps if you explained wat you are trying to achieve rather than your notion of HOW you will do it?