Add items to list at specific intervals...

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: May 2009
Posts: 1
Reputation: nicko.dvz is an unknown quantity at this point 
Solved Threads: 0
nicko.dvz nicko.dvz is offline Offline
Newbie Poster

Add items to list at specific intervals...

 
0
  #1
May 18th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 913
Reputation: vb5prgrmr will become famous soon enough vb5prgrmr will become famous soon enough 
Solved Threads: 167
vb5prgrmr vb5prgrmr is offline Offline
Posting Shark

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

 
0
  #2
May 18th, 2009
See SaveSetting, GetSetting in vb's help.

Good Luck
If anyone has helped you solve your problem, please mark your thread as solved.

Thanks
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 300
Reputation: jireh is an unknown quantity at this point 
Solved Threads: 43
jireh's Avatar
jireh jireh is offline Offline
Posting Whiz

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

 
0
  #3
May 20th, 2009
you can also use database to manipulate the data you needed or save the file in the text file
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum


Views: 456 | Replies: 2
Thread Tools Search this Thread



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC