"Adam Sandler" <> wrote in message
news: ups.com...
>
> Nick Malik [Microsoft] wrote:
>> You never mentioned that you were writing an ASP.Net app,
>> so I assumed you were writing a VB rich client.
>
> I apologize... I assumed I was in the aspnet newsgroup.
My bad. I answer questions in different groups. Please forgive.
>
> As far as what I'm trying to do is find a VB way to make a simple
> slideshow... by taking a collection and iterating through it. Nothing
> more and nothing less.
From a web client, it makes more sense to do this client side using
Javascript. Feeding it from the server doesn't make sense in the stateless
web model.
>
> If that collection is an array of strings and each string is a URL,
> then I can throw array[i] into the ImageUrl property a asp Image
> component.
And why would your client come back to the server to get the new image?
Once it has an image, it's done. You'd need to put code into the client
telling it to come back for the next image. Then, on the server side,
simply keep state and move an array index for each call. Doesn't make
sense, though. Better to have the client "aware" of the list of images and
to iterate from there.
>
> I already have something working in JavaScript.
stop there. you are done.
> I'd like to convert it
> to VB (and that is where I'm havuing the obvious difficulty)...
because it is a bad idea, unless there are requirements that you have not
shared that make it worth doing.
Sorry I couldn't help you to achieve this idea.
--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik
Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--