Click here to Skip to main content
13,249,174 members (34,804 online)

Visual Studio 2015 & .NET 4.6

 
GeneralRe: How to query database using Entity to SQL Pin
ADSCNET12-Apr-13 7:35
memberADSCNET12-Apr-13 7:35 
GeneralRe: How to query database using Entity to SQL Pin
Richard Deeming12-Apr-13 8:14
professionalRichard Deeming12-Apr-13 8:14 
GeneralRe: How to query database using Entity to SQL Pin
ADSCNET12-Apr-13 8:34
memberADSCNET12-Apr-13 8:34 
GeneralRe: How to query database using Entity to SQL Pin
Richard Deeming12-Apr-13 9:17
professionalRichard Deeming12-Apr-13 9:17 
GeneralRe: How to query database using Entity to SQL Pin
ADSCNET12-Apr-13 10:26
memberADSCNET12-Apr-13 10:26 
GeneralRe: How to query database using Entity to SQL Pin
Richard Deeming12-Apr-13 13:34
professionalRichard Deeming12-Apr-13 13:34 
GeneralRe: How to query database using Entity to SQL Pin
ADSCNET13-Apr-13 4:06
memberADSCNET13-Apr-13 4:06 
GeneralRe: How to query database using Entity to SQL Pin
Richard Deeming15-Apr-13 2:27
professionalRichard Deeming15-Apr-13 2:27 
GeneralRe: How to query database using Entity to SQL Pin
ADSCNET15-Apr-13 2:52
memberADSCNET15-Apr-13 2:52 
Questiondeploy vsto Excel template in intranet Pin
wassim_mar2-Apr-13 1:16
memberwassim_mar2-Apr-13 1:16 
QuestionCrystal report groups Pin
Tufail Ahmad25-Mar-13 4:11
memberTufail Ahmad25-Mar-13 4:11 
Questionsnake game error, moving randomly. Pin
srinivasankrishnaa28-Feb-13 4:57
membersrinivasankrishnaa28-Feb-13 4:57 
AnswerRe: snake game error, moving randomly. Pin
Pete O'Hanlon28-Feb-13 5:04
protectorPete O'Hanlon28-Feb-13 5:04 
GeneralRe: snake game error, moving randomly. Pin
srinivasankrishnaa28-Feb-13 5:45
membersrinivasankrishnaa28-Feb-13 5:45 
Public Class Form1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Label1.Text = Val(Label1.Text) +10

End Sub


Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
OvalShape1.Location = New Point(OvalShape1.Location.X, OvalShape1.Location.Y - 1)
OvalShape3.Location = New Point(OvalShape3.Location.X, OvalShape3.Location.Y - 1)
OvalShape4.Location = New Point(OvalShape4.Location.X, OvalShape4.Location.Y - 1)
OvalShape5.Location = New Point(OvalShape5.Location.X, OvalShape5.Location.Y - 1)
OvalShape6.Location = New Point(OvalShape6.Location.X, OvalShape6.Location.Y - 1)
OvalShape7.Location = New Point(OvalShape7.Location.X, OvalShape7.Location.Y - 1)
OvalShape8.Location = New Point(OvalShape8.Location.X, OvalShape8.Location.Y - 1)

End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Timer1.Start()
If OvalShape1.Location = OvalShape2.Location Then
OvalShape2.Hide()
End If
Timer2.Stop()
Timer3.Stop()
Timer4.Stop()
Timer5.Stop()
Timer6.Stop()
Timer7.Stop()
End Sub

Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click

Timer1.Stop()
Timer2.Stop()
Timer3.Stop()
Timer4.Stop()
Timer5.Stop()
Timer6.Stop()
Timer7.Stop()
End Sub

Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
OvalShape1.Location = New Point(OvalShape1.Location.X, OvalShape1.Location.y + 1)
OvalShape3.Location = New Point(OvalShape3.Location.X, OvalShape3.Location.y + 1)
OvalShape4.Location = New Point(OvalShape4.Location.X, OvalShape4.Location.y + 1)
OvalShape5.Location = New Point(OvalShape5.Location.X, OvalShape5.Location.y + 1)
OvalShape6.Location = New Point(OvalShape6.Location.X, OvalShape6.Location.y + 1)
OvalShape7.Location = New Point(OvalShape7.Location.X, OvalShape7.Location.y + 1)
OvalShape8.Location = New Point(OvalShape8.Location.X, OvalShape8.Location.y + 1)
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Timer1.Stop()
Timer2.Start()
If OvalShape1.Location = OvalShape2.Location Then
OvalShape2.Hide()
End If
End Sub

Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
Timer1.Stop()
Timer2.Stop()
Timer3.Start()
If OvalShape1.Location = OvalShape2.Location Then
OvalShape2.Hide()
End If
Timer4.Stop()
Timer5.Stop()
Timer6.Stop()
Timer7.Stop()
End Sub

Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick
OvalShape1.Location = New Point(OvalShape1.Location.X - 1, OvalShape1.Location.Y)
OvalShape3.Location = New Point(OvalShape3.Location.X - 1, OvalShape3.Location.Y)
OvalShape4.Location = New Point(OvalShape4.Location.X - 1, OvalShape4.Location.Y)
OvalShape5.Location = New Point(OvalShape5.Location.X - 1, OvalShape5.Location.Y)
OvalShape6.Location = New Point(OvalShape6.Location.X - 1, OvalShape6.Location.Y)
OvalShape7.Location = New Point(OvalShape7.Location.X - 1, OvalShape7.Location.Y)
OvalShape8.Location = New Point(OvalShape8.Location.X - 1, OvalShape8.Location.Y)
End Sub

Private Sub Timer4_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer4.Tick
OvalShape1.Location = New Point(OvalShape1.Location.X + 1, OvalShape1.Location.Y)
OvalShape3.Location = New Point(OvalShape3.Location.X + 1, OvalShape3.Location.Y)
OvalShape4.Location = New Point(OvalShape4.Location.X + 1, OvalShape4.Location.Y)
OvalShape5.Location = New Point(OvalShape5.Location.X + 1, OvalShape5.Location.Y)
OvalShape6.Location = New Point(OvalShape6.Location.X + 1, OvalShape6.Location.Y)
OvalShape7.Location = New Point(OvalShape7.Location.X + 1, OvalShape7.Location.Y)
OvalShape8.Location = New Point(OvalShape8.Location.X + 1, OvalShape8.Location.Y)
End Sub

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Timer1.Stop()
Timer2.Stop()
Timer3.Stop()
Timer4.Start()
If OvalShape1.Location = OvalShape2.Location Then
OvalShape2.Hide()
End If
Timer5.Stop()
Timer6.Stop()
Timer7.Stop()
End Sub


End Class
AnswerRe: snake game error, moving randomly. Pin
ryanb3120-Mar-13 2:54
memberryanb3120-Mar-13 2:54 
AnswerRe: snake game error, moving randomly. Pin
Filipe Moreira de Oliveira17-May-13 16:58
professionalFilipe Moreira de Oliveira17-May-13 16:58 
QuestionCI in TFS Pin
nitin_ion21-Feb-13 0:29
membernitin_ion21-Feb-13 0:29 
QuestionThanking Mike Meinz Pin
srinivasankrishnaa20-Feb-13 6:00
membersrinivasankrishnaa20-Feb-13 6:00 
AnswerRe: Thanking Mike Meinz Pin
Richard MacCutchan20-Feb-13 6:35
mvpRichard MacCutchan20-Feb-13 6:35 
AnswerRe: Thanking Mike Meinz Pin
Sandeep Mewara20-Feb-13 7:27
mvpSandeep Mewara20-Feb-13 7:27 
Questionfind sentence with regular expression in VS Pin
Elham M18-Feb-13 22:25
memberElham M18-Feb-13 22:25 
AnswerRe: find sentence with regular expression in VS Pin
Pete O'Hanlon18-Feb-13 23:24
protectorPete O'Hanlon18-Feb-13 23:24 
Questionprocessor id Pin
srinivasankrishnaa16-Feb-13 4:38
membersrinivasankrishnaa16-Feb-13 4:38 
AnswerRe: processor id Pin
Mike Meinz16-Feb-13 5:22
memberMike Meinz16-Feb-13 5:22 
GeneralRe: processor id Pin
vivek51118-Feb-13 0:48
membervivek51118-Feb-13 0:48 
GeneralRe: processor id Pin
Richard Deeming18-Feb-13 3:05
memberRichard Deeming18-Feb-13 3:05 
AnswerRe: processor id Pin
Mike Meinz18-Feb-13 6:23
memberMike Meinz18-Feb-13 6:23 
QuestionCrystal Report for Visual Studio 2010 Pin
source.compiler14-Feb-13 21:10
membersource.compiler14-Feb-13 21:10 
QuestionAdd a Class to a Windows App Pin
ASPnoob8-Feb-13 19:09
memberASPnoob8-Feb-13 19:09 
AnswerRe: Add a Class to a Windows App Pin
Richard MacCutchan8-Feb-13 23:55
mvpRichard MacCutchan8-Feb-13 23:55 
GeneralRe: Add a Class to a Windows App Pin
ASPnoob9-Feb-13 0:27
memberASPnoob9-Feb-13 0:27 
QuestionVirtual memory not released after my program ran out of memory ... Pin
Martial8-Feb-13 1:50
memberMartial8-Feb-13 1:50 
QuestionCross page posting Pin
Tanaji.C30-Jan-13 1:38
memberTanaji.C30-Jan-13 1:38 
AnswerRe: Cross page posting Pin
Richard MacCutchan30-Jan-13 3:56
mvpRichard MacCutchan30-Jan-13 3:56 
AnswerRe: Cross page posting Pin
Pete O'Hanlon30-Jan-13 4:16
protectorPete O'Hanlon30-Jan-13 4:16 
GeneralRe: Cross page posting Pin
Tanaji.C30-Jan-13 18:10
memberTanaji.C30-Jan-13 18:10 
GeneralRe: Cross page posting Pin
Pete O'Hanlon30-Jan-13 19:50
protectorPete O'Hanlon30-Jan-13 19:50 
AnswerRe: Cross page posting Pin
Edo Tzumer3-Feb-13 0:09
memberEdo Tzumer3-Feb-13 0:09 
QuestionFiring event when creating instance of a class in C#.net Pin
Mir Hassan Shams Moosavi23-Jan-13 7:00
memberMir Hassan Shams Moosavi23-Jan-13 7:00 
AnswerRe: Firing event when creating instance of a class in C#.net Pin
Paulo Zemek23-Jan-13 7:09
memberPaulo Zemek23-Jan-13 7:09 
QuestionAssistant in the work of the Graduation Project Pin
alaa_2220-Jan-13 6:14
memberalaa_2220-Jan-13 6:14 
Questionosk to notepad Pin
srinivasankrishnaa16-Jan-13 5:08
membersrinivasankrishnaa16-Jan-13 5:08 
AnswerRe: osk to notepad Pin
Richard MacCutchan16-Jan-13 5:17
mvpRichard MacCutchan16-Jan-13 5:17 
Questionshortcut keys Pin
srinivasankrishnaa16-Jan-13 5:04
membersrinivasankrishnaa16-Jan-13 5:04 
AnswerRe: shortcut keys Pin
Mike Meinz23-Jan-13 4:28
memberMike Meinz23-Jan-13 4:28 
GeneralRe: shortcut keys Pin
srinivasankrishnaa16-Feb-13 4:20
membersrinivasankrishnaa16-Feb-13 4:20 
GeneralRe: shortcut keys Pin
Mike Meinz16-Feb-13 5:08
memberMike Meinz16-Feb-13 5:08 
QuestionC++/Cx syntax error Pin
Super Lloyd14-Jan-13 3:47
memberSuper Lloyd14-Jan-13 3:47 
NewsProblem solved Pin
Super Lloyd14-Jan-13 3:55
memberSuper Lloyd14-Jan-13 3:55 
QuestionAdding form close event Pin
andrew charles21-Dec-12 21:28
memberandrew charles21-Dec-12 21:28 

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 |
Web04 | 2.8.171114.1 | Last Updated 17 Nov 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid