FRIHOSTFORUMSSEARCHFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

PROBLEM: Using .lines in VB 2005

 


ThePolemistis
HI,

I have a textbox and I want to use the .lines property so on a button click, I have:

Code:
       
Dim Sentence As String
For Each Sentence In txtDesc.lines
         
....

Next



However, .lines is not recognised as a property for txtDesc. txtDesc is allow set to multline =true.


How do I make it so that txtDesc.lines would work???


PS Im using Windows Mobile Developer Device Kit with VB 2005
fromegame
System.Windows.Forms.TextBox.Lines is an array. If you want the amount of lines you should use
Code:
TextBox1.Lines.Length
Related topics
Visual Basic Tutorial - File I/O in VB: Text Files
question on vb language and mysql...
C++ Using class methods in inline functions? Scope problem?
VB 2005
IN NEED:VB 2005 Express Sample Projects
[OFFICIAL] PlayStation 3
FTP problem using Windows Explorer
Windows Media Centre
Windows XP & Motorola Phone Tools Problem?
Visual Basic 2005
Do you have problem with articles in English?
Problem using my microphone
Cron Jobs Problem.
Problem using sessions_start()
need help from VBS guru.... how to delete a registry key?
CSS List Problem
CRT monitor problem - horizontal lines
ATI vs Nvidia
A soldier's rant
Free Domain & Redirect Services
Amd 64 Problem
form submit
Muslims Should be Thanking US for Iraq Invasion
n00b mySQL question :D
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.