วันศุกร์ที่ 12 กรกฎาคม พ.ศ. 2556

Visul Basic 6.0 : Exercise แบบฝึกหัด วิชวลเบสิก 6.0

Visul Basic 6.0 : Exercise แบบฝึกหัด วิชวลเบสิก 6.0



Exercise 1

Calendar/Time Display

1. Design a window application that displays the current month, day, and year.  Also, display the current time, updating it every second (look into the Timer control).  Make the window look something like a calendar page.  Play with object properties to make it pretty.
2. Configure the properties of the related objects like the followings.

Configuration 1

Configuration2

Configuration3

3. Attach the source codes to the objects. There is only the Timer "timDisplay" object that we have to attach our source codes to.  Although there is no any variable declared, but we have to type the code "Option Explicit" at the General Declarations module.

ไม่มีความคิดเห็น:

แสดงความคิดเห็น