Announcement

Collapse
No announcement yet.

VB Functions on ASPX on Raspberry Pi Home Troller

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

    VB Functions on ASPX on Raspberry Pi Home Troller

    I have succesfuly launched VB in aspx on a raspberry Pi HS3 with the help of those of you on this forum. When I try to use VB functions such as round or formatnumber the applicatioon fails. Response.write works no problem and hs functions work. Is there another library I have to load to mono or or call within the aspx page. Thanks.

    Will
    Last edited by wkrasner; October 6, 2019, 03:10 PM. Reason: ASPX

    #2
    You need to include system.math for round, but formatnumber should work without additional includes. What error are you getting?

    HS 4.2.8.0: 2134 Devices 1252 Events
    Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

    Comment


      #3
      Just checked the vb.net reference and FormatNumber looks to be in the VisualBasic namespace, so that may not be supported under mono. You should be able to use ToString instead.
      HS 4.2.8.0: 2134 Devices 1252 Events
      Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

      Comment

      Working...
      X