Link to home
Start Free TrialLog in
Avatar of zrick
zrick

asked on

Displaying System Time and Date

I need to create a bar that will appear on the bottom of the screen that will display a user defined ID number, time of the system clock, time since a physiology program begins recording (the manufacturer will help me with this), and the date. I know QBasic but am new to Visual Basic 6.0.
I have created the input form and a form to display a bar. I am not sure how to display the clocks and date on the bar. Any advice would be appreciated.
ASKER CERTIFIED SOLUTION
Avatar of JimmieToo
JimmieToo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of zrick
zrick

ASKER

JimmieToo, Thanks for your answer, I look forward to trying this out! Rick
Avatar of zrick

ASKER

JimmieToo,

I am having difficulty applying the above. I ran the vbasic wizard to create an application and this created a statusbar with three panels: "status", date, and time. If I right click on the statusbar I get a properties menu. I can't change the value in ToolTip or Text to show "User ID: "& Text1.Text as it shows just that, these words witht the quotes and everything. If I try to add the statements you wrote out to the code itself, the program does not recognize them. Newbie as I am, I know I am doing something wrong here. I'd appreciate a bit more help.
Avatar of zrick

ASKER

I got it now by using Labels instead of the StatusBar.
Rick