Jump to content
Xtreme .Net Talk

HellVeN

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by HellVeN

  1. HellVeN

    Sleep

    Here's a simplified version of a bit of code: Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Dim counter As Integer Dim temp As String While counter < 11 temp = Button1.Text Button1.Text = Button2.Text Button2.Text = temp Threading.Thread.Sleep(1000) counter += 1 End While End Sub I want the program to stop for 1 second after each switch but what this piece of code does is stop 11 seconds then does the switch. I want it to stop and show each switch. How can I do that? Is it possible to do it without a timer?
  2. Ok from what I've heard I think I'm meant to store stuff in the bin folder of the application folder. Is that right and if so how do I access it from within my code without having the full path?
  3. I was wondering what the best place to store images for my program would be. Should I put it in the project folder?
×
×
  • Create New...