Click here to Skip to main content
       

Visual Basic

 
AnswerRe: read mail from yahoo using yahoo api in vb.net PinmemberEddy Vluggen10-Dec-12 0:14 
QuestionMissing Toolbar PinmemberNo-e6-Dec-12 7:09 
AnswerRe: Missing Toolbar PinmemberPeter_in_27806-Dec-12 14:08 
AnswerRe: Missing Toolbar PinmemberEddy Vluggen6-Dec-12 15:23 
QuestionHow to insert xml to dataset.xsd using vb.net? PinmemberAkbarblack5-Dec-12 20:20 
QuestionDrawing an image onto a form Pinmembertuffhamster2-Dec-12 9:13 
AnswerRe: Drawing an image onto a form PinmemberEddy Vluggen3-Dec-12 1:53 
Questionprogramming thesis VB.net Pinmemberenzomatriz30-Nov-12 15:48 
dear friends,
 
I would like to ask some help. I am a beginner in vb.net programming and right now we have a thesis in school to develop an Application of Programming to Chemistry Dama. I already have a sample codes that I attached below.
 
The problem that I have right now is how can I capture 2 or 3 chips in one move. The code that I have is for capturing 1 chip per move. Need some help to have some idea on how I can modify my codes.
 
Thank you
 
sample code that I have in my program
 
'-----single chip taken-----------------'chip 9
                If picCheckers9.Location = square17 And picCheckers13.Location.X > 307 And picCheckers13.Location.Y > 189 And Open14 = True And Open17 = False Then
                    picCheckers13.Location = square14
                    str13 = 14
                    Open17 = True
                    Open14 = False
                    Open21 = True
                    picCheckers9.Location = square40
                    lblTurn.Text = "Red"
 
                    DataGridView1.Rows.Add(New Object() {"Al", "3,4", "Al", "AlAl", "-54"})
 
                    '----extra for double taken chips----- chip 9
                ElseIf picCheckers9.Location = square17 And picCheckers1.Location = square9 Or picCheckers2.Location = square9 Or picCheckers5.Location = square9 Or picCheckers6.Location = square9 And picCheckers13.Location.X > 307 And picCheckers13.Location.Y > 189 And Open14 = True And Open17 = False And Open9 = False And Open5 = True Then
                    picCheckers13.Location = square14
                    str13 = 14
                    Open17 = True
                    Open14 = False
                    Open21 = True
                    picCheckers9.Location = square40
                   DataGridView1.Rows.Add(New Object() {"Al", "3,4", "Al", "AlAl", "-54"})
                    '----extra for double taken chips-----
 
                    'Else
                    'lblTurn.Text = "Red"

AnswerRe: programming thesis VB.net PinmvpDave Kreskowiak1-Dec-12 4:17 
AnswerRe: programming thesis VB.net PinmemberZaf Khan1-Dec-12 11:01 
QuestionTAPI3 Call Id ?? Pinmembertrashambishion30-Nov-12 12:20 
AnswerRe: TAPI3 Call Id ?? PinmemberEddy Vluggen1-Dec-12 0:36 
GeneralRe: TAPI3 Call Id ?? Pinmembertrashambishion4-Dec-12 10:30 
GeneralRe: TAPI3 Call Id ?? PinmemberEddy Vluggen4-Dec-12 11:12 
GeneralRe: TAPI3 Call Id ?? Pinmembertrashambishion6-Dec-12 13:19 
QuestionLoad pdf into picturebox binding to dataset Pinmemberwaner michaud30-Nov-12 10:10 
AnswerRe: Load pdf into picturebox binding to dataset PinmvpDave Kreskowiak30-Nov-12 13:43 
GeneralRe: Load pdf into picturebox binding to dataset Pinmemberwaner michaud4-Dec-12 10:13 
GeneralRe: Load pdf into picturebox binding to dataset PinmvpDave Kreskowiak4-Dec-12 13:31 
QuestionSaving a form and its contents as an image Pinmembertuffhamster30-Nov-12 5:37 
AnswerRe: Saving a form and its contents as an image PinmemberEddy Vluggen1-Dec-12 0:41 
GeneralRe: Saving a form and its contents as an image Pinmembertuffhamster1-Dec-12 4:18 
GeneralRe: Saving a form and its contents as an image PinmemberEddy Vluggen1-Dec-12 5:04 
QuestionActivex can't create object error in VB6.0 PinmemberPradeep Londhe29-Nov-12 23:49 
AnswerRe: Activex can't create object error in VB6.0 PinmemberDeepak Shitole14-Dec-12 22:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 18 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid