Click here to Skip to main content
15,911,646 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Storing a selected ListBox item into a String variable Pin
reegan4114-Jun-07 4:03
reegan4114-Jun-07 4:03 
QuestionChanging text on button in MessageBox Pin
ctlqt1213-Jun-07 6:55
ctlqt1213-Jun-07 6:55 
AnswerRe: Changing text on button in MessageBox Pin
Dave Kreskowiak13-Jun-07 7:14
mveDave Kreskowiak13-Jun-07 7:14 
AnswerRe: Changing text on button in MessageBox Pin
koolprasad200313-Jun-07 19:39
professionalkoolprasad200313-Jun-07 19:39 
Questionunknown problem. please help. Pin
manni_n13-Jun-07 5:51
manni_n13-Jun-07 5:51 
AnswerRe: unknown problem. please help. Pin
vbnetnoowb13-Jun-07 6:03
vbnetnoowb13-Jun-07 6:03 
GeneralRe: unknown problem. please help. Pin
manni_n13-Jun-07 20:11
manni_n13-Jun-07 20:11 
GeneralHelp with string comparison Pin
Psycho-*Coder*-Extreme13-Jun-07 5:25
Psycho-*Coder*-Extreme13-Jun-07 5:25 
Hello CPians,

I am wanting to do a string comparison but the check is against multiple possibilities, eg: The string can be "SPT", "SAP", or "PRF" and I'm hoping to do this without something like
If MyString.Equals("SAP") Or MyString.Equals("SPT") Or MyString.Equals("PRF") Then
'process here
End If

Is this possible? I've tried some Google searches and haven't found anything as of yet (maybe I'm using the wrong keywords). Any ideas?


"Let's face it, the average computer user has the brain of a Spider Monkey."
Bill Gates


GeneralRe: Help with string comparison Pin
nlarson1113-Jun-07 5:29
nlarson1113-Jun-07 5:29 
GeneralRe: Help with string comparison [Resolved] Pin
Psycho-*Coder*-Extreme13-Jun-07 6:34
Psycho-*Coder*-Extreme13-Jun-07 6:34 
QuestionRetrieving and restoring extended desktop settings with EnumDisplaySettingsEx [modified] Pin
vbnetnoowb13-Jun-07 4:49
vbnetnoowb13-Jun-07 4:49 
AnswerRe: Retrieving and restoring extended desktop settings with EnumDisplaySettingsEx Pin
Dave Kreskowiak13-Jun-07 7:16
mveDave Kreskowiak13-Jun-07 7:16 
GeneralRe: Retrieving and restoring extended desktop settings with EnumDisplaySettingsEx Pin
vbnetnoowb13-Jun-07 7:31
vbnetnoowb13-Jun-07 7:31 
GeneralRe: Retrieving and restoring extended desktop settings with EnumDisplaySettingsEx Pin
Dave Kreskowiak13-Jun-07 15:44
mveDave Kreskowiak13-Jun-07 15:44 
QuestionVB6 - Controls Can't Be Unlocked [SOLVED] [modified] Pin
#realJSOP13-Jun-07 2:45
professional#realJSOP13-Jun-07 2:45 
AnswerRe: VB6 - Controls Can't Be Unlocked Pin
Craster13-Jun-07 3:08
Craster13-Jun-07 3:08 
AnswerRe: VB6 - Controls Can't Be Unlocked [SOLVED] Pin
Dave Kreskowiak13-Jun-07 4:39
mveDave Kreskowiak13-Jun-07 4:39 
QuestionKeyboard and Mouse control Pin
pirogramci13-Jun-07 1:48
pirogramci13-Jun-07 1:48 
AnswerRe: Keyboard and Mouse control Pin
kubben13-Jun-07 3:12
kubben13-Jun-07 3:12 
AnswerRe: Keyboard and Mouse control Pin
Dave Kreskowiak13-Jun-07 3:52
mveDave Kreskowiak13-Jun-07 3:52 
AnswerRe: Keyboard and Mouse control Pin
pirogramci13-Jun-07 21:44
pirogramci13-Jun-07 21:44 
GeneralRe: Keyboard and Mouse control Pin
Dave Kreskowiak14-Jun-07 4:26
mveDave Kreskowiak14-Jun-07 4:26 
Questionhow to create a wizard using VB ? Pin
prashant pissey13-Jun-07 1:01
prashant pissey13-Jun-07 1:01 
AnswerRe: how to create a wizard using VB ? Pin
v1i9n6o7d13-Jun-07 1:46
v1i9n6o7d13-Jun-07 1:46 
QuestionMailmerge with VS2005 ?????????? Pin
nawalage12-Jun-07 23:53
nawalage12-Jun-07 23:53 

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.