Click here to Skip to main content
12,701,314 members (35,346 online)

Visual Basic

 
AnswerRe: puzzle game Pin
Richard MacCutchan21-Dec-12 7:30
mvpRichard MacCutchan21-Dec-12 7:30 
QuestionTimer for Internet connection Pin
bolepks20-Dec-12 9:51
memberbolepks20-Dec-12 9:51 
AnswerRe: Timer for Internet connection Pin
Dave Kreskowiak20-Dec-12 10:46
mvpDave Kreskowiak20-Dec-12 10:46 
GeneralRe: Timer for Internet connection Pin
bolepks20-Dec-12 10:56
memberbolepks20-Dec-12 10:56 
GeneralRe: Timer for Internet connection Pin
Dave Kreskowiak21-Dec-12 5:11
mvpDave Kreskowiak21-Dec-12 5:11 
Questioninstr function not accepting arguments VB.net Pin
xman12519-Dec-12 3:10
memberxman12519-Dec-12 3:10 
AnswerRe: instr function not accepting arguments VB.net Pin
Dave Kreskowiak19-Dec-12 4:13
mvpDave Kreskowiak19-Dec-12 4:13 
AnswerRe: instr function not accepting arguments VB.net Pin
Zaf Khan19-Dec-12 6:37
memberZaf Khan19-Dec-12 6:37 
Here is a sample for you...

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim maintext As String
        Dim smalltext As String
        Dim foundpos As Integer
        Dim startpos As Integer
        'startpos = 6     'should test not found
        startpos = 0      'should test matched
        maintext = "Jack and Jill"
        smalltext = "and"
        foundpos = maintext.IndexOf(smalltext, startpos)
        If foundpos > 0 Then
            'found
            MsgBox("match found at character " & foundpos)
        Else
            'not found
            MsgBox("no match found")
        End If

    End Sub

GeneralRe: instr function not accepting arguments VB.net Pin
xman12519-Dec-12 21:44
memberxman12519-Dec-12 21:44 
GeneralRe: instr function not accepting arguments VB.net Pin
xman12519-Dec-12 21:50
memberxman12519-Dec-12 21:50 
GeneralRe: instr function not accepting arguments VB.net Pin
Zaf Khan19-Dec-12 22:05
memberZaf Khan19-Dec-12 22:05 
AnswerRe: instr function not accepting arguments VB.net Pin
Eddy Vluggen20-Dec-12 2:56
memberEddy Vluggen20-Dec-12 2:56 
QuestionRe: instr function not accepting arguments VB.net Pin
Zaf Khan19-Dec-12 22:02
memberZaf Khan19-Dec-12 22:02 
GeneralRe: instr function not accepting arguments VB.net Pin
Dave Kreskowiak20-Dec-12 2:47
mvpDave Kreskowiak20-Dec-12 2:47 
AnswerRe: instr function not accepting arguments VB.net Pin
Mike Meinz23-Jan-13 4:36
memberMike Meinz23-Jan-13 4:36 
QuestionIs it possible to change Import directives dynamically at run time. Pin
Member 342716218-Dec-12 11:32
memberMember 342716218-Dec-12 11:32 
AnswerRe: Is it possible to change Import directives dynamically at run time. Pin
Eddy Vluggen18-Dec-12 22:57
memberEddy Vluggen18-Dec-12 22:57 
Questionconcatenate 2 scripts Pin
Nitro7617-Dec-12 3:54
memberNitro7617-Dec-12 3:54 
AnswerRe: concatenate 2 scripts Pin
Eddy Vluggen18-Dec-12 22:55
memberEddy Vluggen18-Dec-12 22:55 
Questionsystem.net.mail - manage multiple attachment Pin
alejx14-Dec-12 14:00
memberalejx14-Dec-12 14:00 
AnswerRe: system.net.mail - manage multiple attachment Pin
Eddy Vluggen17-Dec-12 2:17
memberEddy Vluggen17-Dec-12 2:17 
QuestionHelp with Class Library and "Roll Your Own MsgBox" Pin
w4uoa13-Dec-12 6:19
memberw4uoa13-Dec-12 6:19 
AnswerRe: Help with Class Library and "Roll Your Own MsgBox" Pin
Simon_Whale13-Dec-12 6:38
memberSimon_Whale13-Dec-12 6:38 
AnswerRe: Help with Class Library and "Roll Your Own MsgBox" Pin
Richard MacCutchan13-Dec-12 6:40
mvpRichard MacCutchan13-Dec-12 6:40 
Questionnewbie Pin
vaskoedo12-Dec-12 3:16
membervaskoedo12-Dec-12 3:16 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 23 Jan 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid