Show Bid Request
Timer problem with Visual Basic
Bid Request Id: 43752
|
|
|
Posted by: |
MagicRobin (12 ratings)
(Software buyer rating 10)
|
Non-action Ratio: |
Very Good - 11.11%
|
Posted: |
Jan 15, 2003 12:30:44 PM EDT
|
Bidding Closes: |
Jan 19, 2003 12:33:37 PM EDT
|
Viewed (by coders): |
458 times
|
Deadline: |
1/20/2003
TIME EXPIRED
|
|
|
|
Description:
Hello,
I have a problem with Visual Basic 6.0. The timer control can only support a period of 65535 ticks (a little more than a minute).
I need to find an easy solution that would allow me WITHOUT EXTRA CODING IN THE TIMER ITSELF IF POSSIBLE to get more than a minute. I would need as much as 2 hours if possible, with a single timer. This doesn't seem possible in VB - can you find an easy code that would allow me then to configure a variable for example to choose the new period? Please give me the solution there!
Please, no OCX, only pure VB code (API calls if needed are accepted, though).
Deliverables: 1) Complete and fully-functional working complete source code.
2) Complete ownership and distribution copyrights to all work purchased.
Platform:
Visual Basic 6.0 (not Visual Basic.NET)
Must be 100% finished and received by buyer on:
Jan 20, 2003 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
This bid was accepted by the buyer!
|
$4 (USD)
|
Jan 19, 2003 12:57:45 AM EDT
|
8
(Very Good)
|
|
|
I have posted a simple way to control the timer control to allow you to make it run as long as you like. All you need to do is add some kind of counter variable that can count the number of times the timer has been activated and only run at a certain count, then reset the counter variable. In this example, I have set the timer interval to 1000 (1 sec), but then added code to make it truly act as a 10 second timer. If you need to make it last exactly 2 hours, you would simply make the timer interval 60000 (1 min) and then let the counter variable go to 120 before resetting it.
If this doesn't make since, just look at the attached project file, I'm sure you'll understand. Since I have already attached the solution to this problem, I am putting my faith in your hands. I have placed the lowest possible bid amount allowed on RAC in hopes that if you use this solution, you'll accept my bid and give me a good rating.
Quite honestly, I just started using this site a little while ago, and need to build up my rating so I can start getting some good work.
Shawn Jacobson Indepedent Software Developer |
|
Attached File
|
|
|
|
|