Simple VB Component

Results 1 to 2 of 2

Thread: Simple VB Component

  1. #1
    Join Date
    Dec 1969

    Default Simple VB Component

    I am trying to build my first vb component, using Visual Basic 5 and running it on Win98 with a PWS. The component uses a simple &#039;response.write "hello world". I have therefore ticked the &#039;Microsoft Active Server Pages Object Library&#039;in references. I have then copied the code from a book and then registered the component in the system32 directory, which works for previous components that I have registered. However when I create an instance of the object in an asp page, I get the error message -<BR><BR> &#039;Object variable or With block variable not set&#039;<BR><BR>Any suggestions?<BR>many thanks.<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Simple VB Component

    have you initialised the Response object in onPageStart?<BR><BR>j

Posting Permissions

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