Graham Brown wrote on 2011-07-29: > Hi > > Form opens with black preview window caption is "Using Video Capture: > connected 640x480". > Buttons for Get Frame, Preview and Close are visible. > > Clicking preview makes no difference still get a black preview area > > Does this code run for you? I've not seen anything running so possibly > the code didn't run in the first place? > > Regards > Graham >
Graham, It worked for me. Sony VAIO VPCEC, Windows 7 Home Premium, VFP 9 SP 2 (no hotfixes) When you see the "connected 640x480" caption, and you click Preview, with this window still open, if you can connect to the camera with other software, you are apparently connected to some other device. This should error. I ran it once, but now it won't restart. I get a dialog asking which device to connect to. There's only one on the laptop. Then I get the "failed to connect" in the caption. I even restarted the VFP session. This is very similar to the code I've used in a production application. Tracy Pearson PowerChurch Software _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

