Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,199,533 members, 7,972,033 topics. Date: Thursday, 10 October 2024 at 09:09 PM |
Nairaland Forum / Science/Technology / Programming / Software/Programmer Market / Easy Com Port On Vb (3716 Views)
I Need Proejcts On Vb.net Or C#, Business Applications That Can Bring Money / Need Ebooks On Vb / Vb Programmers Wanted Urgently In A Leading Software Company In Lagos (2) (3) (4)
Easy Com Port On Vb by Andrew3(m): 4:09pm On Sep 24, 2011 |
Working with windows components could be a rigmarole a times and still could be fun if later achieve your target. Since I discovered the free download of Visual Studio .Net Express 2008 over at the microsoft site, I have had a small play bringing some of my VB 6 code over to the new standards. Attached is a small sample I just wrote to communicate with the Serial Port. The s/w enumerates all available ports automatically and data entred into the upper text box is transmitted to the port on clicking the Tx button. The data sent is terminated by vbCr character (chr(13)) but this can be modified in code. Pauses are used to wait for any recieved data to be filled in the buffer, and the Rx data is then added to the RichTextBox. Again these can be modified or replaced by Do, While loops depending on what device you communicate with. This is not the best way of working with VB.NET, I am reading a lot about threading at the moment. However this very simple code works in my application 100%, and hopefully it can give others a small head start. As a gsm programmer, serial port and usb ports are my major priority. getting my new blackberry crypto algorithm to communicate with my newly developed blackberry tool has taken me almost 3 MONTHS but at last. I had to read the blackberry bsn dump via local brutheforcing and all cable schematics to the chip failed even via jtag. I simply ended up being able to communicate via serial with this. If anyone need this code in case. Dim comPorts As Array 'Com ports enumerated into here attached is the com exe http://www.4shared.com/file/lGN2OpsU/SerialPort_Test.html.
|
Re: Easy Com Port On Vb by Andrew3(m): 4:11pm On Sep 24, 2011 |
,
|
Re: Easy Com Port On Vb by Andrew3(m): 4:25pm On Sep 24, 2011 |
AT LAST ALL THOSE WITH MEP 0 LEFT CAN CONTACT ME FOR A STANDALONE SOLUTION. Uploaded with ImageShack.us |
Re: Easy Com Port On Vb by THABOSS1: 8:27pm On Oct 09, 2011 |
hi there wat operating system did you install your vb 2008 on?? |
Re: Easy Com Port On Vb by Andrew3(m): 2:15pm On Oct 10, 2011 |
THA BOSS:XP SP3 |
Re: Easy Com Port On Vb by CristianM: 7:53am On Apr 06, 2012 |
hello, about that standalone solution? thank you |
(1) (Reply)
A Ready Made Project Report On Hospital Management (information) System / sold / I Need 2 Of The Best Programmers For A Project In January
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 16 |