Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retreive IIS ServerVariables from a VB component
Message
From
08/01/2001 06:04:27
 
General information
Forum:
Visual Basic
Category:
Internet applications
Miscellaneous
Thread ID:
00460011
Message ID:
00460486
Views:
12
Hi Eric


Set a reference in your DLL to "Microsoft Active Server Pages Object Library" and MTS.

I'm not completely sure but you may have to install IIS or PWS on your machine.

The Response and Request objects are derived from the ObjectContext

dim strBrowser as String
dim oRequest as Request

set oRequest = oObjectContext("Request")
strBrowser = oRequest.ServerVariables("HTTP_USER_AGENT")


Alternatively you can find out the browser used from some client-side JavaScript.

Hope this is what you're looking for.

Thanks

James
Previous
Reply
Map
View

Click here to load this message in the networking platform