In some of David's code using the VideoCapX OCX, he used this:
Help says the variables can be LONG, so this works as well:
If there any reason to use the Variant variable instead of a Long variable? For repeated calls, I'd guess the Variant variable would slow things down just a bit?
Code:
Local vVar as Variant vVar=%FALSE As Long : Object Let oOcx.PreviewAudio = vVar ' no audio
Code:
Local v as Long v = %False : Object Let oOCX.PreviewAudio = v
Comment