954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

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

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' .

apuamy
Newbie Poster
22 posts since Mar 2008
Reputation Points: 10
Solved Threads: 0
 

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'

U'rDady
Newbie Poster
2 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 
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.

Jishnu
Posting Pro
518 posts since Oct 2006
Reputation Points: 193
Solved Threads: 25
 

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

cijoaugustine
Newbie Poster
2 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

i want to store the data on website into database by using vb6. can anyone tel ? any rply will helpful for me. thanx advance.

vbmourya123
Newbie Poster
1 post since Mar 2012
Reputation Points: 10
Solved Threads: 0
 

please start your own thread in the appropriate forum

ChrisPadgham
Posting Pro in Training
413 posts since Sep 2009
Reputation Points: 102
Solved Threads: 78
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You