 |
| Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET). |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Beginning 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
|
|
|
|

July 5th, 2007, 08:31 AM
|
|
Authorized User
|
|
Join Date: Jul 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hyper Terminal Problems
Hello Friends,
I have created code,
which receives data from the comport form another sys
My program is working, but 20% of data are lost during
travelling from another sys to my system.
What is the exactly problmes with it.
I think it is a buffer error, but i chang it and try
againg but got same problems
If u know
Plz guide me,
Thanks in Advance
Adarsh Patel
computer_adarsh at yahoo dot co dot in
|
|

July 5th, 2007, 10:26 AM
|
|
Friend of Wrox
|
|
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
|
|
I believe that there is a way to have the recieving machine tell the sending machine whther it is ready to receive more or not. It appears to me (given the limited info I have at this point) that your process is either too slow to handle the data coming, or is being hit with data when it is not ready.
A second issue might be that you need to force the receiving machine to prohibit other processes from gaining access to processor time while you are receiving.
|
|

July 7th, 2007, 08:30 PM
|
|
Authorized User
|
|
Join Date: Jul 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks for your reply
Actually I have already developed hyper terminal program in visual basic 6, it receives data from comport 1, but opposite pc sends data at a very high speed, and I am using textbox to enter data
So textbox speed is slow, between this I lost my data.
So i want suggestion for this, how to solve this problem of lost of data in the buffer or in the processing.
Thank you very much again
Adarsh Patel
|
|

July 13th, 2007, 01:11 AM
|
|
Friend of Wrox
|
|
Join Date: Oct 2004
Posts: 224
Thanks: 0
Thanked 1 Time in 1 Post
|
|
hey adarsh
u need to sync b/w two machines to resolve this issue
firstly, sync the RThreshold and SThreshold (MSCOMM properties) for both the machines
then, implement Acknowledgement procedure so tht Sending machine can send next data only after receiving ACK from Receiving machine
it may be little slow but its effective
i hope it will help
ashu
|
|

July 17th, 2007, 03:04 AM
|
|
Authorized User
|
|
Join Date: Jul 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thank you very much to all friends,
with the greatest support of you i have completed my hyper terminal
Thank you very much
sortly i will give my more detail to u
Thank you very much again
Adarsh Patel
|
|

July 19th, 2007, 02:48 AM
|
|
Authorized User
|
|
Join Date: Jul 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thank you to all member who take part in my small development journay
i am from India
and studing MCA Sem-3
at Bhavnagar (Gujart)
Thanks
Adarsh Patel
|
|

August 6th, 2007, 01:15 AM
|
|
Authorized User
|
|
Join Date: Jul 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Dear friends,
one problem i found during installation of the same program in windows xp,
my program is working well, but in windows xp
i have to set more protocol like
Ansi, Ansiw, vt100, vt100j, vt52 ...
how to set this protocol with my mscomm component.
Thanks
Adarsh Patel
|
|
 |