FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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
PlayStation 3
VB 2005
Visual Basic Tutorial - File I/O in VB: Text Files
IN NEED:VB 2005 Express Sample Projects
question on vb language and mysql...
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()
C++ Using class methods in inline functions? Scope problem?
Reply to topic    Frihost Forum Index -> Scripting -> Others

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