Results 1 to 3 of 3

Thread: Get Request.Form data in VB Class Module

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Location
    Las Vegas
    Posts
    3

    Unhappy

    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
    David Rupe
    Webmaster, Rupe.net

  2. #2
    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

  3. #3
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width