Sunday, 19 February 2012

Week 4: Create user-warden interface using Visual basic 6.0


Objective:
Design the form layout with coding for complaint report interface.

Content / Procedure:

  • Create interface in the form layout according the requirement
  • Key-in the coding for the form layout
  • Compile and start running to simulate

Result and Analysis:
Generally about the interface- this interface receiving the complaint from user. From this interface layout some information such as the room no got problem, status report, user phone number that make the report, user message deliver to the warden. In other hand warden able to assign the technician/ maintenance to make some work for the report. Warden can type the work order to the technician or may forward all the report that receive from user/student.

Coding for the interface :
Form_load( )
.Commport=2
.setting=115200,N,8,1
.Handshake=ComRTS
.RTSEnable=True
.Rthreshold=1
ImputMode=ComInputModeText
InputLen=300
Portopen=True
End with

Command_Click( )
MsComma1.output="AT"&VbCrLf
sleep 500
MSComma1.output="AT+CMGF=1"&VbCrLf
sleep 500
MSComm1.output="AT+CMGF="&Chr(34)&TextNumber.Text&Chr(34)&VbCrLf
sleep 1000
MSComm1.ouput=Textmessage.Text&Chr(26)
Sleep 2000

Conclusions:
As the conclusion stated that the Complaint report interface, it use for warden to monitor the report from user and assigning the technician to make work.


No comments:

Post a Comment