Register for your free account! | Forgot your password?

You last visited: Today at 05:05

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Frage

Discussion on Frage within the S4 League forum part of the Shooter category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2010
Posts: 143
Received Thanks: 58
Frage

Hallo ElitePvPers
Ich weiß nich wo ich es sonst posten soll aber vielleicht können die moderatoren den thread verschieben.

Also ich bin noch relativ am anfang von Visual Basic und ich wollte heute ein programm coden. aber wenn ich das dann debugge und ne website eingeb und auf start drück öffnet sich die website unendlich mal was soll ich ändern ?
Hier der Code
PHP Code:
Public Class Form1

    
Private Sub Timer1_Tick(ByVal sender As System.ObjectByVal e As System.EventArgsHandles Timer1.Tick
        ProgressBar1
.Increment(2)
        If 
ProgressBar1.Value ProgressBar1.Maximum Then
            Process
.Start(TextBox1.Text)
        
End If
    
End Sub

    
Private Sub Button1_Click(ByVal sender As System.ObjectByVal e As System.EventArgsHandles Button1.Click
        Timer1
.Start()
    
End Sub

    
Private Sub Timer2_Tick(ByVal sender As System.ObjectByVal e As System.EventArgsHandles Timer2.Tick
        ProgressBar2
.Increment(2)
        If 
ProgressBar2.Value ProgressBar2.Maximum Then
            Process
.Start("http://www.youtube.com/?gl=DE&hl=de")
        
End If
    
End Sub

    
Private Sub Button3_Click(ByVal sender As System.ObjectByVal e As System.EventArgsHandles Button3.Click
        Me
.Close()
    
End Sub

    
Private Sub Button2_Click(ByVal sender As System.ObjectByVal e As System.EventArgsHandles Button2.Click
        
If CheckBox1.Checked True Then
            Timer2
.Start()
            If 
CheckBox2.Checked True Then
                Timer3
.Start()
                If 
CheckBox3.Checked True Then
                    Timer4
.Start()
                
End If
            
End If
        
End If
    
End Sub

    
Private Sub Timer3_Tick(ByVal sender As System.ObjectByVal e As System.EventArgsHandles Timer3.Tick
        ProgressBar2
.Increment(2)
        If 
ProgressBar2.Value ProgressBar2.Maximum Then
            Process
.Start("http://www.elitepvpers.com/forum/s4-league/")
        
End If
    
End Sub

    
Private Sub CheckBox3_CheckedChanged(ByVal sender As System.ObjectByVal e As System.EventArgsHandles CheckBox3.CheckedChanged
        ProgressBar2
.Increment(2)
        If 
ProgressBar2.Value ProgressBar2.Maximum Then
            Process
.Start("http://www.facebook.com/")
        
End If
    
End Sub
End 
Class 
s4gamer500 is offline  
Old 07/04/2011, 07:12   #2
 
irrenhaus's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 2,520
Received Thanks: 4,567
1.
2. ins Button Event:
Code:
Timer1.Start()
Ins Timer1 Event:
Code:
Process.Start(Textbox1.Text)

Geht doch so viel besser :0
irrenhaus is offline  
Reply




All times are GMT +1. The time now is 05:05.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.