J
japp66
Guest
What is the proper way of instanciating the BrowserType object (browscap.dll) in a VB6 module.bas?
I do like this but it isn't working.....
Added a reference to browscap.dll (MSWC Browsertype........)
'Declare it
Private objBCap As BrowserType.BrowserCap
In a Sub... Use it
Set objBCap = Server.CreateObject("MSWC.BrowserType")
strBrows = objBCap.browser
Generates a error, why?
006~ASP 0177~Server.CreateObject Failed~There is no MTS object context
The Sub is called from an .asp page
I do like this but it isn't working.....
Added a reference to browscap.dll (MSWC Browsertype........)
'Declare it
Private objBCap As BrowserType.BrowserCap
In a Sub... Use it
Set objBCap = Server.CreateObject("MSWC.BrowserType")
strBrows = objBCap.browser
Generates a error, why?
006~ASP 0177~Server.CreateObject Failed~There is no MTS object context
The Sub is called from an .asp page