*** ActiveX Control Event *** LPARAMETERS session, request, response ThisForm.Label1.Caption = request.filenameAnd when the event fires, the caption updates. I guess this means that the parameter "request" is an object itself, right?
oW = CreateObject("Dart.Webserver.1") oW.RootDirectory = "c:\" oW.LogDirectory = "c:\" oW.Start(8080 , -1 , "127.0.0.1" , "127.0.0.1" ) tStartTime = DateTime() Do While .T. oW.Get() DoEvents If DateTime() > (tStartTime + 15) Cancel EndIf EndDo oW.Stop oW = .Null.I guess there is more than one way to reference a control's event, but I'm not understanding. I also tried to adapt Erik's Moore's "ActiveX Decorator Discovery" code, creating my own GET() that could be called but I get the error "request is not an object".