In december I have bought CamUniversal, i like the program very much, it's simple to use.

But i'm having a nasty problem, i'm getting many times an error:

HRESULT: The device is not connected

This happens mostly when i push the rocord button again after i have stopped it (recording), also it happens when i schedule the cam or try to use motion detection. It seems that i can record again when i open/move the preview window.

I'm using a TridVid capture device through USB, there is a infrared cam connected to it.

this is strange.
The error could happen if the DirectShow filtergraph could not be build valid.
This could be the case if there are used video codecs, video devices, audio codecs which are not working together porperly.
But it should not happen from time to time.

Perhaps your video/audio codecs are used elsewhere from a different program from time to time?

Are you using two monitors and moving the program or video window from the primary to the secondary and vice versa?