On Jun 29, 2009, at 7:15 PM, Dennis Birch wrote:
On Mon, Jun 29, 2009 at 1:40 AM, Carlos M<rblists@rbtips.com> wrote:
For Windows check the WFS InternetConnection module:
http://aaronballman.com/programming/REALbasic/Win32FunctionalitySuite.php
Thanks for the tip, Carlos. I put together a test project and ran it
in Windows 7 beta which is installed in VirtualBox on my iMac.
I get the exact same values for each of the following module tests
with the DSL modem plugged into the switch and removed from the
switch:
dim offline As Boolean = InternetConnection.Offline
dim configured As Boolean = InternetConnection.Configured
dim lan As Boolean = InternetConnection.LAN
dim noconnection As Boolean = InternetConnection.NoConnection
dim modem As Boolean = InternetConnection.Modem
dim busy As Boolean = InternetConnection.ModemBusy
dim proxy As Boolean = InternetConnection.Proxy
Have I overlooked something, does it not work the same in a virtual
machine as in a real PC, is it Windows 7, or what?
It might depend on the virtualization. Under Parallels at least, you
have a choice of two or 3 styles of networking -- one of which
basically connects from the VM to the mac (in which case the mac is
the "host" and therefore always on) -- another treats the VM as a
separate PC which talks directly with your gateway, etc. Not sure
how virtualbox does it, but I'd guess similar issues arise.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|