I removed all the database stuff, extra buttons, textboxes, etc and refined it down to just a video and snapshot record program.
I then added the code to my X10, Dallas one wire program.
Now the program controls my X10 stuff, monitors motion sensors, etc
monitors humidity and temp sensors in my green house,
turns on fans and pumps in the green house,
and can now display and record video and snapshots.
I have a multiplexer attached the the parallel port on my PC that is able to switch all the different cameras via software.
My video surveilance software scans all the camaera's via that mux
I want to be able to switch the mux via my program so I can take snapshots when a certain motion sensor is triggered.
Got to email the company I got the mux from and ask if I can get access to the switching.
Thanks again Tuice for the help.