web development India freelance website designer
Detect Internet Explorer Version

Private Sub Form_Load()
label1.Caption = ieverstring
label2.caption = IEVersion
End Sub

' module code:
'_______________________________________________________

Private Type DllVersionInfo
cbSize As Long
dwMajorVersion As Long
dwMinorVersion As Long
dwBuildNumber As Long
dwPlatformId As Long
End Type


Private Declare Function DllGetVersion _
Lib "Shlwapi.dll" _
(dwVersion As DllVersionInfo) As Long


Public Function IEVersion() As Long
Dim VersionInfo As DllVersionInfo
VersionInfo.cbSize = Len(VersionInfo)
Call DllGetVersion(VersionInfo)
IEVersion = VersionInfo.dwMajorVersion
End Function


Public Function IEVersionString()
Dim VersionInfo As DllVersionInfo
VersionInfo.cbSize = Len(VersionInfo)
Call DllGetVersion(VersionInfo)
IEVersionString = "Internet Explorer " & _
VersionInfo.dwMajorVersion & "." & _
VersionInfo.dwMinorVersion & "." & _
VersionInfo.dwBuildNumber
End Function
Detect IE version

1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700

Freelance ASP PHP web development | Web developer India Web development India| Prayagasoft - web designer India, Ecommerce developer india, Ecommerce design