Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Translating West Wind code into .NET
Message
From
17/05/2006 20:39:51
 
 
To
17/05/2006 15:53:40
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 8.0
Miscellaneous
Thread ID:
01122974
Message ID:
01123070
Views:
20
>Anyone would know how to translate this West Wind code in .NET?
>
>
>loHeader = CREATEOBJECT( "wwHTTPHeader")
>loHeader.SetProtocol()
>loHeader.SetContentType("application/zip")
>loHeader.AddHeader("Content-Length",TRANSFORM( LEN( cInfo)))
>loHeader.AddHeader("Content-Disposition", " :attachment ;filename=" + cFileName )
>loHeader.AddHeader("Accept-Ranges","bytes")
>loHeader.AddHeader("Connection","Close")
>Response.Rewind()
>Response.ContentTypeHeader(loHeader)
>Response.Write(cInfo)
>
The Response object does about the same in .NET. I was able to simulate the same by that use.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform