How to find the MachineOnline State i.e connected or not using VSTA code of infopath 2010 ? - InfoPath Dev
in

InfoPath Dev

How to find the MachineOnline State i.e connected or not using VSTA code of infopath 2010 ?

Last post 10-12-2011 10:54 PM by mahesjak. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 10-12-2011 10:54 PM

    How to find the MachineOnline State i.e connected or not using VSTA code of infopath 2010 ?

    Hi, 

    How to find the Machine State i.e connected or not using infopath 2010 ?

    Tried by using this, but its not working in Infopath 2010

    Application object is not having MachineOnlineState property.

    Please help in finding the same.

    //To find whether Network connectivity

    //if (0 == Application.MachineOnlineState)

    //{

    // XDocument.UI.Alert("Your computer is offline.");

    //}

    //else

    //{

    // XDocument.UI.Alert("Your computer is online.");

    //}

     

    Thanks & Regards,

    Mahesjak 

     

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.