Browser support Java? (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