|
-
Dec 27th, 2004, 11:15 PM
#1
Thread Starter
New Member
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.
-
Dec 27th, 2004, 11:19 PM
#2
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?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 30th, 2004, 03:15 AM
#3
Thread Starter
New Member
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.
-
Dec 30th, 2004, 10:50 PM
#4
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 30th, 2004, 11:28 PM
#5
Thread Starter
New Member
Re: Close Application Using Timer or Unattach Serial Port in Application Using Timer
thanks for the tip
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|