>I am trying to write code and the tread interprets it...
>
>I always get an error when i try this code in an ASP with IIS 4.0
>
>** I have replace < whith -
>-%
>set Videos = CreateObject("MyDll.Videos")
>for each V in Videos
> Response.Write "-p-V.Name-/p-"
>next
>
>set Videos = nohting
>%-
>
>I always get the error saying "Object does not support this method or property" on the line "for each V in Videos". I guest that V as to be declared some how. If it is the case how do I do that?
For each is not part of VBScript. If you have a count property on the videos class then do:
For x=1 To Videos.Count
Change x=0 for 0 based.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only