Hi Vijay,
I managed to solve my previous post problem...
But I need to know the followings:
1. Does this Function Property alike to ADO Property Method?
Public Property Get BLOB()
BLOB = BinaryData
End Property
2. Is this the right way to AppendChunk using Stream Method?
Response.ContentType = "application/x-msexcel"
Const adTypeBinary = 1
Dim strFilePath
strFilePath = "C:\ExcelFiles\Excel1.xls" 'This is the path to the file on disk.
Set objStream = Server.CreateObject("ADODB.Stream")
objStream.Open
objStream.Type = adTypeBinary
objStream.LoadFromFile strFilePath
Response.BinaryWrite objStream.Read
objStream.Close
Set objStream = Nothing
- Qn:
- how do i use the ".ContentType" method on the ADO Stream OBJECT?
- can i use the getBlob method with ADO Stream Object
2. Why can't I use the Request Method after BinaryRead Method? How can I make it work?
Sorry for the trouble..
Thx ;)