943,591 Members | Top Members by Rank

Ad:
May 18th, 2009
0

Add items to list at specific intervals...

Expand Post »
Hi,
I currently have an array which is added to a listbox. What I want to change it to is so it only adds it to the listbox on certain intervals of days (in the array, there is how many days that interval is for each item in days, but I can change that if needed), or even better within a range of a few days.
I thought I may be able to use DateDiff() for this, but I'm unsure now.
The problem is, the programme will be opened and exited all the time, so the method needs to have some kind of starting date so it doesn't keep restarting the count towards the interval.

Thanks for your help,
Nicko.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nicko.dvz is offline Offline
1 posts
since May 2009
May 18th, 2009
0

Re: Add items to list at specific intervals...

See SaveSetting, GetSetting in vb's help.

Good Luck
Reputation Points: 156
Solved Threads: 296
Posting Virtuoso
vb5prgrmr is offline Offline
1,670 posts
since Mar 2009
May 20th, 2009
0

Re: Add items to list at specific intervals...

you can also use database to manipulate the data you needed or save the file in the text file
Reputation Points: 11
Solved Threads: 49
Posting Whiz
jireh is offline Offline
316 posts
since Jul 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: downloading
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: how to pass text from a called vb script in a batch file





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC