Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
For each...
Message
From
14/12/1999 21:25:54
Christian Bellavance
Université du Québec à Hull
Hull, Quebec, Canada
 
 
To
All
General information
Forum:
Visual Basic
Category:
VBScript
Title:
For each...
Miscellaneous
Thread ID:
00303828
Message ID:
00303828
Views:
46
I am new to web development and I have a little problem. I have an object (Videos) that is a collection containning objects (Video). My Videos object as a enum method which work fine in VB. Now I am trying to create the list on a web page using ASP. Here is the code I am using:

<%
for each V in Videos
response.write ""
>%

<% =V.VideoTitle %>

<%
Response.write "" & V.ReleaseDate & ""
next

set Videos = nothing
%>

I always get an 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?

thanks
Reply
Map
View

Click here to load this message in the networking platform