Thanx Mongo, I really didn't think that it was possible, I thought it was a bit stupid me even asking that question, great code.

But is there anyway to say put the function into a module you already have in your .exe? or make a module at run time in the exe and put the code in that sort of thing so that you can run the function in the module along side your form so you can send things to the form?

thanx again.

[Edited by Crypt on 05-05-2000 at 06:15 AM]