By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,573 Members | 1,797 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,573 IT Pros & Developers. It's quick & easy.

matching strings and loading files

P: n/a
Howdie

I got two issues. The file I load into a listbox, contain
alot of strange characters. How should I load the file so
the characters remain in shape as they have been as when
opened in VI,edit, etc. The other issue is that I wonder
if anyone have code snippets how to compare text in a
textbox to certain words.

John
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hello,

"John" <dr*@spray.se> schrieb:
I got two issues. The file I load into a listbox, contain
alot of strange characters. How should I load the file so
the characters remain in shape as they have been as when
opened in VI,edit, etc.
Which code do you use for loading the text? Do you use the 'StreamReader'
class? Maybe wou should specify an encoding in its constuctor.
The other issue is that I wonder if anyone have code snippets
how to compare text in a textbox to certain words.


You can use the '=' operator to compare strings. What's the problem?!

--
Herfried K. Wagner
MVP VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.