Browser support VB script (VB.net) : Browser Capabilities « Request « ASP.Net






Browser support VB script (VB.net)

<%@ Page Language=VB Debug=true %>
<script runat=server>
Sub Page_Load(ByVal Sender as Object, ByVal E as EventArgs)
    Dim BCaps As HttpBrowserCapabilities
    BCaps = Request.Browser
    lblMessage.Text = "Supports ActiveX Controls: " _
        & BCaps.ActiveXControls & "<BR>" _
        & "Supports Java Applets: " _
        & BCaps.JavaApplets & "<BR>" _
        & "Supports Java Script: " _
        & BCaps.JavaScript & "<BR>" _
        & "Supports VB Script: " _
        & BCaps.VBScript & "<BR>"
End Sub
</SCRIPT>
<HTML>
<HEAD>
<TITLE>Browser Code Capabilities</TITLE>
</HEAD>
<form runat="server">
<asp:label 
    id="lblMessage" 
    font-size="12pt"
    font-name="Tahoma"
    runat="server"
/>
</form>
</BODY>
</HTML>
           
       








Related examples in the same category

1.Browser supports ActiveX Controls? (VB.net)
2.Browser support Java? (VB.net)
3.Browser supports Javascript (VB.net)
4.Browser supports cookie? (VB.net)
5.Is 16 / 32 bits window based? (VB.net)
6.Get Browser Name (VB.net)
7.Http Browser Capabilities (VB.net)