A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

INSTERT SLIDESHOW INTO ACCESS FORM



 
 
Thread Tools Display Modes
  #1  
Old April 3rd, 2008, 11:58 AM posted to microsoft.public.access.forms
Skelly
external usenet poster
 
Posts: 20
Default INSTERT SLIDESHOW INTO ACCESS FORM

i have my form page created for my database, i have a picture in it to remind
me of an offer i have. however i have more than 1 offer so i would like this
to change every so many seconds. like a slideshow.
  #2  
Old April 3rd, 2008, 09:05 PM posted to microsoft.public.access.forms
Mark A. Sam[_3_]
external usenet poster
 
Posts: 468
Default INSTERT SLIDESHOW INTO ACCESS FORM

I did this years ago placing the images in a table, but can't find the app.
Below is a different method that should work for you.

I just did this and tested it for you.

I created 4 images, named Image1.jpg, Image2.jpg, Image3.jpg, Image4.jpg.
(If you aren't using A2007, then I think you will need to use .bmp images).
I placed them in the Access Default directory, which in my case is D:\.

I create a new form and loaded a Picture Rrame with Image1.jpg loaded onto
it. In earlier versions, it may be an Unbound Object Frame. I named the
Picture Frame, "imgFrame"

In the timer event of the form I typed this code:

Select Case [imgFrame].Picture
Case "Image1.jpg"
[imgFrame].Picture = "Image2.jpg"
Case "Image2.jpg"
[imgFrame].Picture = "Image3.jpg"
Case "Image3.jpg"
[imgFrame].Picture = "Image4.jpg"
Case "Image4.jpg"
[imgFrame].Picture = "Image1.jpg"
End Select

This worked for a picture frame. For an unbound frame you will need to
modify the code. In retrospect I probably should have used an Unbound Object
Frame, but this is the idea.

God Bless,

Mark A. Sam



"skelly" wrote in message
...
i have my form page created for my database, i have a picture in it to
remind
me of an offer i have. however i have more than 1 offer so i would like
this
to change every so many seconds. like a slideshow.



  #3  
Old April 3rd, 2008, 09:28 PM posted to microsoft.public.access.forms
Mark A. Sam[_3_]
external usenet poster
 
Posts: 468
Default INSTERT SLIDESHOW INTO ACCESS FORM

I forgot to tell you to set the form's Timer Interval property as whole
number. The number represents miliseconds, so 6000 would be 1 second. I
would try that and adjust it from there.


"skelly" wrote in message
...
i have my form page created for my database, i have a picture in it to
remind
me of an offer i have. however i have more than 1 offer so i would like
this
to change every so many seconds. like a slideshow.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:47 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.