I was speculating there was in existence an application that could check for network connectivity. After a brief search I did not find anything that look promising so I developed one. This application NetCheck waits for Windows to connect to the network and then exits. This can be used in the PWB startup script to delay PWB starting until Windows is connected to the Internet.
http://www.teamsoftwaresolutions.com/beta/CheckNet.zip
In the PWB INI file, set the following.
[Browser]
...
ShellExecuteScripts=False
...
[Files]
...
StartupScript=C:\Path to file\start.bat
...
The file "start.bat", should look something like this.
@ECHO OFF
CLS
ECHO Checking networking...
CheckNet.exe
The only shortcoming is the DOS command box will be visible while this process takes place. To get around this you could create a batch file that runs CheckNet.exe then PWB.exe and create a shortcut to it and change the shortcut to run the batch file minimized.
Please let me know if you have any questions.
--Scott