 | Senior Member with 854 posts. | | Join Date: Nov 2007 Location: Plano, TX Experience: Intermediate | | Solved: Desktop $$$ counter/clock I need a desktop counter (like a desktop clock) but that adds a value of currency (e.g. $0.05) each second. For instance, a set amount of money is added to the cumulative total each and every second, minute after minute, hour after hour, day after day, etc., etc.
Does anyone know where I can find it?
__________________ The only reason for time is so that everything doesn't happen at once. | | Distinguished Member with 54,744 posts. | | Join Date: Oct 2001 Location: *Random People Pleaser***Sacra Experience: Having fun | | Just charge $180.00 an hour. | | Senior Member with 854 posts. | | Join Date: Nov 2007 Location: Plano, TX Experience: Intermediate | | Quote:
Originally Posted by hewee Just charge $180.00 an hour.  | More like twice that amount!
Getting back to what I'm looking for - I want to put a clock (of sorts) on my desktop, similar to the national debt clock or the population growth clock...but I want it to add a set amount of money each second around the clock 24 hours a day.
Does anyone know how to do that? (Maybe I posted this in the wrong forum...)
__________________ The only reason for time is so that everything doesn't happen at once. | | Distinguished Member with 3,086 posts. | | | | What language do you want it written in? What amount do you want to add per second? | | Senior Member with 854 posts. | | Join Date: Nov 2007 Location: Plano, TX Experience: Intermediate | | Quote:
Originally Posted by coderitr What language do you want it written in? What amount do you want to add per second? | The language will be English. The cumulative totalling amount should be 8 digits to the left of the decimal and 4 digits to the right of the decimal, e.g. $99,999,999.9999
I would like to be able to fine-tune the amount added each second [somehow], but the amount will should be .0049.
I would also like to be able to begin with a specific number [if possible] and add to that number each second.
__________________ The only reason for time is so that everything doesn't happen at once. | | Distinguished Member with 3,086 posts. | | | | | | | Senior Member with 854 posts. | | Join Date: Nov 2007 Location: Plano, TX Experience: Intermediate | | coderitr:
Thanks! But I'm not sure what I do with the files. I'm not very familiar with vb. I normally add HTML-JavaScript to my website for such things as this up-counter I need. Is the vb script something I can add as a program to my PC? I'm lost on what to do with the files you graciously worked-up for me...
BTW, the first file opened in Excel and the other files opened in Word. I could see in two of the files that some of the script/coding was in-tune with my request, e.g. 0049, etc.
Now I just need to be told what to do next.
__________________ The only reason for time is so that everything doesn't happen at once.
Last edited by Koot : 26-Feb-2008 11:21 PM.
| | Distinguished Member with 3,086 posts. | | | | I didn't compile the program in the first attachment. Here's a new one with the exe. | | Senior Member with 854 posts. | | Join Date: Nov 2007 Location: Plano, TX Experience: Intermediate | | Quote:
Originally Posted by coderitr I didn't compile the program in the first attachment. Here's a new one with the exe. | Wow! That is perfect!!! I love the layout and the options.
Thank you very much!  You are good!!!
One question - If I wanted to drop one zero from displaying (making it display 8 digits instead of 9 digits to the left of the decimal), how would I do that?
__________________ The only reason for time is so that everything doesn't happen at once.
Last edited by Koot : 27-Feb-2008 10:09 AM.
| | Distinguished Member with 3,086 posts. | | |
27-Feb-2008, 04:54 PM
#10 | Quote:
Originally Posted by Koot One question - If I wanted to drop one zero from displaying (making it display 8 digits instead of 9 digits to the left of the decimal), how would I do that? | By removing the zero from the Format statement in the Timer event procedure and recompiling the program. Since you don't have VB6, I did it for you. | | Distinguished Member with 3,086 posts. | | |
27-Feb-2008, 04:54 PM
#11 | Quote:
Originally Posted by Koot Wow! That is perfect!!! I love the layout and the options.
Thank you very much!  You are good!!!  | I'm glad you like it. | | Senior Member with 854 posts. | | Join Date: Nov 2007 Location: Plano, TX Experience: Intermediate |
27-Feb-2008, 05:37 PM
#12 | Quote:
Originally Posted by coderitr I'm glad you like it.  | Thank you very much for the modification coderitr! It works like a charm...
You are my hero! | | Senior Member with 854 posts. | | Join Date: Nov 2007 Location: Plano, TX Experience: Intermediate |
27-Feb-2008, 07:14 PM
#13 | oderitr - I would be very appreciative if you would make one last two-part modification for me.
On the display drop one more zero to the left of the decimal, making it seven digits to the left of the decimal. Also, drop two zeros to the right of the decimal, making it two digits. (I need to keep the ability to enter a minimum Increment Value containing five digits, eg .00228.)
Just some time when you have a chance if you don't mind. Thank you very much...
__________________ The only reason for time is so that everything doesn't happen at once. | | Distinguished Member with 3,086 posts. | | |
28-Feb-2008, 08:39 AM
#14 | Just so you know, this is something I threw together in about 15 minutes. I have no wish to maintain or support it long term. You're welcome to have the source code and perhaps you can develop something similar in Java or whatever your language of choice is. I wrote it simply to answer your question on how this could be done. | | Senior Member with 854 posts. | | Join Date: Nov 2007 Location: Plano, TX Experience: Intermediate |
28-Feb-2008, 08:57 AM
#15 | Quote:
Originally Posted by coderitr Just so you know, this is something I threw together in about 15 minutes. I have no wish to maintain or support it long term. You're welcome to have the source code and perhaps you can develop something similar in Java or whatever your language of choice is. I wrote it simply to answer your question on how this could be done. | I totally understand. I am very appreciative for your help.
I wish I was that talented.
Thanks again! |  THIS THREAD HAS EXPIRED.
Are you having the same problem?
We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.
|
Smart Search
| Find your solution! | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | |  WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
| You Are Using: |
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 01:09 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd. | |
|