Click here to Skip to main content
15,900,403 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How do you Draw around (inside) a Group of adjacent Cells in a Column of a DataGridView Control Pin
Mycroft Holmes7-Jun-09 3:09
professionalMycroft Holmes7-Jun-09 3:09 
GeneralRe: How do you Draw around (inside) a Group of adjacent Cells in a Column of a DataGridView Control Pin
Graham Irons7-Jun-09 12:58
Graham Irons7-Jun-09 12:58 
GeneralRe: How do you Draw around (inside) a Group of adjacent Cells in a Column of a DataGridView Control Pin
Mycroft Holmes7-Jun-09 14:14
professionalMycroft Holmes7-Jun-09 14:14 
GeneralRe: How do you Draw around (inside) a Group of adjacent Cells in a Column of a DataGridView Control Pin
Graham Irons7-Jun-09 16:52
Graham Irons7-Jun-09 16:52 
QuestionIs it possible to create controls from a new thread in a multithreading windows form application Pin
Amer Rehman6-Jun-09 21:31
Amer Rehman6-Jun-09 21:31 
AnswerRe: Is it possible to create controls from a new thread in a multithreading windows form application Pin
Moreno Airoldi7-Jun-09 1:30
Moreno Airoldi7-Jun-09 1:30 
AnswerRe: Is it possible to create controls from a new thread in a multithreading windows form application Pin
Dave Kreskowiak7-Jun-09 7:18
mveDave Kreskowiak7-Jun-09 7:18 
Questionimage loop in vb.net Pin
bapu28896-Jun-09 11:56
bapu28896-Jun-09 11:56 
Hello all

I want to loop images in my application when form loads it loads all the images and displays last image in picture box but i want to display all the images in picture box one by one i mean it starts from image 1 to image 15 and when it's image 15 it should start from image 1 again. this is what i have done

Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
     Call LoadImages()
 End Sub

 Private Sub Timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Timer1.Tick

     For Me.I = 0 To 15
         PictureBox1.Image = (MyImage(I))
     Next I
 End Sub
 Private Sub LoadImages()
     MyImage(0) = My.Resources.G1
     MyImage(1) = My.Resources.G10
     MyImage(2) = My.Resources.G11
     MyImage(3) = My.Resources.G12
     MyImage(4) = My.Resources.G13
     MyImage(5) = My.Resources.G14
     MyImage(6) = My.Resources.G15
     MyImage(7) = My.Resources.G16
     MyImage(8) = My.Resources.G2
     MyImage(9) = My.Resources.G3
     MyImage(10) = My.Resources.G4
     MyImage(11) = My.Resources.G5
     MyImage(12) = My.Resources.G6
     MyImage(13) = My.Resources.G7
     MyImage(14) = My.Resources.G8
     MyImage(15) = My.Resources.G9

 End Sub


it should keep displaying images until user close this application but image should be in right order according to myimage array

please help Confused | :confused:
AnswerRe: image loop in vb.net Pin
Alan N6-Jun-09 12:23
Alan N6-Jun-09 12:23 
QuestionRe: image loop in vb.net Pin
bapu28896-Jun-09 23:21
bapu28896-Jun-09 23:21 
AnswerRe: image loop in vb.net Pin
Alan N7-Jun-09 0:34
Alan N7-Jun-09 0:34 
AnswerRe: image loop in vb.net Pin
0x3c06-Jun-09 23:36
0x3c06-Jun-09 23:36 
QuestionRe: image loop in vb.net Pin
bapu28897-Jun-09 0:20
bapu28897-Jun-09 0:20 
AnswerRe: image loop in vb.net Pin
riced7-Jun-09 0:51
riced7-Jun-09 0:51 
GeneralRe: image loop in vb.net Pin
Henry Minute7-Jun-09 1:05
Henry Minute7-Jun-09 1:05 
GeneralRe: image loop in vb.net Pin
riced7-Jun-09 1:14
riced7-Jun-09 1:14 
GeneralRe: image loop in vb.net Pin
Henry Minute7-Jun-09 1:22
Henry Minute7-Jun-09 1:22 
GeneralRe: image loop in vb.net Pin
riced7-Jun-09 1:30
riced7-Jun-09 1:30 
AnswerRe: image loop in vb.net Pin
bapu28897-Jun-09 2:29
bapu28897-Jun-09 2:29 
GeneralRe: image loop in vb.net Pin
Henry Minute7-Jun-09 4:45
Henry Minute7-Jun-09 4:45 
QuestionCommunicating over LAN in VB Net Pin
Jon11226-Jun-09 11:05
Jon11226-Jun-09 11:05 
AnswerRe: Communicating over LAN in VB Net Pin
Moreno Airoldi7-Jun-09 1:41
Moreno Airoldi7-Jun-09 1:41 
AnswerWebservice Pin
David Mujica8-Jun-09 3:29
David Mujica8-Jun-09 3:29 
AnswerRe: Communicating over LAN in VB Net Pin
Jon11229-Jun-09 10:53
Jon11229-Jun-09 10:53 
AnswerRe: Communicating over LAN in VB Net Pin
Jon112212-Jun-09 20:27
Jon112212-Jun-09 20:27 

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.