Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 26th, 2007, 04:55 AM
Registered User
 
Join Date: Jun 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Urgent needed help in Serial port

Hi all,

        i wanna develop code in VB that work for serial port.MY work is to transfer a text file through serial port .Can any body help as soon as possible ?I m very new to VB. So don't have much idea. so please tell me wt exactly i have to do? Give bit code for ref. if anyone have

Thx in advance

 
Old June 26th, 2007, 06:44 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Why is it that people in India always put the punctuation just before the first letter of the next sentence, rather than as the last character of the sentence to which the punctuation belongs? Is there something in the native language and writing of India that has a syntax more like that? (You did that both here, “ . . . through serial port .Can any body . . . ” and here “ . . . as soon as possible ?I m very new to . . . ”

I haven't actually tried it, but I used to send data to a serial port in DOS by just treating it as a file. Have you tried "copying" the file to COM1 (or 2, 3 or 4) with the same syntax you would use to copy it to a file-system location?
 
Old June 27th, 2007, 07:17 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 224
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to ashu_from_india Send a message via Yahoo to ashu_from_india
Default

hey ajay,

use MSComm control in VB6. u can get many samples for downloading and uploading files through Serial port.
u hv to program for Sender and Receiver both...as the transfer speed should match

tell me if u need more help.








Similar Threads
Thread Thread Starter Forum Replies Last Post
serial port humayun Linux 0 February 20th, 2006 01:53 AM
Serial Port johnjohn Access VBA 2 November 19th, 2004 02:53 PM
Serial Port johnjohn Classic ASP Databases 1 November 16th, 2004 03:08 AM
Serial Port In C NET4JAGMOHAN C++ Programming 1 January 30th, 2004 07:56 AM
How to monitor serial port ? urgent Please ftusa VB How-To 1 June 10th, 2003 07:45 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.