storing data from serial port inyto a database using VB6.0

Reply

Join Date: Mar 2008
Posts: 22
Reputation: apuamy is an unknown quantity at this point 
Solved Threads: 0
apuamy apuamy is offline Offline
Newbie Poster

storing data from serial port inyto a database using VB6.0

 
0
  #1
Mar 22nd, 2008
Can anybody help me in filling an Access database table in one field
from a serial port using VB 6.0.Data coming from the serial port can be seen in the VB text box line by line.I want to store every line under a field and can manipulate.How can i use MSComm command ? Can this command work -for example 'Data2.RecordSource = Text1.Text' .
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 1
Reputation: U'rDady is an unknown quantity at this point 
Solved Threads: 0
U'rDady U'rDady is offline Offline
Newbie Poster

Re: storing data from serial port into a database using VB6.0

 
0
  #2
Jun 25th, 2008
Can anybody help me in filling an Access database table in one field
from a serial port using VB 6.0.Data coming from the serial port can be seen in the VB text box line by line.I want to store every line under a field and can manipulate.How can i use MSComm command ? Can this command work -for example 'Data2.RecordSource = Text1.Text'
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 514
Reputation: Jishnu will become famous soon enough Jishnu will become famous soon enough 
Solved Threads: 26
Jishnu's Avatar
Jishnu Jishnu is offline Offline
Posting Pro

Re: storing data from serial port into a database using VB6.0

 
0
  #3
Jun 28th, 2008
Originally Posted by U'rDady View Post
Can anybody help me in filling an Access database table in one field
from a serial port using VB 6.0.Data coming from the serial port can be seen in the VB text box line by line.I want to store every line under a field and can manipulate.How can i use MSComm command ? Can this command work -for example 'Data2.RecordSource = Text1.Text'
Eh?! What's the point repeating the words of the OP?

MSComm32 control can be used for serial port communication and for database handling (MS Access), you may use ADODB.
"You know you're a computer geek when you try to shoo a fly away from the monitor screen with your cursor. That just happened to me. It was scary." - Juuso Heimonen.

"The only truly secure computer is one buried in concrete, with the power turned off and the network cable cut." - Anonymous.
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 2
Reputation: cijoaugustine is an unknown quantity at this point 
Solved Threads: 0
cijoaugustine cijoaugustine is offline Offline
Newbie Poster

Re: storing data from serial port inyto a database using VB6.0

 
0
  #4
Jul 2nd, 2008
it is possible to access data from serial port
eg

text1.text=mscom1.input.

data appeared in the serial port now in text box1.U can save this value as like normal data
It is better to use this code in on com event of comport
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC