Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends ,

I am new to asp.net, here i am using using send/receive mail in my web page, i had a problem while using memory streaming instead of file streaming,

Dim FS As MemoryStream = New MemoryStream(Server.MapPath("../Temp/" & filename), FileMode.Create)

error : Value of type 'String' cannot be converted to '1-dimensional array of Byte'


old code is: Dim FS As FileStream = New FileStream (Server.MapPath("../Temp/" & filename), FileMode.Create)

any one please help me

thanks in advance

Velsamy A
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900