Hi, I'm trying to list all videos of my object, but i have no response:
$myVideos = new COM("VideoObjec ts.Videos");
$strTitle="Matr ix";
$strStudio="war ner";
$myVideos->Load($strTitle , $strStudio);
while($obj = $myVideos->Next()) {
echo $myVideos->title;
}
$myVideos->Release();
$myVideos = null;
?>
If I do the same thing with ASP: I have a list with three movies... :-)
Set myVideos = Server.CreateOb ject("VideoObje cts.Videos")
strTitle = "Matrix"
strStudio = "Warner"
myVideos.Load CStr(strTitle), CStr(strStudio)
For Each Video In myVideos
Response.Write Video.Title
Next
Set myVideos = Nothing
What am I doing wrong ?
TIA
$myVideos = new COM("VideoObjec ts.Videos");
$strTitle="Matr ix";
$strStudio="war ner";
$myVideos->Load($strTitle , $strStudio);
while($obj = $myVideos->Next()) {
echo $myVideos->title;
}
$myVideos->Release();
$myVideos = null;
?>
If I do the same thing with ASP: I have a list with three movies... :-)
Set myVideos = Server.CreateOb ject("VideoObje cts.Videos")
strTitle = "Matrix"
strStudio = "Warner"
myVideos.Load CStr(strTitle), CStr(strStudio)
For Each Video In myVideos
Response.Write Video.Title
Next
Set myVideos = Nothing
What am I doing wrong ?
TIA
Comment