There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios boot browser bsod computer cpu crash css dell desktop driver dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware help please hijackthis hjt install internet internet explorer itunes javascript keyboard lan laptop log malware monitor network networking openoffice outlook outlook 2003 outlook express password popups problem router seo slow sound sp3 spyware startup trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless youtube
Tech Tips & Tricks
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > General Technology > Tech Tips & Tricks >
Solved: Desktop $$$ counter/clock


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
Koot's Avatar
Computer Specs
Senior Member with 768 posts.
 
Join Date: Nov 2007
Location: West Plano, TX
Experience: Intermediate
24-Feb-2008, 07:54 PM #1
Question 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.
hewee's Avatar
Distinguished Member with 51,273 posts.
 
Join Date: Oct 2001
Location: *Random People Pleaser***Sacramento
Experience: Having fun
25-Feb-2008, 03:28 AM #2
Just charge $180.00 an hour.
Koot's Avatar
Computer Specs
Senior Member with 768 posts.
 
Join Date: Nov 2007
Location: West Plano, TX
Experience: Intermediate
25-Feb-2008, 10:16 AM #3
Quote:
Originally Posted by hewee View Post
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.
coderitr's Avatar
Distinguished Member with 3,078 posts.
 
Join Date: Oct 2003
25-Feb-2008, 01:20 PM #4
What language do you want it written in? What amount do you want to add per second?
Koot's Avatar
Computer Specs
Senior Member with 768 posts.
 
Join Date: Nov 2007
Location: West Plano, TX
Experience: Intermediate
25-Feb-2008, 02:37 PM #5
Quote:
Originally Posted by coderitr View Post
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.
coderitr's Avatar
Distinguished Member with 3,078 posts.
 
Join Date: Oct 2003
26-Feb-2008, 01:25 PM #6
Try this...
Attached Files
File Type: zip MoneyTicker.zip (8.4 KB, 15 views)
Koot's Avatar
Computer Specs
Senior Member with 768 posts.
 
Join Date: Nov 2007
Location: West Plano, TX
Experience: Intermediate
26-Feb-2008, 02:07 PM #7
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.
coderitr's Avatar
Distinguished Member with 3,078 posts.
 
Join Date: Oct 2003
27-Feb-2008, 09:11 AM #8
I didn't compile the program in the first attachment. Here's a new one with the exe.
Attached Files
File Type: zip MoneyTicker.zip (21.5 KB, 19 views)
Koot's Avatar
Computer Specs
Senior Member with 768 posts.
 
Join Date: Nov 2007
Location: West Plano, TX
Experience: Intermediate
27-Feb-2008, 09:41 AM #9
Quote:
Originally Posted by coderitr View Post
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.
coderitr's Avatar
Distinguished Member with 3,078 posts.
 
Join Date: Oct 2003
27-Feb-2008, 04:54 PM #10
Quote:
Originally Posted by Koot View Post
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.
Attached Files
File Type: zip MoneyTicker.zip (21.5 KB, 13 views)
coderitr's Avatar
Distinguished Member with 3,078 posts.
 
Join Date: Oct 2003
27-Feb-2008, 04:54 PM #11
Quote:
Originally Posted by Koot View Post
Wow! That is perfect!!! I love the layout and the options.

Thank you very much! You are good!!!
I'm glad you like it.
Koot's Avatar
Computer Specs
Senior Member with 768 posts.
 
Join Date: Nov 2007
Location: West Plano, TX
Experience: Intermediate
27-Feb-2008, 05:37 PM #12
Quote:
Originally Posted by coderitr View Post
I'm glad you like it.
Thank you very much for the modification coderitr! It works like a charm...

You are my hero!
Koot's Avatar
Computer Specs
Senior Member with 768 posts.
 
Join Date: Nov 2007
Location: West 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.
coderitr's Avatar
Distinguished Member with 3,078 posts.
 
Join Date: Oct 2003
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.
Attached Files
File Type: zip MoneyTicker.zip (21.5 KB, 13 views)
Koot's Avatar
Computer Specs
Senior Member with 768 posts.
 
Join Date: Nov 2007
Location: West Plano, TX
Experience: Intermediate
28-Feb-2008, 08:57 AM #15
Quote:
Originally Posted by coderitr View Post
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!
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 04:04 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.