Close Application Using Timer or Unattach Serial Port in Application Using Timer
Hello. I'm thinking to limit my application usage to certain hours. I'm doing a vehicle's license plate recognition to trace cars that enter an area during office hours. I'm using a IR signal sensor that will detect the incoming and outgoing cars. The IR device is connected to serial port. So i want my application to start on 8 a.m and end at 5 p.m , that is the working hour in my place. So i think i should write the program according to the clock in the system. I think i can do 2 things :
1) disconnect the serial port connection from my application. So when sensor is disconnect, no car will be detected.
2) shutdown the application.
Do any of you have suggestion on how to do it? Thanx.
Re: Close Application Using Timer or Unattach Serial Port in Application Using Timer
Welcome to the Forums.
Nano, this thread would be better off in the Classic VB forum. VBA is for MS
Office development primarily.
What language are you planing on writting the application in?
:)
Re: Close Application Using Timer or Unattach Serial Port in Application Using Timer
Opps.. sorry. I'm new here.. :) Thanks for telling.. Anyway, i've wrote the app. using VB. The image processing part is using Matlab and the result is then sent to the VB app. to be displayed.
Re: Close Application Using Timer or Unattach Serial Port in Application Using Timer
Try checking out the mscomm control to help you work with the serial prot.
Re: Close Application Using Timer or Unattach Serial Port in Application Using Timer