Click here to Skip to main content
15,917,642 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to print (and preview) any document - but not with CrystalReport Pin
E_Gold21-Nov-09 8:41
E_Gold21-Nov-09 8:41 
GeneralRe: How to print (and preview) any document - but not with CrystalReport Pin
Luc Pattyn21-Nov-09 9:04
sitebuilderLuc Pattyn21-Nov-09 9:04 
AnswerRe: How to print (and preview) any document - but not with CrystalReport Pin
dojohansen23-Nov-09 9:35
dojohansen23-Nov-09 9:35 
Questionquick combobox question Pin
Ronni Marker21-Nov-09 5:36
Ronni Marker21-Nov-09 5:36 
AnswerMessage Closed Pin
21-Nov-09 5:45
stancrm21-Nov-09 5:45 
GeneralRe: quick combobox question Pin
Ronni Marker21-Nov-09 6:04
Ronni Marker21-Nov-09 6:04 
GeneralRe: quick combobox question Pin
PunkIsNotDead21-Nov-09 18:21
PunkIsNotDead21-Nov-09 18:21 
QuestionAPI explanation request [modified] Pin
mehrdad33321-Nov-09 0:15
mehrdad33321-Nov-09 0:15 
AnswerRe: API explanation request Pin
Richard MacCutchan21-Nov-09 0:35
mveRichard MacCutchan21-Nov-09 0:35 
GeneralRe: API explanation request Pin
OriginalGriff21-Nov-09 0:40
mveOriginalGriff21-Nov-09 0:40 
GeneralRe: API explanation request Pin
#realJSOP21-Nov-09 1:00
professional#realJSOP21-Nov-09 1:00 
GeneralRe: API explanation request Pin
Richard MacCutchan21-Nov-09 6:23
mveRichard MacCutchan21-Nov-09 6:23 
GeneralRe: API explanation request Pin
mehrdad33321-Nov-09 8:03
mehrdad33321-Nov-09 8:03 
GeneralRe: API explanation request Pin
dojohansen23-Nov-09 9:41
dojohansen23-Nov-09 9:41 
GeneralRe: API explanation request Pin
Richard MacCutchan23-Nov-09 12:14
mveRichard MacCutchan23-Nov-09 12:14 
GeneralRe: API explanation request Pin
dojohansen23-Nov-09 23:29
dojohansen23-Nov-09 23:29 
GeneralRe: API explanation request Pin
Richard MacCutchan24-Nov-09 2:53
mveRichard MacCutchan24-Nov-09 2:53 
GeneralRe: API explanation request Pin
dojohansen23-Nov-09 23:33
dojohansen23-Nov-09 23:33 
AnswerRe: API explanation request Pin
#realJSOP21-Nov-09 1:06
professional#realJSOP21-Nov-09 1:06 
GeneralRe: API explanation request Pin
mehrdad33321-Nov-09 8:02
mehrdad33321-Nov-09 8:02 
AnswerRe: API explanation request Pin
#realJSOP22-Nov-09 1:09
professional#realJSOP22-Nov-09 1:09 
Thank you for putting the proper tags around your code. The first thing that jumps out is that you're using int types for your interop methods. You should be using IntPtr so that the code will run reliably on both 32-bit and 64-bit operating systems.

Beyond that, I think you're going to have to find some additional code (or technique) that allows you to select a connected video capture device. I believe this will involve familiarity with the DirectX SDK, and more specifically buding what they call "graphs" to connect the various devices.

You may be able to use WMI to detect devices connected to the system (especially if they're USB or Firewire devices, but I've never done this before, so yo're gonna have to do the research.

Ain't programming fun?

.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

GeneralRe: API explanation request Pin
mehrdad33322-Nov-09 8:52
mehrdad33322-Nov-09 8:52 
GeneralRe: API explanation request Pin
dojohansen23-Nov-09 9:49
dojohansen23-Nov-09 9:49 
QuestionHelp required Regarding winpcap Pin
hunzabasharat20-Nov-09 20:27
hunzabasharat20-Nov-09 20:27 
QuestionPrinting a datagrid Pin
JollyMansArt20-Nov-09 16:59
JollyMansArt20-Nov-09 16:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.