I have generated bytes from webservice and I am able to write into file using visual basic.NET by using the following code where bytReturn value comes from web service.
Dim s1 As IO.FileStream s1 = New IO.FileStream(sFileName, IO.FileMode.Create, IO.FileAccess.Write) Dim bw As IO.BinaryWriter bw = New IO.BinaryWriter(s1) Try bw.Write(bytReturn) Finally bw.Close() s1.Close() End Try
This code works fine. I need to write the same code using visual basic 6.0. I am able to call the web service from visual basic and I don't know the code to write into the file.
Any help is kindly appreciated.
Kind Regards,
Priya

New Topic/Question
Reply



MultiQuote



|