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: Questions about contents of retrieved pages
User861

Posts: 4
Member Since: 03/07/01
posted March 7, 2001 7:16 AM

Please could you tell me what type of data is retrived using Dart.http.1 object as in
..........
Http1.Get content, headers
What is a Vb_str
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted March 7, 2001 9:19 AM


In ASP when you use a variable for the first time it is a Variant whose type is empty. Our methods are expecting the Variant to be either a BSTR or a ByteArray. In order to get the variable to the right type, you have to initialize it:

Dim Content
Content = ""
Http1.Get content, headers

Hope this helps!

Tony Priest
Dart Tech Support

User861

Posts: 4
Member Since: 03/07/01
posted March 8, 2001 3:06 AM

Thank you Tony Priest for your time I have initialized the variable :Content but I can't do any string manipulations in my ASP files using VBScript; CSTR ,Replace and other string functions don't work ,it hangs(the program)
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted March 8, 2001 7:17 AM


I'm not sure why that would be. What errors do you get? Can you provide a small example (two or three lines of code) of something that doesn't work?

Thanks,

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