Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 17th, 2005, 4:53 PM   #1
scope
Newbie
 
Join Date: Feb 2005
Posts: 1
Rep Power: 0 scope is on a distinguished road
uptime

hey, im trying to get vb to store my uptime as a uptime record, anyone give me a helpin hand ? i've got the code to produce the uptime but want to save it
scope is offline   Reply With Quote
Old Mar 17th, 2005, 5:45 PM   #2
Cipher
Hobbyist Programmer
 
Cipher's Avatar
 
Join Date: Feb 2005
Location: /home/cipher
Posts: 123
Rep Power: 4 Cipher is on a distinguished road
Send a message via AIM to Cipher Send a message via MSN to Cipher
save it to the registry or as a file.

you could either use savesetting for the registry or cdb(commondialogbox) for saving to a file. Just write to the file.
__________________
And there was much rejoicing... Yay....
Cipher is offline   Reply With Quote
Old Mar 18th, 2005, 6:07 AM   #3
Rory
Expert Programmer
 
Rory's Avatar
 
Join Date: Jan 2005
Location: London
Posts: 542
Rep Power: 4 Rory is on a distinguished road
Send a message via MSN to Rory
Sorry, uptime for what? If it's uptime for your computer, cipher's method would work (just save the current time to a file every minute for example), but it may be different depending on what you want to do.
Rory is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

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

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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:54 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC