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

Visual Basic

 
AnswerRe: cmd.executenonquery not accepting nz function Pin
rabih.tawil22-Oct-09 3:04
rabih.tawil22-Oct-09 3:04 
AnswerRe: cmd.executenonquery not accepting nz function Pin
Dave Kreskowiak22-Oct-09 9:41
mveDave Kreskowiak22-Oct-09 9:41 
GeneralRe: cmd.executenonquery not accepting nz function Pin
rabih.tawil22-Oct-09 9:54
rabih.tawil22-Oct-09 9:54 
QuestionLooping Website Viewer? Pin
teknozwizard21-Oct-09 19:55
teknozwizard21-Oct-09 19:55 
AnswerRe: Looping Website Viewer? Pin
Christian Graus21-Oct-09 22:04
protectorChristian Graus21-Oct-09 22:04 
QuestionRe: Looping Website Viewer? Pin
teknozwizard22-Oct-09 7:27
teknozwizard22-Oct-09 7:27 
AnswerRe: Looping Website Viewer? Pin
John M Bundy22-Oct-09 8:26
John M Bundy22-Oct-09 8:26 
GeneralRe: Looping Website Viewer? Pin
John M Bundy22-Oct-09 8:37
John M Bundy22-Oct-09 8:37 
Ok so i got the code done quickly Smile | :)
Add a webbrowser control, a timer, and a button. Set the timer at the interval you want.
If you want a stop button, just add one with Me.Timer1.Stop, thats it.

Public Class Form1
    Dim siteCount As Integer = 0
    Dim aList As New ArrayList
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        aList.Add("http://www.jmbundy.blogspot.com/")
        aList.Add("http://www.codeproject.com/Messages/3244826/Re-Looping-Website-Viewer.aspx")
        aList.Add("http://www.google.com/webhp?sourceid=navclient&ie=UTF-8")
    End Sub
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Me.Timer1.Start()
    End Sub
    Private Sub Timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        Me.WebBrowser1.Navigate(Me.aList(siteCount))
        If siteCount + 1 <= Me.aList.Count - 1 Then
            siteCount += 1
        Else : siteCount = 0
        End If
    End Sub
End Class

GeneralRe: Looping Website Viewer? Pin
teknozwizard22-Oct-09 10:37
teknozwizard22-Oct-09 10:37 
GeneralRe: Looping Website Viewer? Pin
John M Bundy22-Oct-09 15:04
John M Bundy22-Oct-09 15:04 
GeneralRe: Looping Website Viewer? Pin
teknozwizard22-Oct-09 19:09
teknozwizard22-Oct-09 19:09 
QuestionHow can I have a progress Bar under a save method in a Child form? Pin
waner michaud21-Oct-09 10:11
waner michaud21-Oct-09 10:11 
AnswerRe: How can I have a progress Bar under a save method in a Child form? Pin
tosch21-Oct-09 20:08
tosch21-Oct-09 20:08 
GeneralRe: How can I have a progress Bar under a save method in a Child form? Pin
waner michaud22-Oct-09 4:43
waner michaud22-Oct-09 4:43 
QuestionClose form without current form Pin
ivo7521-Oct-09 7:36
ivo7521-Oct-09 7:36 
AnswerRe: Close form without current form Pin
dan!sh 21-Oct-09 8:03
professional dan!sh 21-Oct-09 8:03 
QuestionSearching for installed SQL Server Instances Pin
Ekjon21-Oct-09 5:44
Ekjon21-Oct-09 5:44 
AnswerRe: Searching for installed SQL Server Instances Pin
dan!sh 21-Oct-09 6:01
professional dan!sh 21-Oct-09 6:01 
AnswerRe: Searching for installed SQL Server Instances Pin
Dambod21-Oct-09 6:09
Dambod21-Oct-09 6:09 
GeneralRe: Searching for installed SQL Server Instances Pin
Ekjon21-Oct-09 7:00
Ekjon21-Oct-09 7:00 
QuestionIs that Possible? [modified] Pin
Dambod21-Oct-09 3:59
Dambod21-Oct-09 3:59 
QuestionBUtton Click a Button help ? Pin
Bob Beaubien21-Oct-09 3:10
Bob Beaubien21-Oct-09 3:10 
AnswerRe: BUtton Click a Button help ? Pin
Eddy Vluggen21-Oct-09 3:23
professionalEddy Vluggen21-Oct-09 3:23 
AnswerRe: BUtton Click a Button help ? Pin
dan!sh 21-Oct-09 3:40
professional dan!sh 21-Oct-09 3:40 
AnswerRe: BUtton Click a Button help ? Pin
Andy_L_J21-Oct-09 22:02
Andy_L_J21-Oct-09 22:02 

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.