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

MSCOMM of VB 2005

Hi, I had been wanting to translate my VB 6.0 MSCOMM syntax into Vb 2005.

Can someone give some advice?

codes on VB 6.0
If Comm1.PortOpen = False Then
Comm1.PortOpen = True
Comm1.DTREnable = True
Comm1.RTSEnable = True
Comm1.RThreshold = 1
Comm1.InputLen = 1
bOK = False
bError = False
Comm1.Output = "AT" & vbCrLf
Wait

I only changed Comm1.PorrtOpen=False into

Comm1.IsOpen = False for first line.

And
Comm1.PortOpen I replaced with Comm1.Open()

Thanks for your kind help!:p

LiBOC
Junior Poster in Training
73 posts since Jul 2005
Reputation Points: 10
Solved Threads: 1
 

hi liboc i have the same task do you find answer?

if you do mail me

[email]soul.cuervo@gmail.com[/email]

soul_cuervo
Newbie Poster
1 post since May 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You