It would be possible to help you if you would tell us a bit more what you excatly want to do. As for topic, i dont have a clue what you are wanting to do.
My mate and I were once working on a program for Runescape that simulated keypresses and mouse actions. This was in VB and he managed to make an 'autotyper' that would repetitively type a message and chat it for selling stuff on the game, he tried to sell it on Ebay but Jagex got it removed. But I dunno if you can do that stuff in QB/FB sorry .