Click here to Skip to main content
15,910,981 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: ListView Pin
yesu prakash15-Dec-07 16:24
yesu prakash15-Dec-07 16:24 
GeneralRe: ListView Pin
yesu prakash15-Dec-07 16:28
yesu prakash15-Dec-07 16:28 
GeneralRe: ListView Pin
Paul Conrad15-Dec-07 9:10
professionalPaul Conrad15-Dec-07 9:10 
GeneralRe: ListView Pin
yesu prakash15-Dec-07 16:28
yesu prakash15-Dec-07 16:28 
GeneralRe: ListView Pin
Paul Conrad16-Dec-07 1:58
professionalPaul Conrad16-Dec-07 1:58 
GeneralRe: ListView Pin
yesu prakash16-Dec-07 2:25
yesu prakash16-Dec-07 2:25 
GeneralRe: ListView Pin
Paul Conrad23-Dec-07 14:06
professionalPaul Conrad23-Dec-07 14:06 
Questionpong video game Pin
Cedrickdeorange15-Dec-07 2:48
Cedrickdeorange15-Dec-07 2:48 
I am trying to do a game of pong. My problem is, i can't get the ball served to a patricular point or location. By changing a valriables value i can get the ball served either to the left or right, up or down. the ball is located in thr middle of the form. When i serve the ball it will either do up or down and then bounce off the top or bottom, so if i want to serve a ball directly to a point say in the top left hand corner. i can't.

here are the variables i am using and a bit of code trying to explain what i mean



i'm using a timer for the ball speed



Dim XChange As Integer = -5

Dim YChange As Integer = 5

Dim BallDirX As Integer 'for direction

Dim BallDirY As Integer 'for direction

Dim X, Y As Integer 'unused just in case







If picBall.Top < 0 Then

picBall.Top = 0

XChange = -5

YChange = 5


Here I want the ball to bounce off the wall and goto a YPoint say 50 and the xpoint as zero as the ball bounces in thay direction

End If



thnks from Zeldacat
Regards
Zeldacat

AnswerRe: pong video game Pin
Matthew Butler15-Dec-07 3:16
Matthew Butler15-Dec-07 3:16 
QuestionPowerpoint sound problem (vb.net) Pin
sbkk14-Dec-07 22:16
sbkk14-Dec-07 22:16 
GeneralPowerpoint sound problem Pin
sbkk14-Dec-07 22:14
sbkk14-Dec-07 22:14 
GeneralRe: Powerpoint sound problem Pin
Dave Kreskowiak15-Dec-07 5:18
mveDave Kreskowiak15-Dec-07 5:18 
GeneralGet table names from database. Pin
Cory Kimble14-Dec-07 10:19
Cory Kimble14-Dec-07 10:19 
GeneralRe: Get table names from database. Pin
Christian Graus14-Dec-07 12:14
protectorChristian Graus14-Dec-07 12:14 
GeneralRe: Get table names from database. Pin
pmarfleet14-Dec-07 12:19
pmarfleet14-Dec-07 12:19 
GeneralRe: Get table names from database. Pin
Cory Kimble18-Dec-07 5:52
Cory Kimble18-Dec-07 5:52 
GeneralRe: Get table names from database. Pin
pmarfleet18-Dec-07 6:25
pmarfleet18-Dec-07 6:25 
GeneralSystem.Timers.ElapsedEventArgs Pin
Raveheart14-Dec-07 6:36
Raveheart14-Dec-07 6:36 
GeneralRe: System.Timers.ElapsedEventArgs Pin
Christian Graus14-Dec-07 9:59
protectorChristian Graus14-Dec-07 9:59 
GeneralRe: System.Timers.ElapsedEventArgs Pin
Raveheart14-Dec-07 12:38
Raveheart14-Dec-07 12:38 
GeneralRe: System.Timers.ElapsedEventArgs Pin
Luc Pattyn14-Dec-07 13:33
sitebuilderLuc Pattyn14-Dec-07 13:33 
GeneralRe: System.Timers.ElapsedEventArgs Pin
Raveheart18-Dec-07 8:29
Raveheart18-Dec-07 8:29 
GeneralRe: System.Timers.ElapsedEventArgs Pin
Christian Graus14-Dec-07 15:37
protectorChristian Graus14-Dec-07 15:37 
GeneralRe: System.Timers.ElapsedEventArgs Pin
Raveheart17-Dec-07 4:30
Raveheart17-Dec-07 4:30 
GeneralWindows platform SDK Pin
plural14-Dec-07 2:25
plural14-Dec-07 2:25 

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.