Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET Communications > Serial port EOL character


Reply
 
Thread Tools Display Modes
  #1  
Old 12-01-2011, 11:56 AM
KevinVA KevinVA is offline
Regular
 
Join Date: Nov 2002
Location: Iowa
Posts: 59
Default Serial port EOL character


Hi All,

I have quite a bit of VB6 experience but now am trying to create my first VB.Net project. The project is very simple - it just needs to send 8-10 character strings from the PC serial port. The problem I'm seeing is that VB.Net is always sending out a 0x0A character after each 'WriteLine' call. Using VB6 it was necessary to manually send out any End Of Line characters. My application requires that no extra EOL characters be sent after the string. Can anyone explain how to do this?

Thanks in advance,
Kevin
Reply With Quote
  #2  
Old 12-02-2011, 05:08 AM
DrPunk's Avatar
DrPunk DrPunk is offline
Senior Contributor

* Expert *
 
Join Date: Apr 2003
Location: Never where I want to be
Posts: 1,403
Default

Use Write instead?
__________________
There are no computers in heaven!
Reply With Quote
  #3  
Old 12-02-2011, 10:19 AM
KevinVA KevinVA is offline
Regular
 
Join Date: Nov 2002
Location: Iowa
Posts: 59
Default

WOW - I didn't even notice the Write function. That works perfect. Thanks DrPunk!!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->