|
-
Jan 24th, 2006, 09:43 AM
#1
Thread Starter
Junior Member
System.Text.Encoding.ASCII not declared
Hi,
I've used a sample code to create an RS232 connection in my application.
My problem is with this line:
m_CommPort.Write(Encoding.ASCII.GetBytes(Me.cbGPSSentence.Text & Chr(13)))
The Encoding (underlined) is coming up as undeclared. I know where the namespace is, but not too sure how to declare it?
It works fine without any visible declaration in the original app.
Any pointers?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|