|
-
Mar 1st, 2001, 08:55 PM
#1
Thread Starter
Member
I'm writing a program to exchange pictures with winsock. I've converted them into a bytearray and can send them over the wire but I just can't get the DataArrival Event right (the array is sent in multiple blocks) The problem is that is have to work remotely so I can't debug my code properly.
Can anyone explain how this dataArrival event really works or does anyone have some code for it that I can study.
Thank you.
-
Mar 1st, 2001, 10:56 PM
#2
Junior Member
change Excel file into Byte array
Hi,
I have the problem very similar to yours.I'd like to write a program in vb to send mail with attachment .
I now can use winsock control to send mail but I can't attach files. I find the SendData method of winsock control can send binary data if I change the file into a byte array.But I don't know how to change a certain file such as Excel file to byte array.Can you give me some suggestions?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|