Click here to Skip to main content
15,902,749 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Load special txt File in TreeView Pin
Christian Graus26-Oct-09 12:11
protectorChristian Graus26-Oct-09 12:11 
QuestionRemoving a split container Pin
procreator26-Oct-09 10:22
procreator26-Oct-09 10:22 
AnswerRe: Removing a split container Pin
Henry Minute26-Oct-09 12:16
Henry Minute26-Oct-09 12:16 
AnswerRe: Removing a split container Pin
Shameel27-Oct-09 0:33
professionalShameel27-Oct-09 0:33 
AnswerRe: Removing a split container Pin
Kschuler27-Oct-09 5:20
Kschuler27-Oct-09 5:20 
QuestionWeird Problem - Insert Picture to Excel - Does anybody face this? Pin
Paramu197326-Oct-09 3:15
Paramu197326-Oct-09 3:15 
AnswerRe: Weird Problem - Insert Picture to Excel - Does anybody face this? Pin
DaveAuld26-Oct-09 9:07
professionalDaveAuld26-Oct-09 9:07 
QuestionNeed help on which function/method to use [SOLVED] Pin
vijay248226-Oct-09 2:19
vijay248226-Oct-09 2:19 
Hi all,

I'm working on a application which searches for '_FLEX' or '_FLEX_' or '_CABLE' or _'FERME' in a text file.
If found do some action.
I use the below code to set the index to search for the above words.

Issue:
There is a line in the text file in the name fields with '_FLEX1'.
When this word is found, it does the actions that need to be done for lpFlex or lpFlex_ found.
I have used name.IndexOf for '_FLEX' and '_FLEX_' but when found'_FLEX1', it has performed the actionsof lpFlex or lpFlex_.
I dont want any action to be done when something other than lpFlex or lpCable or lpFeme or lpFlex_ found.

I think its because I use name.IndexOf().
Is there some other function/method to search for the specific word in a field/line?
Where am I going wrong?
Any help and suggestion please.
Thanks in Advance.

modified on Monday, October 26, 2009 11:13 AM


modified 28-Nov-12 7:40am.

AnswerRe: Need help on which function/method to use Pin
sri_009926-Oct-09 2:34
sri_009926-Oct-09 2:34 
GeneralRe: Need help on which function/method to use Pin
vijay248226-Oct-09 5:13
vijay248226-Oct-09 5:13 
GeneralRe: Need help on which function/method to use Pin
Shameel27-Oct-09 0:40
professionalShameel27-Oct-09 0:40 
AnswerRe: Need help on which function/method to use Pin
Henry Minute26-Oct-09 4:22
Henry Minute26-Oct-09 4:22 
QuestionUnable to catch print exceptions Pin
sri_009926-Oct-09 2:02
sri_009926-Oct-09 2:02 
AnswerRe: Unable to catch print exceptions Pin
Ashfield26-Oct-09 3:22
Ashfield26-Oct-09 3:22 
GeneralRe: Unable to catch print exceptions Pin
sri_009926-Oct-09 18:55
sri_009926-Oct-09 18:55 
GeneralRe: Unable to catch print exceptions Pin
Ashfield26-Oct-09 22:13
Ashfield26-Oct-09 22:13 
QuestionReference dlls in sub folders Pin
nlarson1126-Oct-09 2:02
nlarson1126-Oct-09 2:02 
AnswerRe: Reference dlls in sub folders Pin
sri_009926-Oct-09 2:48
sri_009926-Oct-09 2:48 
GeneralRe: Reference dlls in sub folders Pin
nlarson1126-Oct-09 4:05
nlarson1126-Oct-09 4:05 
GeneralRe: Reference dlls in sub folders Pin
DaveAuld26-Oct-09 5:29
professionalDaveAuld26-Oct-09 5:29 
GeneralRe: Reference dlls in sub folders Pin
nlarson1126-Oct-09 7:40
nlarson1126-Oct-09 7:40 
Questionexception Pin
santhosh-padamatinti26-Oct-09 1:23
santhosh-padamatinti26-Oct-09 1:23 
AnswerRe: exception Pin
nlarson1126-Oct-09 2:00
nlarson1126-Oct-09 2:00 
AnswerRe: exception Pin
Henry Minute26-Oct-09 4:35
Henry Minute26-Oct-09 4:35 
AnswerRe: exception Pin
Dave Kreskowiak26-Oct-09 10:07
mveDave Kreskowiak26-Oct-09 10:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.