Click here to Skip to main content
15,912,400 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralTab Control Pin
injunjoe14-Oct-02 15:40
injunjoe14-Oct-02 15:40 
GeneralSend and receive data Pin
Vipul Bhatt13-Oct-02 19:33
Vipul Bhatt13-Oct-02 19:33 
GeneralRe: Send and receive data Pin
RichardGrimmer20-Nov-02 2:15
RichardGrimmer20-Nov-02 2:15 
Questionhow to get value of one textbox from one form to another in VB.NET? Pin
drmzunlimited13-Oct-02 19:28
drmzunlimited13-Oct-02 19:28 
AnswerRe: how to get value of one textbox from one form to another in VB.NET? Pin
Nick Parker14-Oct-02 1:52
protectorNick Parker14-Oct-02 1:52 
GeneralCollections Pin
mikasa11-Oct-02 6:40
mikasa11-Oct-02 6:40 
GeneralRe: Collections Pin
Nick Parker11-Oct-02 8:11
protectorNick Parker11-Oct-02 8:11 
GeneralASCII Printable Characters Only Pin
Like2Byte10-Oct-02 5:10
Like2Byte10-Oct-02 5:10 
Hello again,

C has a function called 'strpbrk,' which stands for string point break. The function takes two arguments. First arg is the string I want to search. The second arg is a string of characters that I want to check for. If any of the characters contained in the second string are in the first string the function returns a pointer to the element in the array where the character was located.

Basically, if none of the characters in the second set are found in the first set, the function returns NULL (or zero, if you will).

Does VB have a function that performs this same operation?

my func:

[source]
' forgive my C-speak
if strpbrk( "HELP ME, PLEASE!", " SXPT" )
//character ' ' found (space)
// do something
printf("Characters found in set!");
else
//characters in second set NOT found in first set
// do something else
printf("Characters NOT found in set!");

[/source]

or

Do I have to use an array and scroll through the entire array to accomplish this?

Thanks in advance,

Like2Byte
GeneralRe: ASCII Printable Characters Only Pin
Daniel Turini10-Oct-02 5:13
Daniel Turini10-Oct-02 5:13 
GeneralRe: ASCII Printable Characters Only Pin
Like2Byte10-Oct-02 5:45
Like2Byte10-Oct-02 5:45 
GeneralRe: ASCII Printable Characters Only Pin
Richard Deeming11-Oct-02 0:45
mveRichard Deeming11-Oct-02 0:45 
GeneralCopying controls Pin
Chris Hooper10-Oct-02 3:40
Chris Hooper10-Oct-02 3:40 
GeneralRe: Copying controls Pin
Daniel Turini10-Oct-02 3:58
Daniel Turini10-Oct-02 3:58 
GeneralRe: Copying controls Pin
Chris Hooper10-Oct-02 5:32
Chris Hooper10-Oct-02 5:32 
GeneralRe: Copying controls Pin
Anonymous10-Oct-02 5:38
Anonymous10-Oct-02 5:38 
GeneralMicrosoft Access and VB .Net Pin
Zulfikar Ali9-Oct-02 13:43
Zulfikar Ali9-Oct-02 13:43 
GeneralRe: Microsoft Access and VB .Net Pin
Vipul Bhatt13-Oct-02 19:47
Vipul Bhatt13-Oct-02 19:47 
GeneralRe: Microsoft Access and VB .Net Pin
Zulfikar Ali14-Oct-02 4:18
Zulfikar Ali14-Oct-02 4:18 
GeneralComment tool for VB .Net Pin
JS9-Oct-02 11:32
JS9-Oct-02 11:32 
GeneralRe: Comment tool for VB .Net Pin
Ben Ansell23-Oct-02 21:49
Ben Ansell23-Oct-02 21:49 
GeneralChanging Textbox Background color upon gaining focus Pin
Like2Byte9-Oct-02 10:08
Like2Byte9-Oct-02 10:08 
GeneralRe: Changing Textbox Background color upon gaining focus Pin
Like2Byte9-Oct-02 10:20
Like2Byte9-Oct-02 10:20 
GeneralRe: Changing Textbox Background color upon gaining focus Pin
Daniel Turini9-Oct-02 10:19
Daniel Turini9-Oct-02 10:19 
GeneralLink Error 8577 Pin
Alan Chambers9-Oct-02 9:07
Alan Chambers9-Oct-02 9:07 
Generalcopying and pasting controls and the associated code Pin
Chris Hooper9-Oct-02 5:38
Chris Hooper9-Oct-02 5:38 

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.