3
Answers

Who beleive to this video???

Israel

Israel

10y
690
1
Hi!

I do try this code but its doesnt works at 100%. Why?
Just because its allow ONLY to send a SMS inserting phonenumber inside of that line of code (see the video please). Not inside of a textbox. Only allow to insert message inside of textbox.
Someone already test it and its works without inserting in the line of code?

https://www.youtube.com/watch?v=FHIwdRkLfvs
Answers (3)
0
Keskin

Keskin

NA 5 0 16y
Hi again Bechir Bejaoui,
I have tried the code you suggested in http://www.c-sharpcorner.com/UploadFile/yougerthen/810262008070218AM/8.aspx page and it really helped me. Thank you so much.

But, I want to ask one last question.
With little bit searching on the net, I found some code and I can get the GUID of the webcam attached to the computer. I have three webcams attaced to my computer, and for example, one of the GUID is @device:pnp:\\?\usb#vid_05a9&pid_4519#5&1fa5549f&0&4#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global and I need to place this GUID somewhere in your code. But I cant really figure where to do so. I think I should point this GUID to the SendMessage function:

SendMessage(hHwnd, WM_CAP_DRIVER_CONNECT, DeviceID, 0)
but where? Because this is the place where Windows wants me to select the webcam manually. Since I can get the GUID of webcam, I dont want to select it but to be selected by the program automatically.But how?

Any advice?
Thanks again
0
Bechir Bejaoui

Bechir Bejaoui

NA 20.1k 5.3m 16y
you can hide this dialog box and connect directly to you device if it is detected by the system of corse, all what you need is a little rectification of the code
0
Keskin

Keskin

NA 5 0 16y
HiBechir Bejaoui,
Thanks for the response. But what I need is that the user must select the webcam device from the program, not via seperate window or select device dialog. I want to integrate webcam selection into the program. Therefor I need a list of webcams attached and connect the webcam device to a picturebox or something.

Thanks
0
Bechir Bejaoui

Bechir Bejaoui

NA 20.1k 5.3m 16y
OK, then read my both articles about the issue

http://www.c-sharpcorner.com/UploadFile/yougerthen/610262008064756AM/6.aspx

http://www.c-sharpcorner.com/UploadFile/yougerthen/810262008070218AM/8.aspx

If you're staisfied then mark the question as answered and dn't forget give your rates and suggestions about the both articles ;-}