Author Topic: Strange Error - Any ideas  (Read 1403 times)

TSLJon

  • Newbie
  • *
  • Posts: 24
    • View Profile
Strange Error - Any ideas
« on: April 12, 2014, 02:15:45 PM »
Any ideas on this one?

As I exit normally debugging mode though sometimes in the software build it flags this error. Software works well until you red cross to close.

johwaa

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Strange Error - Any ideas
« Reply #1 on: June 06, 2014, 05:23:13 PM »
VB.Net does some weird things at times, you could put a Try - Catch structure around it. Run it after that and see if it is working or not (you should be able to tell right off).

Like this:

Try
      Dim x As New MfgControl.AdvancedHMI.Drivers.Common.PlcComEventArgs(New String() {ex.Message}, PolledAddressList(i).Address.Address, 0)
Catch ex1 as Exception

Then look at ex1.message to see what (if anything) the exception was.