| | |
Add items to list at specific intervals...
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: May 2009
Posts: 1
Reputation:
Solved Threads: 0
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.
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.
you can also use database to manipulate the data you needed or save the file in the text file
A conclusion is the place where you got tired of thinking. http://www.martin2k.co.uk/forums/index.php?showforum=4
http://www.a1vbcode.com/a1vbcode/vbforums/Forum3-1.aspx
http://www.developerfusion.co.uk/for...orum&ForumID=4
![]() |
Similar Threads
- adding list items (Python)
- Deleting A row from a List Box (Visual Basic 4 / 5 / 6)
- Adding To a list box from multiple text boxes (Visual Basic 4 / 5 / 6)
- Lost my Add/Remove list (Windows 98) (Windows 95 / 98 / Me)
- Weird (?) problem using std::list ... (C++)
- My list box (Java)
- Programs not found in Add/Remove List (Windows NT / 2000 / XP)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: downloading
- Next Thread: how to pass text from a called vb script in a batch file
Views: 456 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic birth bmp c++ calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver struct subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





