Click here to Skip to main content
15,902,114 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionimage loop in vb.net Pin
bapu28896-Jun-09 11:56
bapu28896-Jun-09 11:56 
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 
Unless I have misread your code, it would not work! Every time the tick event fires you are setting nextImage to 0, before doing anything else, therefore the last line of your snippet is useless.

The OP should use something like this:
Private Sub Timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Timer1.Tick
   PictureBox1.Image = MyImage(Me.I)
   Me.I = (Me.I + 1) Mod 16
End Sub


Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

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 
QuestionThe problem of my form does not respond, The problem of my form does not respond [modified] Pin
pobre126-Jun-09 9:52
pobre126-Jun-09 9:52 
AnswerRe: The problem of my form does not respond, The problem of my form does not respond Pin
Dave Kreskowiak6-Jun-09 10:01
mveDave Kreskowiak6-Jun-09 10:01 
GeneralRe: The problem of my form does not respond, The problem of my form does not respond [modified] Pin
pobre126-Jun-09 10:11
pobre126-Jun-09 10:11 
GeneralRe: The problem of my form does not respond, The problem of my form does not respond Pin
Christian Graus6-Jun-09 12:53
protectorChristian Graus6-Jun-09 12:53 
QuestionVB 2008 express example Pin
A Wyatt6-Jun-09 4:28
A Wyatt6-Jun-09 4:28 
AnswerRe: VB 2008 express example Pin
Dave Kreskowiak6-Jun-09 4:48
mveDave Kreskowiak6-Jun-09 4:48 
QuestionProblem creating ForeignKey between DataTables Pin
carrigart6-Jun-09 2:50
carrigart6-Jun-09 2:50 

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.