@Ransombot:
I am sure there is a way to do this , even if I can't answer this question right now.
I think the including of resources into the exe file is very good for small programms
(tools / programms that work without an install routine )
Bigger Programms normaly split the Data and the programm code.
So why do you want the files inside of the exe file?
The speed of the final code is the same if you place the "new Bitmap( )" function in the correct place.
---
The System.Net.Sockets way is not to hard , I have used is in an other project and it worked well. But it is maybe not the best solution.
The .Net 3.0 / 3.5 has also some new ways to comunicate betwen two PC's that shoud make the communication easier.
(Not played with it yet , but I have read a bit about it)
So you don't need to do all the protocol things , you can call an function on the other program ( that runs on a complete diffrent PC )
A nice way would be as well if you use the group chat for a comunication :)
So you could for example play yourself on PC#1 and controll the Bot via Chat kommands on PC#2.
I am sure there is a way to do this , even if I can't answer this question right now.
I think the including of resources into the exe file is very good for small programms
(tools / programms that work without an install routine )
Bigger Programms normaly split the Data and the programm code.
So why do you want the files inside of the exe file?
The speed of the final code is the same if you place the "new Bitmap( )" function in the correct place.
---
The System.Net.Sockets way is not to hard , I have used is in an other project and it worked well. But it is maybe not the best solution.
The .Net 3.0 / 3.5 has also some new ways to comunicate betwen two PC's that shoud make the communication easier.
(Not played with it yet , but I have read a bit about it)
So you don't need to do all the protocol things , you can call an function on the other program ( that runs on a complete diffrent PC )
A nice way would be as well if you use the group chat for a comunication :)
So you could for example play yourself on PC#1 and controll the Bot via Chat kommands on PC#2.