Difrents beetwin Exe and Htm?

boskomihic
11-28-2001, 01:46 PM
Does anyone can explain to me why when I sending some txt or htm file from my computer to friends computer (they are connected over modem using MSComm) everything is all right, but when I sending some exe or mp3 file computer witch is receiving that doesn't receive even one bait?

ChiefRedBull
11-28-2001, 01:57 PM
HTM or text can be sent as ASCII, which is probably the default mode, but when youre sending pictures, music or exe's you need to use binary transfer. I dont know about the MSComm control, but its probably got a transfer moce property you can set.....

boskomihic
11-29-2001, 03:26 PM
I am using binary mode

divil
11-30-2001, 05:29 AM
Transferring binary data over the mscomm control is very tricky, and unreliable. I suggest you use Base64 encoding to transfer binary data, like you do with email attachments. There are several free libraries for VB to accomplish the encoding/decoding process.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum