Basically I want a server that allows the client to connect to the other computer so they can view the screen(take control if possible), and also have a client program where all you need is the ip with the server on, and you hit connect and you can see it. It doesnt have to have all the options that VNC has, for now just the basics (above). Thats basically what I'm looking at.
Well, it would be no problem creating a server (I'm hoping you would want it to require a password) that would take a snapshot of the screen, and send it back to you. The problem I'm looking at, is the speed of such a program, and the bandwidth of such a program. In order to write a program to actually take over the other computer (which can be done), you have to be able to monitor (in order to see on your screen what is happening on theirs) in real time. That's a lot of snapshots, and a lot of bandwidth. Could it be done? Sure. Are there going to be some issues with it....certainly.
Well, I don't foresee it slowing down the server a whole lot (maybe after you take control of the workstation.... some). I see it being choppy, and fairly annoying to work with on the client machine. Bottleneck effects and all other kinds of crap. Now, the best way to do it is to use a UDP socket (the same kind that streams movies and video) for the recieving images portion, and a tcp socket for the control portion.
I'll give you any assistance that I can, but I have a lot on plate (by way of projects) at the moment that take a significant amount of my time. Let me know what you need help with, and I'll see what I can't do.
I'm an advocate of VB6. I think it's a better structured system, and a better established system. I also suggest using socketwrench (http://www.catalyst.com) for the socket portion (socketwrench is an activeX control that is powerful, and pretty easy to use). The very best language to code something like this in, would Be A C language. By tradition, it's faster processing, but would require crazy amounts of code. This leads me to my suggestion of VB6 with socketwrench.
Let me break it down. A Server, is a program, that accepts a connection over a network. So, A Web Server, Accepts A Connection Over A Network, using port 80. An FTP Server is just a program that listens on port 21. The list goes on, and on. Now, I have actually messed up my windows box last night :(, but it should be functional soon, and I can code a skeleton server for you, with the idea's of how it's done.
Ok, Here is the skeleton outline of a server. You specifiy a port number, and click listen, and it will accept connections on that port. Right now, it's very simple. A Client can connect on the specified port, and send data.... the server program (attached) will accept whatever is sent, and display that information in a msgbox. This is the basic structure of a server in VB. It's fully commented for ease of use, readability, and understandability. Remember, You need to download and install catalyst socketwrench (freeware edition) in order for this server to work.
public class GrossmontBank
//class variables (global - accessible throughout this class)
//scanner object to be used throughout
private static Scanner input = new Scanner(System.in);