>To get at the dimensions of a video from within VFP:
>
ov=CREATEOBJECT("WMPlayer.OCX")
>ov.currentMedia=ov.newMedia("file://c:\scratch\test.mpg")
>?ov.currentMedia.imageSourceHeight
>?ov.currentMedia.imageSourcewidth
>
>Any suggestions on how to do this from an ASP application so you can determine the actual H&W sizes of a video snippet on the fly? I'm concerned that instantiating a media player (per example above) like you can do with an interactive application will cause problems. Thanks!
What you meant.. If it is the X,Y aspect ratio of the current resolution (of MSWindows):
sysmetric(1) - brings the width
sysmetric(2) - bring the height
Maybe, this is what you are looking for
ov.currentMedia.imageSourceHeight = sysmetric(2)
ov.currentMedia.imageSourcewidth = sysmetric(1)
HTH
Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20