Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

send files with mscomm32.ocx

74 views
Skip to first unread message

Mika Keskinen

unread,
Sep 6, 2001, 4:57:15 AM9/6/01
to
how can i send files (eq. MyApp.exe) by using vb6 and mscomm32.ocx
i know how to send ascii text but have no clue how send binary data.

Thanks, Mika


Dick_Grier

unread,
Sep 6, 2001, 12:30:36 PM9/6/01
to
Hi,

You need to implement a file transfer protocol. I have examples of this in
my book (see below). You can simply download XMCommCRC.ocx from my homepage
(the source code for it is in the book) for XMODEM file transfers. XMComm
wraps MSComm to add file transfer capability.

--
Richard Grier (Microsoft Visual Basic MVP)
Hard & Software
12962 West Louisiana Avenue
Lakewood, CO 80228
303-986-2179 (voice)
303-986-3143 (fax)
Author of Visual Basic Programmer's Guide to Serial Communications, 2nd
Edition ISBN 1-890422-25-8 (355 pages).
For information look on my homepage at http://www.hardandsoftware.net.
Use the Books link to order. For faster service contact the publisher at
http://www.mabry.com/vbpgser.


Mika Keskinen

unread,
Sep 7, 2001, 5:28:05 AM9/7/01
to
thank you, but i already have XMcommCRC. its useful ocx and i like it but
i am trying to send files using mscomm and i'm wondering if its possible or not.

is it possible? and how exactly i should send files.

i need to send appr. 20k file with XonXoff 1200bps,8,n,1

and another question is how do i receive files using mscomm ?

Thanks, Mika

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Rajani Reddy

unread,
Oct 24, 2001, 4:17:13 AM10/24/01
to

Hi,
Im using mscomm control for transferring a 6 k file.
For this u need to have two different applications, Transmitter and Reciever .

Transmitter transmits the contents of the file byte by byte to the outbuffer and reciever recieves it and stores it in a file in return.

If this is what is your requirement , then let me know.

Rajani

Bosko Mihic

unread,
Oct 26, 2001, 11:44:24 AM10/26/01
to
I don't know about him, but I whold like to know that.
So, please tell me how to resive and send file!

Mika Keskinen

unread,
Oct 29, 2001, 1:22:51 AM10/29/01
to
Hello !
This is exactly what i need. my file is appr 45k in size i need to send but what i need is help sending binaryfiles with mscomm.

Mika

Bosko Mihic

unread,
Oct 29, 2001, 12:00:31 PM10/29/01
to

Why don't you see VBTERM seample

Rajani Reddy

unread,
Nov 5, 2001, 10:54:33 PM11/5/01
to

Go to the following site for a small application
http://support.microsoft.com/support/kb/articles/Q158/0/08.asp

It shows u how to send a single file across another system through serial port.

0 new messages