Serial Port Communication in VB.Net
#16
Posted 24 November 2009 - 01:14 AM
Excellent tutorial. Unlike some users, I had no problem with the attachment.
#17
Posted 04 December 2009 - 12:13 PM
Thank you for the tutorial.
To help those with downloading problems, I found the built-in Windows 7 zip handler didn't like it, but as mentioned above, 7-Zip FileManager does unzip it. The trick? The first unzipping just creates one new file without an extension, this is another compressed file, so unzip this one with 7-Zip also
I'm running VB 2008 Express Edition. It ran a project update successfully with no logged errors, but just one Build error on running. It didn't like: Me.MainForm = Global.PCComm.PCComm.frmMain
Delete the duplicated PCComm.
Hope this helps!
To help those with downloading problems, I found the built-in Windows 7 zip handler didn't like it, but as mentioned above, 7-Zip FileManager does unzip it. The trick? The first unzipping just creates one new file without an extension, this is another compressed file, so unzip this one with 7-Zip also
I'm running VB 2008 Express Edition. It ran a project update successfully with no logged errors, but just one Build error on running. It didn't like: Me.MainForm = Global.PCComm.PCComm.frmMain
Delete the duplicated PCComm.
Hope this helps!
#18
Posted 04 December 2009 - 12:42 PM
The file is not corrupt, but it is a little confusing. I use WinRAR to handle my compressed files. I extracted the file that has no extension using WinRAR, then right-clicked on the extensionless file and opened THAT with WinRAR. The code is there, not corrupted.
#19
Posted 15 December 2009 - 09:27 AM
Extract the included, extensionless file with WinRAR, then rename the extentionless file so it has a .ZIP at the end, then open, and extract again. The files are there. Windows doesn't understand why you would have a ZIP of a ZIP so it throws an error.
#21 Guest_keshav kundak*
Posted 24 February 2010 - 01:57 PM
please use WinRar to overcome these problem,because file is not corrupted.
#22 Guest_Norman*
Posted 09 April 2010 - 10:16 AM
Hi,
Firstly, thanks for the sample it really helped me get going on serial communications.
However, why did you do DisplayData the way it is (i.e. using delegates, event handlers etc.). I replaced the code in DisplayData with that from DoDisplay and it seemed to work at least in the sample I created. I just wanted to see what would happen as I don't really understand the implications of the line.
Can you explain why this is done the way it is?
Many thanks.
Firstly, thanks for the sample it really helped me get going on serial communications.
However, why did you do DisplayData the way it is (i.e. using delegates, event handlers etc.). I replaced the code in DisplayData with that from DoDisplay and it seemed to work at least in the sample I created. I just wanted to see what would happen as I don't really understand the implications of the line.
_displaywindow.Invoke(New EventHandler(AddressOf DoDisplay))
Can you explain why this is done the way it is?
Many thanks.
#23 Guest_clickhome.ws*
Posted 19 April 2010 - 01:39 AM
Thank you. Now i know how to develop it.
#24 Guest_X.TK*
Posted 16 May 2010 - 02:45 AM
好,代码太长,懒得看
Good, The Code is too long!
Why not Use the Class RS232.vb?
Good, The Code is too long!
Why not Use the Class RS232.vb?
#25 Guest_X.Tk*
Posted 16 May 2010 - 02:48 AM
I'Just Want To Get This Programme!
www.codeworks.it/net/form.gif
www.codeworks.it/net/form.gif
#26 Guest_v.*
Posted 25 May 2010 - 07:05 AM
thank you very much for this code.
I'm running into some problems though...
Conversion to vs.net 2008 worked fine, but there was an error with a duplicate PCComm
removing this seemed to do the trick.
The problem I am having is that the returned data from an external device returns giberish:
I get stuff like
Can anyone point me in the right direction on how to solve this?
I'm running into some problems though...
Conversion to vs.net 2008 worked fine, but there was an error with a duplicate PCComm
removing this seemed to do the trick.
The problem I am having is that the returned data from an external device returns giberish:
I get stuff like
Quote
???????(?8E?rB?XEEbSVB!?B?8?dDM
Can anyone point me in the right direction on how to solve this?
#27 Guest_fred*
Posted 06 June 2010 - 06:36 PM
Is it possible to open 2 serial connection? one to receive and one to send at the same time.
#28
Posted 25 June 2010 - 12:41 AM
I very much thank u for your codes. Now, I need these code, I will test them now. If I need any help, please help me.
#29
Posted 29 June 2010 - 07:59 PM
Thank a lot for your useful code, but I can't see any read code example. How can I write? What code are needed? Thank you for your great example.
#30 Guest_Jeff*
Posted 14 July 2010 - 01:10 PM
|
|








MultiQuote



|