Announcement

Collapse
No announcement yet.

Ultramon DeviceResetStatistics function

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Ultramon DeviceResetStatistics function

    I'm trying to use the ResetDeviceStatistics function. I've tried multiple ways and get the following error:

    5/31/2010 12:19:20 AM Error Running script, script run or compile error in file: ultramon_reset1025:Expected end of statement in line 2 More info: Expected end of statement

    Here is how I have it configured...
    Attached Files

    #2
    It looks like you've got vb.net formatting but are trying to call the script as if it were a vbs file.

    Try naming the file with a .vb file type and substitute this for the first line:
    Public Sub Main(ByVal Parms As Object)

    Alternatively, you could modify your code to use vbs structures.
    Mike____________________________________________________________ __________________
    HS3 Pro Edition 3.0.0.548, NUC i3

    HW: Stargate | NX8e | CAV6.6 | Squeezebox | PCS | WGL 800RF | RFXCOM | Vantage Pro | Green-Eye | Edgeport/8 | Way2Call | Ecobee3 | EtherRain | Ubiquiti

    Comment

    Working...
    X