cwd's Profile
Reputation: 0
Apprentice
- Group:
- New Members
- Active Posts:
- 10 (0.01 per day)
- Joined:
- 23-March 11
- Profile Views:
- 246
- Last Active:
Nov 22 2011 06:24 AM- Currently:
- Offline
Previous Fields
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: Find exact match of a word in a textbox if it exists
Posted 21 Nov 2011
Thanks guys, I figured it out now here is what I did. I am sure this isn't the best way but it will work great for what I need to do.
Dim strText = TextBox1.Text Dim arrLines = Split(strText, vbCrLf) Dim NE As Integer = 0 For Each strLine In arrLines TextBox2.Text = (strLine) If ComboBox1.Text = strLine = True Then NE = 1 Exit For End If Next If NE = 0 Then TextBox1.AppendText(TextBox2.Text + vbCrLf) ' do something Else ' do something End If
Thanks again for always helping me out. -
In Topic: Find exact match of a word in a textbox if it exists
Posted 21 Nov 2011
I would like more information on how to loop through a textbox line for line. -
In Topic: find the first occurrence of a certain word's position in a textbo
Posted 15 Nov 2011
This part is solved, thanks guys.
Dim sStr As String Dim pos As Long sStr = TextBox1.Text pos = InStr(1, sStr, "X", vbTextCompare) TextBox2.Text = (pos)
returns the char position.
I will make a post on my next step
My Information
- Member Title:
- New D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
Contact Information
- E-mail:
- Click here to e-mail me
Friends
cwd hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
cwd has no profile comments yet. Why not say hello?