If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Implementing the Response Object

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-15-03, 10:00
dotCOMer dotCOMer is offline
Registered User
 
Join Date: Oct 2003
Posts: 16
Implementing the Response Object

Q: I'm trying to create a *dummy* response object and I get errors implementing the Response objects. My code looks like this:
Code:
Implements Response

Private Property Let Response_ExpiresAbsolute(ByVal RHS As Date)

End Property

Private Property Get Response_ExpiresAbsolute() As Variant

End Property

   :
I used the drop downs at the top of VB6's code window to create the functions so I'm not sure why I get this error:
Code:
Compile Error:
Definitions of property procedures are inconsistent, or property procedure has an optional parameter, a ParamArray, or invalid Set final parameter
Any ideas? Thx...
Reply With Quote
  #2 (permalink)  
Old 10-15-03, 14:57
dotCOMer dotCOMer is offline
Registered User
 
Join Date: Oct 2003
Posts: 16
FYI, no can do. We ended up changing all the Response.Write code to utilize a custom object because you can't implement the "Write" and "End" methods in VB.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On