Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot see functions in the webclass

Status
Not open for further replies.

dg043

Programmer
Apr 22, 2002
52
0
0
GB
I am currently working on a web application that is to be ran through IIS. The webclass on the server is called wclsHelpDesk.dsr and in the login web event, it uses a method in a class called c_SQLCon.cls. My plan was to have that class call a method back in the webclass , to output some information in a web browser to the client. However, even though I have defined the method in the webclass as

Code:
Public Sub ErrorTrap(source as string, destination as string)

every time I try to call this method from the class, I get a 'Sub or Function not defined' error. Can anybody tell me what to do or perhaps suggest an alternative way to write back to the client web browser from c_SQLCon.cls?

Dan Griffiths
Software Analyst
National Grid plc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top