หน้าเว็บ

วันเสาร์ที่ 6 กรกฎาคม พ.ศ. 2556

Visul Basic 6.0 : Exercise

 

       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.

Source codes that we have to type.


This is the "Sample Special" output of our project ,
(according to our "date/time" format of our machine configuration)

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

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