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 » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

how to set date wise picture on vb form.



 
 
Thread Tools Display Modes
  #1  
Old January 13th, 2010, 03:44 PM posted to microsoft.public.access.gettingstarted
KIRTI
external usenet poster
 
Posts: 3
Default how to set date wise picture on vb form.

hello frineds,

if any budu, know about how to set date wise picture on vb form then
plese send code of it.

at my email address : or post here.


Details : Date wise picture set meanse, for exmple , today
christmas then picture releted to xmas, or today new year then
picture set for new year wish

here picture change on date meanse date : 1-1-2010 then picture=
newyear.jpg
if date is : 25-12-2009 / 10 then x-max.jpg

please provide coding of this above thing. how to done with vb,
please send code urgent.

its really important for me.
  #2  
Old January 14th, 2010, 11:13 PM posted to microsoft.public.access.gettingstarted
Clifford Bass via AccessMonster.com
external usenet poster
 
Posts: 150
Default how to set date wise picture on vb form.

Hi,

Well, if you have the images stored out on a server. And in a table in
the database a list of image file paths/names for each date. And you have an
image control on your form. You might do something like this in your form's
On Open event:

[imgForToday].Picture = DLookup("ImageFileName", _
"tblImageOfTheDay", "ImageDate = #" & Format(Date(), _
"yyyy-mm-dd") & "#")

Adjust for your actual table, column and control names.

Clifford Bass

KIRTI wrote:
hello frineds,

if any budu, know about how to set date wise picture on vb form then
plese send code of it.

at my email address : or post here.

Details : Date wise picture set meanse, for exmple , today
christmas then picture releted to xmas, or today new year then
picture set for new year wish

here picture change on date meanse date : 1-1-2010 then picture=
newyear.jpg
if date is : 25-12-2009 / 10 then x-max.jpg

please provide coding of this above thing. how to done with vb,
please send code urgent.

its really important for me.


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...arted/201001/1

  #3  
Old January 14th, 2010, 11:15 PM posted to microsoft.public.access.gettingstarted
Clifford Bass via AccessMonster.com
external usenet poster
 
Posts: 150
Default how to set date wise picture on vb form.

Hi,

Or the images could be on the local computer, either in a specific
location, or somewhere relative to the database.

Clifford Bass

Clifford Bass wrote:
Hi,

Well, if you have the images stored out on a server.


--
Message posted via http://www.accessmonster.com

 




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 01:16 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.