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: ....About Vt_BStr ?
User861

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

Could you please explain to me what is a VT_BSTR and how can I convert it to a normal string in VBScript

...
http1.Get Content, Header

Supposedly the contents of Content is VT_Bstr a

Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted March 7, 2001 9:18 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 = ""

Hope this helps!

Tony Priest
Dart Tech Support

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