Author Topic: Basic Indicator error on exit  (Read 1487 times)

BLFTech

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • BLF-Tech LLC Website
Basic Indicator error on exit
« on: March 30, 2014, 12:30:16 AM »
I have a project that has several controls on it and I recently added a basic indicator on the form. When the application exits I get the error shown in the attached picture. I am using this with a ControlLogix controller.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Basic Indicator error on exit
« Reply #1 on: March 30, 2014, 09:49:08 AM »
I'm not sure why it is doing that. I would just put a try-catch around it and ignore the exception since it doesn't matter anymore at that point:

Code: [Select]
Finally
   Try
      MyBase.Dispose(disposing)
   Catch
   End Try
End Try