473,654 Members | 3,040 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

show Clock and Vertical label

Hi,

i work with VS 2005 and i need to know how to put the windows time(Clock) on
my label that it is on the form that i will see the full time include the
second as they move, and i need to know how to make a label with text on him
to vertical state and not the horizontal normal state.

Thanks
Jun 28 '06 #1
3 4601
Avi,

While this isn't completely accurate, I would have a timer that fires
every second. During the timer, I wold get the current time (through the
static Now property on the DateTime structure).

Then, you can paint that value on the label as you wish. You will have
to handle the drawing of the text in a vertical manner, but that shouldn't
be too hard.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Avi G" <Av**@discussio ns.microsoft.co m> wrote in message
news:CB******** *************** ***********@mic rosoft.com...
Hi,

i work with VS 2005 and i need to know how to put the windows time(Clock)
on
my label that it is on the form that i will see the full time include the
second as they move, and i need to know how to make a label with text on
him
to vertical state and not the horizontal normal state.

Thanks

Jun 28 '06 #2
isn't a way to show the system clock on the form with out the "timer" in real
time even without the second but when the minute change on the system clock
it's also changed in the form

and about the vertical label i need to write text on the form like this
"
l
a
b
e
l
"
and now like this "label" how i do it?


"Nicholas Paldino [.NET/C# MVP]" wrote:
Avi,

While this isn't completely accurate, I would have a timer that fires
every second. During the timer, I wold get the current time (through the
static Now property on the DateTime structure).

Then, you can paint that value on the label as you wish. You will have
to handle the drawing of the text in a vertical manner, but that shouldn't
be too hard.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Avi G" <Av**@discussio ns.microsoft.co m> wrote in message
news:CB******** *************** ***********@mic rosoft.com...
Hi,

i work with VS 2005 and i need to know how to put the windows time(Clock)
on
my label that it is on the form that i will see the full time include the
second as they move, and i need to know how to make a label with text on
him
to vertical state and not the horizontal normal state.

Thanks


Jun 28 '06 #3
Avi,

I actually looked for that, something that would give you a notification
when the system clock was updated, but I couldn't find anything. This is
why I suggested what I did.

As for the vertical label, I know what you need. You can make your own
easily by using MeasureString method on the Graphics instance. It will
allow you to measure the string and custom paint your own label.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Avi G" <Av**@discussio ns.microsoft.co m> wrote in message
news:0D******** *************** ***********@mic rosoft.com...
isn't a way to show the system clock on the form with out the "timer" in
real
time even without the second but when the minute change on the system
clock
it's also changed in the form

and about the vertical label i need to write text on the form like this
"
l
a
b
e
l
"
and now like this "label" how i do it?


"Nicholas Paldino [.NET/C# MVP]" wrote:
Avi,

While this isn't completely accurate, I would have a timer that fires
every second. During the timer, I wold get the current time (through the
static Now property on the DateTime structure).

Then, you can paint that value on the label as you wish. You will
have
to handle the drawing of the text in a vertical manner, but that
shouldn't
be too hard.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Avi G" <Av**@discussio ns.microsoft.co m> wrote in message
news:CB******** *************** ***********@mic rosoft.com...
> Hi,
>
> i work with VS 2005 and i need to know how to put the windows
> time(Clock)
> on
> my label that it is on the form that i will see the full time include
> the
> second as they move, and i need to know how to make a label with text
> on
> him
> to vertical state and not the horizontal normal state.
>
> Thanks


Jun 28 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
2927
by: John Baker | last post by:
Hi: I have a user who has labels that are set up 3 across and 11 vertical (which is unusual at best), and he wants me to print names and addresses on them. I have already set up for labels 10 vertical and 3 across (Avery 5160)which are another standard the user has, but can't find any in the setup for labels that show 11 vertical. I am therefore using the Avery 5160 as a start, and modifying the top and bottom margins (the margins on the...
0
1637
by: GiladP1 | last post by:
Hi, I am trying to create a vertical label or a vertical text box by useing their 'Vertical' property. But the text just disapears. I can manage to get right-to-left text to be vertical but English letters don't work. I am using Access 2003 on Windows XP. I tried using 2k format or 2003 format and both didn't work. Can anybody help? Thanks
1
4610
by: Rene | last post by:
Is there a way to have a label control showing the text in a vertical way or any other angle? I am creating a simple graph control and would like to put axis labels on the chart similar to the ones being shown in this link: http://www.microway.com.au/catalog/gigasoft/graph.stm
5
10963
by: AlexGray | last post by:
Hi, I created a blank Form with one Label, and the Label's text says "Loading... Please wait.". I display this form in Main() with Show() while i do some lengthy initialization stuff (ie loading files), but the Label appears transparent! I can see through to my desktop where the Label control is. But, if i display this form with ShowDialog(), it displays the label fine. Am I missing something here? Here is the code:
8
5010
by: Hekim MUKUS | last post by:
Hi, i need vertical label. C# or VB thanks
1
2205
by: gibsonsgman | last post by:
I am having a problem with a vertical label. I change the label property 'vertical' to yes and then my label caption disappears and i cannot figure out why. any suggestions?
1
5563
by: DBC User | last post by:
I have a date time picker which allows user to change the time in the winform. I would like to know is there a control I can use to show actual clock image to change the time? Thanks.
1
5648
by: platoon1sc | last post by:
Hi guys.I have a problem with Internet Explorer in my web-application. I have a vertical scrollbar into my jsps but firefox show the vertical srollbar, but IE doesn't. IE show a blank space where vertical scrollbat must be there. Where the FF show de scrollbar, IE show blank space, but doesn't show the scroll. My css for the scrool is: #content { clear: left; height:100%; width:100%; margin:5px; }
1
6495
by: Karl | last post by:
I have a A2000 form that won't show the vertical scroll bar. I have the scroll bar format set to show Both. The horizontal bar works fine. I tried settting the format to show vertical only and it still doesn't show. (it should show as I can only see about half the screen and can't get to the bottom half)
0
8375
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8290
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,...
0
8707
jinu1996
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...
0
8593
tracyyun
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...
0
7306
agi2029
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...
0
5622
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4294
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2714
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
1
1916
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.