Click to See Complete Forum and Search --> : Get Request.Form data in VB Class Module
DavidRupe
Jun 19th, 2000, 12:12 AM
I am porting several pages and functions to COM objects for our Intranet applications. I have heard you can recieve Session and Request data from within a COM object. Specifically in the Initialize Event of an ActiveX DLL Class Module. I tried using Request.QueryString("formName") but recieved an invalid variable name for the word Request. Had anyone every successfully recieved form data from within a class module. Thanks
spyder
Jun 19th, 2000, 12:43 AM
The Request object and the response object that you are Refering to are ASP Commands that will only work in ASP.
I have not found a way to 'combine' the two effectively. The only other way that you might try is to create and ActiveX Control and use that to get the information that you seek.
Hope this Helps and gives you an Idea of where to go.
Spyder
Clunietp
Jun 19th, 2000, 08:47 AM
You have to add a reference to the IIS library (I don't remember the name at the moment, sorry) and I believe you have to acquire the object somehow...
note that by doing this, you will blur the lines between the presentation and the business layers. This works fine if you need speed at any cost, but it makes your web app much more difficult to maintain and enhance
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.