It's almost certainly possible. However, you've shown us no code, and told us nothing about what your programs do, nor about how you wish to combine their functionality. How on earth do you expect us to be able to help you?
Please don't try and fragment discussion of your problem across multiple threads. It wastes peoples' time, and ultimately reduces the quality of the help you receive.