Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: Request is a Parm and Object?
User819

Posts: 15
Member Since: 02/23/01
posted April 3, 2001 9:16 AM

I'm trying a different track now with the control.

I dropped the web server control on a form, and in the GET event code I update a form label with the text of request.filename. So it looks like request is a parameter and an object - is that true? 

Should Dart.Request.1 ever be instantiated by itself with CreateObject(), or should it only be touched through the GET event of Dart.WebServer.1?

The VB example for the web server control shows the GET event when the control is a part of the project/environment. Can you show a comparable example in "pure code" or VBScript?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 3, 2001 9:28 AM


Since there are no events in VBScript, you would not be able to use a server based tool. The request only exists inside the GET event.

One thing you could do is create your own ActiveX control in VB that contains our server control and event handling, then create that control in vbscript and use it's methods instead.

Hope this helps!

Tony Priest
Dart Tech Support
User819

Posts: 15
Member Since: 02/23/01
posted April 3, 2001 5:02 PM


So that means I would be able to call it from my script code by MyObject.oWebSvr.Get.Request ?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 3, 2001 5:13 PM


How do you get events in VBScript?

Tony
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX