Help Required With Serial Data Transfer 
Author Message
 Help Required With Serial Data Transfer

I've written a personal e-mail system that allows any user of the system to
dial another user and transfer mail. I've done this using the MSCOMM custom
VBX. The way I transfer files is to read the file in line by line as a
string and then output that string along with a control string to ensure
that the line has been received. I have tried working with blocks of data,
reading in at 1K a time but have encountered buffer overflow problems. The
above method works but is fairly slow.

I have also added in a binary file transfer, whereby files can be attached
to a mail message, I had no idea how to transfer these files across the
dial up link so I went about it the same way as the mail transfer by
opening the file and using GET statements to read parts of the file into a
string and then outputting that string to MSCOMM along with control
characters. Amazingly this method does work with binary files, however I
have noticed some problems a) The creation date and time of the file is not
correct as it is written as a new file by the receiver b) the size of the
received file is different from the sent file!

I would appreciate any info, code samples or help with ways to transfer
information via the serial port, and specifically ways of transfering
binary files to ensure integrity at the receiving end.


Thanks

Peter Jones.



Sun, 19 Jul 1998 03:00:00 GMT  
 Help Required With Serial Data Transfer


[snip]

Just for the record:
I have had trouble with buffer overflow without any reason at all.
This due to a bu in MSCOMM.VBX from VB2.0. There is also a bug in the
comport driver in windows 3.11

There is a upgrade from Microsoft available.
Stig.



Sun, 19 Jul 1998 03:00:00 GMT  
 Help Required With Serial Data Transfer
You should take a look at the SilverWare Windows Communications Tool Kit.

It will enable you to do what you need.

You can contact SilverWare Inc. via:

Tele: (214) 247-0131
Fax:  (214) 406-9999

For on-line info:
Internet WWW is http://rampages.onramp.net/~silver

Good Luck...



Sat, 25 Jul 1998 03:00:00 GMT  
 Help Required With Serial Data Transfer
You should take a look at the SilverWare Windows Communications Tool Kit.

It will enable you to do what you need.

You can contact SilverWare Inc. via:

Tele: (214) 247-0131
Fax:  (214) 406-9999

For on-line info:
Internet WWW is http://rampages.onramp.net/~silver

Good Luck...



Sat, 25 Jul 1998 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Serial data transfer...HOW?

2. Data Transfer over Serial Interface (V.24 / RS232)

3. Question about transferring data through serial port!

4. Help required on serial port problem (RTS UART 2 WIRE COMMS etc)

5. Help required on serial port problem (RTS UART 2 WIRE COMMS etc)

6. Help required for transferring VBasic3.0 (16 bit) to VBasic5.0

7. Help required for transferring VBasic 3.0 (16 bit) to VBasic 5.0

8. serial file transfer HELP!!! :^)

9. Monitoring Data Transfer of Internet Transfer Contol

10. Taking data out of Userforms - help required

11. VB.net: Creating an application that requires a serial number

12. help required with mulitple Dropdownlistbox not displaying data.

 

 
Powered by phpBB® Forum Software