• (3 Pages)
  • +
  • 1
  • 2
  • 3

Serial Port Communication in VB.Net Rate Topic: ****- 1 Votes

#16 Manorts  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 24-November 09

Posted 24 November 2009 - 01:14 AM

Excellent tutorial. Unlike some users, I had no problem with the attachment. :^:
Was This Post Helpful? 0
  • +
  • -

#17 RCBasher  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 04-December 09

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!
Was This Post Helpful? 0
  • +
  • -

#18 cuculi54986  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 04-December 09

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.
Was This Post Helpful? 0
  • +
  • -

#19 bwilkins27  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 15-December 09

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.
Was This Post Helpful? 0
  • +
  • -

#20 Guest_keshav Kundal*


Reputation:

Posted 24 February 2010 - 01:52 PM

thank you so Much
:bigsmile:
Was This Post Helpful? 0

#21 Guest_keshav kundak*


Reputation:

Posted 24 February 2010 - 01:57 PM

please use WinRar to overcome these problem,because file is not corrupted.
Was This Post Helpful? 0

#22 Guest_Norman*


Reputation:

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.

_displaywindow.Invoke(New EventHandler(AddressOf DoDisplay))


Can you explain why this is done the way it is?

Many thanks.
Was This Post Helpful? 0

#23 Guest_clickhome.ws*


Reputation:

Posted 19 April 2010 - 01:39 AM

Thank you. Now i know how to develop it. ^^
Was This Post Helpful? 0

#24 Guest_X.TK*


Reputation:

Posted 16 May 2010 - 02:45 AM

好,代码太长,懒得看

Good, The Code is too long!

Why not Use the Class RS232.vb?
Was This Post Helpful? 0

#25 Guest_X.Tk*


Reputation:

Posted 16 May 2010 - 02:48 AM

I'Just Want To Get This Programme!
www.codeworks.it/net/form.gif
Was This Post Helpful? 0

#26 Guest_v.*


Reputation:

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

Quote

???????(?8E?rB?XEEbSVB!?B?8?dDM


Can anyone point me in the right direction on how to solve this?
Was This Post Helpful? 0

#27 Guest_fred*


Reputation:

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.
Was This Post Helpful? 0

#28 phoeshell  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 25-June 10

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. :balloon: :balloon: :whatsthat:
Was This Post Helpful? 0
  • +
  • -

#29 phoeshell  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 25-June 10

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.
Was This Post Helpful? 0
  • +
  • -

#30 Guest_Jeff*


Reputation:

Posted 14 July 2010 - 01:10 PM

View PostLouisda16th, on 18 November 2007 - 04:32 AM, said:

Great tutorial PsychoCoder! :) Thanks. Just one tiny problem. For some reason, I cannot download the attachment.


I have the same issue the file seams to be corrupted. Did you find a solution?
Was This Post Helpful? 0

  • (3 Pages)
  • +
  • 1
  • 2
  • 3