Hello
Thanks for reviewing my question. I would like to know if there is a control (with up/down buttons) for setting a duration of time. I want give the user the ability of entering a duration (hh:mm:ss). Does VS.NET offer this type of control
Many Thank
Peter 1 3970
I doubt it. I might have some code that would simplify writing one. Given
a format, my class can either parse (except for milliseconds) or format a
timespan. If someone is willing to write such an edit control and post it
to CodeProject (where my class, part of a larger DLL, will end up), I will
be happy to send the source to you. Just be prepared for code that is not
ready in regards to testing (it works for me but might not for you) and only
limit documentation (at this point).
----------
Will Pittenger
E-Mail: mailto:wi****** ******@verizon. net
All mail filtered by Qurb ( www.qurb.com)
"Peter" <an*******@disc ussions.microso ft.com> wrote in message
news:74******** *************** ***********@mic rosoft.com... Hello,
Thanks for reviewing my question. I would like to know if there is a
control (with up/down buttons) for setting a duration of time. I want give
the user the ability of entering a duration (hh:mm:ss). Does VS.NET offer
this type of control? Many Thanks Peter This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Kription |
last post by:
Hello,
I am having a nightmare of a time getting seconds converted to
hour-minute-seconds
I have a third party application that outputs only in seconds since
so if someone has been logged in for 1 minute, the time value would be 60,
if they were on for 5 minutes and 3 seconds the value would be 303
|
by: Plymouth Acclaim |
last post by:
Hi guys,
We have a problem with Dual AMD64 Opteron/MySQL 4.0.18/Mandrake 10
for a very high volume site. We are evaluating the performance on our
new server AMD64 and it seems it's slow compared to Dual Xeon/MySQL
4.0.15/RedHat8 and Dual Xeon/MySQL 4.0.18/Mandrake 10.
And it seems there are zombie threads. 570 threads in 1 hour and we
didn't even use JDBC connection pooling at all. These threads are
supposed to be gone within 60...
|
by: fred14214 |
last post by:
I need to be able to enter an elapsed time into a text
field. This time then needs to be converted into seconds
and stored in a field in some table.
The user will enter a time (format is h:minutes:seconds)
as such:
0:15:34 (0 hours, 15 minutes, 34 seconds -> 934 seconds total)
or as another example:
|
by: Lad |
last post by:
Hello,
what is the best /easest way how to get number of hours and minutes
from a timedelta object?
Let's say we have
aa=datetime.datetime(2006, 7, 29, 16, 13, 56, 609000)
bb=datetime.datetime(2006, 8, 3, 17, 59, 36, 46000)
so
c=bb-aa
will be
datetime.timedelta(5, 6339, 437000)
|
by: JamesG |
last post by:
I'm trying to convert a unix timestamp to a readable time, such as 4
hours ago, or 25 minutes ago.
My code is below:
function ago($ts) {
/* time difference */
$ts = (time() - $ts);
if($ts < 60) {
/* <1 minute */
| |
by: remya1000 |
last post by:
how can i select time (hours,minutes,second) in updown arrow buttons in VB.NET.
as we have current time displayed in date and time properties in our system.
in date and time properties, while we press updown arrown, that will change only hour first, and if we select the minutes and press updown arrow, minutes will get changed and if we select the seconds and press updown arrow, it will change the seconds.
if we use numericupdown tool, i...
|
by: emajka21 |
last post by:
I am using Visual Studios 2005 with C#. I have a time field that is stored in seconds. I want to display it as hours:minutes:seconds in a repeater field. I know I can use division and mod's to get the individual pieces but when I do:
SELECT RaceTime / 3600 AS Hour
FROM Race
I get 1.233???
How do I just get the whole number without all of the decimals?
Do you have any other suggestions on how to gets seconds into hh:mm:ss...
|
by: ghjk |
last post by:
I want to take only the hour from the date time field. For that first i apply the explode.$Query1 = explode(" ",$row);
output:13:30:0013:30:0016:20:0016:20:00(This include hour:minutes:seconds)
And now i want to extract only first 2 digit(hour).
ex:13,13,16,16
HOw can i do that? Please help me.
|
by: bill |
last post by:
I want to create some volume metrics, and I need to produce a report
that shows how many rows were inserted by minute into a particular
table.
This is a candidate for a simple GROUP BY select, except that that the
INSERT_DT column in the table goes down to the second. I want to
GROUP BY at the minute level. I don't know an easy way to simply
truncate the seconds from the datetime. Extracting the time alone
won't work, because I want...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |