English Deutsch Français Italiano Particle Software Buy Now


Particle Software
 
Check if Online
   ..::   About  •  Purchasing  •  Search  •  Contact  • Home   ::..
 
Screenshots
• Sample
Downloads
Resources
• FAQ
• Macros

 
   Below shows how IntraLaunch can be used to see if the workstation has an active and working connection to the Internet. There are three possible functions that allow you to check. They return true/1 if online and false/0 if not online. IntraLaunch 4.7 or higher required. IE4 or higher must be installed.

   Keep in mind this function is not a perfect solution, and only essentially checks if Internet/TCP resources are installed and working on the given workstation.

  • CheckIfOnline()
  • CheckIfOnlineViaModem()
  • CheckIfOnlineViaLAN()



 
 
<HTML>

<SCRIPT LANGUAGE="JavaScript">
  function Test()
  {
    var iResult;
    iResult = IntraLaunch.CheckIfOnlineViaModem();

    if (iResult == 1)
    {
      alert('Currently Online');
    }
    else
    {
      alert('Not Currently Online');
    }
  }
</SCRIPT>

<BODY>

<a href="Javascript:Test();">Test if Online</a>

</BODY>

<OBJECT ID="IntraLaunch" STYLE="display : none" WIDTH=1 HEIGHT=1    CODEBASE="http://intranet.net/menu/IntraLaunch.CAB#version=5,0,0,0"
   CLASSID="CLSID:0AE533FE-B805-4FD6-8AE1-A619FBEE7A23">
   <PARAM NAME="ImageLoc" VALUE="Null">
   <PARAM NAME="ImageSrc" VALUE="Null">
   <PARAM NAME="Run" VALUE="Null">
   <PARAM NAME="RunParms" VALUE="">
</OBJECT>

</HTML>
 
 
       





Copyright © 1997-2008 Particle Software - All Rights Reserved
Web services provided by Extreme Hosting