Click here to Skip to main content
12,079,391 members (26,413 online)

Visual Basic

 
AnswerRe: read mail from yahoo using yahoo api in vb.net Pin
Eddy Vluggen10-Dec-12 0:14
memberEddy Vluggen10-Dec-12 0:14 
QuestionMissing Toolbar Pin
No-e6-Dec-12 7:09
memberNo-e6-Dec-12 7:09 
AnswerRe: Missing Toolbar Pin
Peter_in_27806-Dec-12 14:08
memberPeter_in_27806-Dec-12 14:08 
AnswerRe: Missing Toolbar Pin
Eddy Vluggen6-Dec-12 15:23
memberEddy Vluggen6-Dec-12 15:23 
QuestionHow to insert xml to dataset.xsd using vb.net? Pin
Akbarblack5-Dec-12 20:20
memberAkbarblack5-Dec-12 20:20 
QuestionDrawing an image onto a form Pin
tuffhamster2-Dec-12 9:13
membertuffhamster2-Dec-12 9:13 
AnswerRe: Drawing an image onto a form Pin
Eddy Vluggen3-Dec-12 1:53
memberEddy Vluggen3-Dec-12 1:53 
Questionprogramming thesis VB.net Pin
enzomatriz30-Nov-12 15:48
memberenzomatriz30-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 Pin
Dave Kreskowiak1-Dec-12 4:17
mvpDave Kreskowiak1-Dec-12 4:17 
AnswerRe: programming thesis VB.net Pin
Zaf Khan1-Dec-12 11:01
memberZaf Khan1-Dec-12 11:01 
QuestionTAPI3 Call Id ?? Pin
trashambishion30-Nov-12 12:20
membertrashambishion30-Nov-12 12:20 
AnswerRe: TAPI3 Call Id ?? Pin
Eddy Vluggen1-Dec-12 0:36
memberEddy Vluggen1-Dec-12 0:36 
GeneralRe: TAPI3 Call Id ?? Pin
trashambishion4-Dec-12 10:30
membertrashambishion4-Dec-12 10:30 
GeneralRe: TAPI3 Call Id ?? Pin
Eddy Vluggen4-Dec-12 11:12
memberEddy Vluggen4-Dec-12 11:12 
GeneralRe: TAPI3 Call Id ?? Pin
trashambishion6-Dec-12 13:19
membertrashambishion6-Dec-12 13:19 
QuestionLoad pdf into picturebox binding to dataset Pin
waner michaud30-Nov-12 10:10
memberwaner michaud30-Nov-12 10:10 
AnswerRe: Load pdf into picturebox binding to dataset Pin
Dave Kreskowiak30-Nov-12 13:43
mvpDave Kreskowiak30-Nov-12 13:43 
GeneralRe: Load pdf into picturebox binding to dataset Pin
waner michaud4-Dec-12 10:13
memberwaner michaud4-Dec-12 10:13 
GeneralRe: Load pdf into picturebox binding to dataset Pin
Dave Kreskowiak4-Dec-12 13:31
mvpDave Kreskowiak4-Dec-12 13:31 
QuestionSaving a form and its contents as an image Pin
tuffhamster30-Nov-12 5:37
membertuffhamster30-Nov-12 5:37 
AnswerRe: Saving a form and its contents as an image Pin
Eddy Vluggen1-Dec-12 0:41
memberEddy Vluggen1-Dec-12 0:41 
GeneralRe: Saving a form and its contents as an image Pin
tuffhamster1-Dec-12 4:18
membertuffhamster1-Dec-12 4:18 
GeneralRe: Saving a form and its contents as an image Pin
Eddy Vluggen1-Dec-12 5:04
memberEddy Vluggen1-Dec-12 5:04 
QuestionActivex can't create object error in VB6.0 Pin
Pradeep Londhe29-Nov-12 23:49
memberPradeep Londhe29-Nov-12 23:49 
AnswerRe: Activex can't create object error in VB6.0 Pin
Deepak Shitole14-Dec-12 22:25
memberDeepak Shitole14-Dec-12 22: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.


Advertise | Privacy | Mobile
Web04 | 2.8.160212.1 | Last Updated 12 Feb 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid