vivcode
09-01-2004, 04:33 AM
Set dbObject = Server.CreateObject("aCls.oEntry")
call dbObject.pInfo(frmID, vErrTxt, rsInfo) <== line 22
I got the following error at line 22
Error Type:
aCls (0x800A01A8)
Object required
I thought may be dbObject was not set correctly so I tried:
Set dbObject = Server.CreateObject("aCls.oEntry")
Set rsTypes = dbObject.getTypes(vErrTxt) <== worked fine
call dbObject.pInfo(frmID, vErrTxt, rsInfo) <== still error
The only difference between getTypes and pInfo is getTypes is a public function while pInfo is a public sub.
I wrote all of the codes, including the aCls class.
Does any one know how to invoke a Visual Basic Sub vs a Function in ASP?
call dbObject.pInfo(frmID, vErrTxt, rsInfo) <== line 22
I got the following error at line 22
Error Type:
aCls (0x800A01A8)
Object required
I thought may be dbObject was not set correctly so I tried:
Set dbObject = Server.CreateObject("aCls.oEntry")
Set rsTypes = dbObject.getTypes(vErrTxt) <== worked fine
call dbObject.pInfo(frmID, vErrTxt, rsInfo) <== still error
The only difference between getTypes and pInfo is getTypes is a public function while pInfo is a public sub.
I wrote all of the codes, including the aCls class.
Does any one know how to invoke a Visual Basic Sub vs a Function in ASP?