ConnectionSpeed Property
Returns or sets an FpConnectionSpeed value that indicates the user's Internet connection type.
FpConnectionSpeed can be one of these FpConnectionSpeed constants. |
fpConnect144 14400 baud-rate modem |
fpConnect288 28800 baud-rate modem |
fpConnect56K 56600 baud-rate modem |
fpConnectISDN ISDN connection |
fpConnectT1 T1 connection |
fpConnectT3 T3 connection |
expression.ConnectionSpeed
expression Required. An expression that returns an Application object.
Remarks
The ConnectionSpeed property is used in conjunction with the SlowPage property to determine the simulated download time of a Web page. The default value is fpConnect144.
Example
The following example sets the ConnectionSpeed property to fpConnect56K, simulating a 56K modem. The amount of time a file takes to download and the criteria used to determine a "slow" page in the Reports view will be based on this value.
Sub SpeedOfConnection()
'Modifies the ConnectionSpeed property
Dim objApp As FrontPage.Application
Set objApp = FrontPage.Application
With objApp
'Set the connection type to 56K modem
.ConnectionSpeed = fpConnect56K
End With
End Sub