I am running the following script and receiving this error:
HomeSeer Error 1 Running script ATMCDown_50.vb: Exception has been thrown by the target of an invocation.
Sub Main(ByVal Parm As String)
Dim NetworkFullPath As String = "C:\Program Files (x86)\HomeSeer HS3\Logs\Network Loss.log"
My.Computer.FileSystem.WriteAllText(NetworkFullPath, "Gateway Packet Loss above 49%: " & Now() & vbCrLf, True)
End Sub
The oddity is that it still works fine! Does anybody know what I'm doing wrong?
HomeSeer Error 1 Running script ATMCDown_50.vb: Exception has been thrown by the target of an invocation.
Sub Main(ByVal Parm As String)
Dim NetworkFullPath As String = "C:\Program Files (x86)\HomeSeer HS3\Logs\Network Loss.log"
My.Computer.FileSystem.WriteAllText(NetworkFullPath, "Gateway Packet Loss above 49%: " & Now() & vbCrLf, True)
End Sub
The oddity is that it still works fine! Does anybody know what I'm doing wrong?
Comment