7
Answers

not looking well arranged

I have an website project build on ASP.Net extension. My website is working good in Internet Explorer but in Mozilla Firefox or Opera lots of controls are overlapped. After very goggling I got lots of solutions like you can set-up the Web.config file as

<configuration>
<system.web>
<broswerCap>

here will be some settings, but how i don't know the process, even and also how to call it from each and every pages.

</browserCap>
</system.web>
</configuration>

Lots of internet articles saying me to setup the Machine.config to eliminate such problem. I know it that microsoft is not built on standard HTML 4.0 format and this is the cause to map the locations as per different browsers.

Actually I want to run my website project well-arranged on my localhost in Mozilla Firefox, Opera etc. So, that I never get any problem at the time of hosting.


Will you please suggest me step by step process to handle such problem? help me
Answers (7)
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 ;-}