Ask a Question related to ASP.NET General, Design and Development.
-
brian #1
Changing Pictures On Page
I am new to .net technology. I have a home page built
for my company using asp.net. On the bottom of the home
page I want to embed a "dilbert comic strip" which is gif
format. I have the strips in the directory
c:/dilbert/"then by year for sub directories". I would
like to have the page change the picture randomly like
every 3 hours or so. Can this be done and if so how or
where could I find some good documentation on the proper
procedure or class to use.
Thanks in advance.
brian Guest
-
permanently changing a single page view to 2 page spread?
I currently have a PDF with multiple pages as a single-page view. i need to change it to a 2-page spread, or continuous layout - not just for my... -
Changing Pictures
I'm currently developing my own site to put my travel pictures up on rather than bomb everyone's email out. What I want to do is to create a... -
enlarging pictures on web page
I have microsoft publisher 2000 6.0.Is it possible for someone who looks at my pictures on my web page to be able to click on the picture to... -
Printing Different Pictures on One Page
Is there a way to print different pictures on one page--like 4 different images on one page in Photoshop Elements? Thank you -
Print Different Pictures on One Page?
Is there a way to print different pictures on one page? I have 2 5.5x8 cards I'd like to print on one page so I can just cut them apart. Is there an... -
Dino Chiesa [MSFT] #2
Re: Changing Pictures On Page
There is an AdRotator control, but it changes with every page, not every
three hours.
here's the reference info:
[url]http://msdn.microsoft.com/library/en-us/vbcon/html/vbconAdRotatorWebControl.asp[/url]
here's a working sample from the quickstart
[url]http://samples.gotdotnet.com/quickstart/aspplus/samples/webforms/ctrlref/webctrl/adrotator/doc_adrot.aspx[/url]
You could build your own "user control" based on the image control. When
the page loads, your user control can check the time of day and then select
a gif based on that.
image control example:
[url]http://samples.gotdotnet.com/quickstart/aspplus/samples/webforms/ctrlref/webctrl/image/doc_image.aspx[/url]
-Dino
"brian" <brians@lbrspec.com> wrote in message
news:00b601c360df$7bf345a0$a101280a@phx.gbl...> I am new to .net technology. I have a home page built
> for my company using asp.net. On the bottom of the home
> page I want to embed a "dilbert comic strip" which is gif
> format. I have the strips in the directory
> c:/dilbert/"then by year for sub directories". I would
> like to have the page change the picture randomly like
> every 3 hours or so. Can this be done and if so how or
> where could I find some good documentation on the proper
> procedure or class to use.
>
> Thanks in advance.
Dino Chiesa [MSFT] Guest
-
Jurjen #3
Re: Changing Pictures On Page
Brian,
One way of accomplishing this is :
Use 'CurrentDilbert.gif' on your page, then schedule a simple app to
randomly copy a file from c:/dilbert to CurrentDilbert.gif
Hope this helps.
Jurjen de Groot
G.I.T.S., Netherlands
"brian" <com> wrote in message
news:00b601c360df$7bf345a0$gbl...
Jurjen Guest



Reply With Quote

