I am learning to build components using VB. Tried out the foll. code and made the corr. dll(Prk.dll) and registered it using regsvr32.<BR><BR>project name : Prk, class name : Clk<BR>Option Explicit<BR><BR>Private MyScriptingContext As ScriptingContext<BR>Private MyApplication As Application<BR>Private MyRequest As Request<BR>Private MyResponse As Response<BR>Private MyServer As Server<BR>Private MySession As Session<BR><BR>Public Sub OnStartPage(PassedScriptingContext As ScriptingContext)<BR> Set MyScriptingContext = PassedScriptingContext<BR> Set MyApplication = MyScriptingContext.Application<BR> Set MyRequest = MyScriptingContext.Request<BR> Set MyResponse = MyScriptingContext.Response<BR> Set MyServer = MyScriptingContext.Server<BR> Set MySession = MyScriptingContext.Session<BR>End Sub<BR><BR>Public Function DoUploadfile()<BR> Dim MyTbytes As Variant<BR> Dim MyTempVariable As Variant<BR> MyTbytes = MyRequest.TotalBytes<BR> MyTempVariable = MyRequest.BinaryRead(MyTbytes)<BR> MyResponse.Write ("The bytes read from file is " & MyTempVariable & " ... ")<BR>End Function<BR><BR>When I try to access the component function from my asp receive the foll. error -<BR>My asp goes like -<BR><BR>&#060;% <BR> Dim Myupload_obj<BR> Myupload_obj = Server.CreateObject("Prk.Clk")<BR> Response.Write "Content length is " & Myupload_obj.DoUploadfile<BR> Set Myupload_obj = Nothing<BR> EndDoc<BR> %&#062;<BR><BR>can someone tell me what&#039s going wrong, why <BR><BR>Microsoft VBScript runtime error &#039 800a01b6&#039 <BR><BR>Object doesn&#039t support this property or method <BR><BR>/know_center/upload2.asp, line 6 <BR>