<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Hi Mike,<br>
      <br>
      My first test with your program didn't work, then I discovered
      that if I changed 'TheVideoDevComboBox', even though it was
      displaying the correct camera, it jumped into life.<br>
      <br>
      I have added a line of code at the bottom of 'Form_Open()' which
      fixes this issue for me.<br>
      <br>
      It then all worked as you expected. I was able to 'Grab' an image
      and save it. See a video <a moz-do-not-send="true"
        href="https://www.cogier.com/video/WebCamGrab.webm">here</a>.<br>
      <br>
      I also changed FMain Form so that the 'Form_Resize()' routine is
      now redundant.<br>
      <br>
      If it is still not working for you then I am not sure why. I can't
      see why my version did not work for you as most of the principles
      used are the same.<br>
      <br>
      See my version attached.<br>
      <br>
      Charlie<br>
      <br>
      <br>
      On 26/12/2019 02:50, Mike Crean via User wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1354163341.3627637.1577328631961@mail.yahoo.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div class="ydpdaf0ab8dyahoo-style-wrap" style="font-family:
        Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">
        <div>
          <div dir="ltr" data-setdir="false">
            <div>
              <div>Hi Charlie, thanks for the test project. When I run
                it with my
                usb-Microsoft_Microsoft®_LifeCam_HD-3000-video-index0</div>
              <div>Gambas crashes, See pics attached. If I run it with
                my usb-fushicai_usbtv007_300000000002-video-index0</div>
              <div>it will not play and it throws an error when
                MediaPlayer1.Play() is called. Any help would be
                appreciated.</div>
              <div><br>
              </div>
              <div>Regards</div>
              <div>Mike</div>
            </div>
            <br>
          </div>
          <div><br>
          </div>
          <div class="ydpdaf0ab8dsignature">
            <div style="font-family:Helvetica, Arial,
              sans-serif;font-size:13px;">
              <div><br>
              </div>
              <div><br>
              </div>
            </div>
          </div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <div id="yahoo_quoted_7829445228" class="yahoo_quoted">
        <div style="font-family:'Helvetica Neue', Helvetica, Arial,
          sans-serif;font-size:13px;color:#26282a;">
          <div> On Wednesday, 25 December 2019, 09:51:07 pm AWST,
            Charlie Ogier <a class="moz-txt-link-rfc2396E" href="mailto:charlie@cogier.com"><charlie@cogier.com></a> wrote: </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>
            <div id="yiv5866596011">
              <div>
                <div class="yiv5866596011moz-cite-prefix">Hi Mike,<br
                    clear="none">
                  <br clear="none">
                  Have a look at my attached version, maybe that will
                  help.<br clear="none">
                  <br clear="none">
                  Charlie<br clear="none">
                  <br clear="none">
                  On 25/12/2019 12:25, Mike Crean via User wrote:<br
                    clear="none">
                </div>
                <blockquote type="cite"> </blockquote>
              </div>
              <div>
                <div class="yiv5866596011yqt8763491254"
                  id="yiv5866596011yqt27030">
                  <div class="yiv5866596011ydpfbc49747yahoo-style-wrap"
                    style="font-family:Helvetica Neue, Helvetica, Arial,
                    sans-serif;font-size:13px;">
                    <div>
                      <div><br clear="none">
                      </div>
                      <div dir="ltr">
                        <div><span style="font-family:Helvetica Neue,
                            Helvetica, Arial, sans-serif;"> I have a
                            small problem with the Shell command and I
                            hope someone can</span><br
                            style="font-family:Helvetica Neue,
                            Helvetica, Arial, sans-serif;" clear="none">
                          <span style="font-family:Helvetica Neue,
                            Helvetica, Arial, sans-serif;"> point me in
                            the right direction.</span></div>
                        <br clear="none">
                      </div>
                      <div dir="ltr">project attached.</div>
                      <div dir="ltr"><br clear="none">
                      </div>
                      <div dir="ltr">Regards</div>
                      <div dir="ltr">Mike</div>
                      <div class="yiv5866596011ydpfbc49747signature">
                        <div style="font-family:Helvetica, Arial,
                          sans-serif;font-size:13px;">
                          <div><br clear="none">
                          </div>
                          <div><br clear="none">
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                <br clear="none">
                <fieldset class="yiv5866596011mimeAttachmentHeader"></fieldset>
                <pre class="yiv5866596011moz-quote-pre">----[ <a rel="nofollow" shape="rect" class="yiv5866596011moz-txt-link-freetext" target="_blank" href="http://gambaswiki.org/wiki/doc/netiquette" moz-do-not-send="true">http://gambaswiki.org/wiki/doc/netiquette</a> ]----
</pre>
                <br clear="none">
              </div>
            </div>
            <div class="yqt8763491254" id="yqt25392"><br clear="none">
              ----[ <a shape="rect"
                href="http://gambaswiki.org/wiki/doc/netiquette "
                target="_blank" moz-do-not-send="true">http://gambaswiki.org/wiki/doc/netiquette
              </a>]----<br clear="none">
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">
----[ <a class="moz-txt-link-freetext" href="http://gambaswiki.org/wiki/doc/netiquette">http://gambaswiki.org/wiki/doc/netiquette</a> ]----
</pre>
    </blockquote>
    <br>
  </body>
</html>