LEADTOOLS Support
General
General Questions
.NET Capture control: Refreshing video devices
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, December 2, 2010 8:35:49 AM(UTC)
Groups: Registered
Posts: 5
Hi,
I'm using ltmm v17 in C#.
Is it possible to refresh a capture control's video device list so that if a new device is plugged in and recognized while the program is running it is added to the video device collection?
Previously I had done this 'refresh' by re-instantiating the whole capture control object - messy, but it worked. However now I am using a cap. control drawn to the form at design time rather than a runtime control I am free to instantiate as I please (I had to do this in order to resolve a previous licensing issue I was having).
Any ideas? All help is appreciated,
Kind Regards,
Tony.
#2
Posted
:
Sunday, December 5, 2010 6:43:18 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Tony,
You can add calls to the Leadtools.Multimedia.VideoDevices.Refersh() method in your code.
#3
Posted
:
Tuesday, December 7, 2010 12:00:43 PM(UTC)
Groups: Registered
Posts: 5
lol, well what do you know. A refresh method. Thank you, I should really go reread the help docs I guess.
LEADTOOLS Support
General
General Questions
.NET Capture control: Refreshing video devices
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.