pic.programmer
Advanced Member level 3
- Joined
- Aug 19, 2015
- Messages
- 773
- Helped
- 141
- Reputation
- 284
- Reaction score
- 140
- Trophy points
- 43
- Activity points
- 7,531
Please zip and post the original untouched VC# project and mention which version of Visual Studio has to be used to open the file. I tried opening in VS 2008, VS 2010, VS 2012, VS 2013 and VS 2015 but they don't show the Windows Form of the project.
Edit: It opened in VS 2010.
Make this small change and see if it works.
Edit: It opened in VS 2010.
Make this small change and see if it works.
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 private void btnReceive_Click(object sender, EventArgs e) { int i=0, j=0, k=0; byte[] data = new byte [64]; byte[] str = new byte [64]; data = dev.Receive(); if (data != null) { txtReceive.Text = System.Text.Encoding.ASCII.GetString(data); } }
Last edited: