13,090,299 members (77,265 online)

# Visual Basic

 IOException was Unhandled jankevint7-Jan-13 14:37 jankevint 7-Jan-13 14:37
 Re: IOException was Unhandled Dave Kreskowiak7-Jan-13 18:08 Dave Kreskowiak 7-Jan-13 18:08
 Re: IOException was Unhandled jankevint7-Jan-13 21:52 jankevint 7-Jan-13 21:52
 Re: IOException was Unhandled Richard MacCutchan7-Jan-13 22:26 Richard MacCutchan 7-Jan-13 22:26
 Re: IOException was Unhandled jankevint7-Jan-13 23:18 jankevint 7-Jan-13 23:18
 Re: IOException was Unhandled Richard MacCutchan7-Jan-13 23:31 Richard MacCutchan 7-Jan-13 23:31
 Re: IOException was Unhandled Mike Meinz22-Jan-13 3:15 Mike Meinz 22-Jan-13 3:15
 To calculate with two - three & four criteria multiple worksheet in summary sheet atulkhandekar3-Jan-13 21:42 atulkhandekar 3-Jan-13 21:42
 Re: To calculate with two - three & four criteria multiple worksheet in summary sheet Eddy Vluggen4-Jan-13 22:48 Eddy Vluggen 4-Jan-13 22:48
 Re: To calculate with two - three & four criteria multiple worksheet in summary sheet atulkhandekar7-Jan-13 1:46 atulkhandekar 7-Jan-13 1:46
 Re: To calculate with two - three & four criteria multiple worksheet in summary sheet Eddy Vluggen7-Jan-13 1:57 Eddy Vluggen 7-Jan-13 1:57
 Re: To calculate with two - three & four criteria multiple worksheet in summary sheet Richard MacCutchan7-Jan-13 6:39 Richard MacCutchan 7-Jan-13 6:39
 Re: To calculate with two - three & four criteria multiple worksheet in summary sheet Shailesh Shah12-Jan-13 19:20 Shailesh Shah 12-Jan-13 19:20
 which method I should go with demo 22-Jan-13 19:54 demo 2 2-Jan-13 19:54
 Hi guys I have little bit Complex Algorithm to solve my little application using IF function. I'm working on a little game using VB for that. I have 12 buttons 3*4 three column and four rows. imagine these buttons as river and in the left or on the right side of the river there is a man would like to cross the river using these buttons as bridge. the basic idea is if user presses the button there is message will show a question Yes or NO. if the answer is correct button turned to green otherwise will be blue if the answer incorrect. ``` Public Class Form1   Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim x = MsgBox("moon is biger than Sun", MsgBoxStyle.YesNo) If x = DialogResult.Yes Then Button1.BackColor = Color.Blue Else Button1.BackColor = Color.Green End If End Sub End``` [Button 1] [Button 2] [Button 3] [Button 4] [Button 5] [Button 6] [Button 7] [Button 8] [Button 9] [Button10] [Button11] [Button12] case 1: the player can go from 1 to 3 horizontal also allowed to go diametrical or free direction like : 10 and then 7 and then 8 and then 9 OR Case 2: from 7 and then 9 and then back to 8 . Case 3: or 10 to 8 to 5 to 3 case 4: 9 to 5 to 7 a lot if cases players can goes with to win Finally a message will show up ( the player win if he answers correctly ) this is my Big problem I have to study all the case and using IF not the correct method also I cant go with Switch method then I found out I have to use math Algorithm .. each button has value like button1 take 10 value if the answer correct and button2 takes 20 and button3 takes 30 value. by this way I can use IF function or switch ... because if the total comes to 60 the player will win but still Complex Algorithm for me what I should do if the player has free directions to win . Player has random choosing I got headache to just think how can I solve probabilities that user may use it to win. I know that to make my life easy just I have to make rules but I try to challenge my self with open direction how can I solve this problem
 Re: which method I should go with Eddy Vluggen4-Jan-13 22:51 Eddy Vluggen 4-Jan-13 22:51
 vb6 with ms access2007 database tuticorinmano2-Jan-13 9:58 tuticorinmano 2-Jan-13 9:58
 Re: vb6 with ms access2007 database David Mujica2-Jan-13 10:26 David Mujica 2-Jan-13 10:26
 Re: vb6 with ms access2007 database tuticorinmano2-Jan-13 12:49 tuticorinmano 2-Jan-13 12:49
 Should be simple: incompatible types AndreFratelli1-Jan-13 7:44 AndreFratelli 1-Jan-13 7:44
 Re: Should be simple: incompatible types AndreFratelli2-Jan-13 0:27 AndreFratelli 2-Jan-13 0:27
 Re: Should be simple: incompatible types GuyThiebaut7-Jan-13 22:34 GuyThiebaut 7-Jan-13 22:34
 datagrid in vs 2012 jenkinsdjj30-Dec-12 20:22 jenkinsdjj 30-Dec-12 20:22
 Re: datagrid in vs 2012 Richard MacCutchan30-Dec-12 22:29 Richard MacCutchan 30-Dec-12 22:29
 Re: datagrid in vs 2012 jenkinsdjj31-Dec-12 0:40 jenkinsdjj 31-Dec-12 0:40
 Getting innertext of HTML with tag between words Stonesteel26-Dec-12 22:57 Stonesteel 26-Dec-12 22:57
 Re: Getting innertext of HTML with tag between words Dave Kreskowiak27-Dec-12 8:49 Dave Kreskowiak 27-Dec-12 8:49
 Re: Getting innertext of HTML with tag between words Stonesteel27-Dec-12 21:04 Stonesteel 27-Dec-12 21:04
 Re: Getting innertext of HTML with tag between words Dave Kreskowiak28-Dec-12 4:41 Dave Kreskowiak 28-Dec-12 4:41
 threading impliment Michael Hulak25-Dec-12 17:58 Michael Hulak 25-Dec-12 17:58
 Re: threading impliment Dineshshp25-Dec-12 18:32 Dineshshp 25-Dec-12 18:32
 Re: threading impliment Eddy Vluggen26-Dec-12 12:16 Eddy Vluggen 26-Dec-12 12:16
 How to read list of local and network printers KASR125-Dec-12 7:21 KASR1 25-Dec-12 7:21
 Re: How to read list of local and network printers Eddy Vluggen25-Dec-12 8:30 Eddy Vluggen 25-Dec-12 8:30
 Re: How to read list of local and network printers KASR126-Dec-12 3:38 KASR1 26-Dec-12 3:38
 Re: How to read list of local and network printers Eddy Vluggen26-Dec-12 11:58 Eddy Vluggen 26-Dec-12 11:58
 Re: How to read list of local and network printers KASR126-Dec-12 23:15 KASR1 26-Dec-12 23:15
 Re: How to read list of local and network printers Eddy Vluggen27-Dec-12 4:28 Eddy Vluggen 27-Dec-12 4:28
 Re: How to read list of local and network printers KASR127-Dec-12 7:26 KASR1 27-Dec-12 7:26
 Adding an email notification module to my application. KismetGerald24-Dec-12 13:01 KismetGerald 24-Dec-12 13:01
 Re: Adding an email notification module to my application. Richard MacCutchan24-Dec-12 23:07 Richard MacCutchan 24-Dec-12 23:07
 Re: Adding an email notification module to my application. KismetGerald25-Dec-12 0:09 KismetGerald 25-Dec-12 0:09
 Re: Adding an email notification module to my application. Richard MacCutchan25-Dec-12 21:01 Richard MacCutchan 25-Dec-12 21:01
 vbs - text inputs uploaded to web oceaniana24-Dec-12 12:25 oceaniana 24-Dec-12 12:25
 Throwing run time error while saving the record. Member 786176324-Dec-12 2:11 Member 7861763 24-Dec-12 2:11
 Re: Throwing run time error while saving the record. Eddy Vluggen25-Dec-12 3:03 Eddy Vluggen 25-Dec-12 3:03
 getting right string value from textbox with arabic text in vb6 Member 970722123-Dec-12 0:44 Member 9707221 23-Dec-12 0:44
 Re: getting right string value from textbox with arabic text in vb6 Eddy Vluggen23-Dec-12 14:17 Eddy Vluggen 23-Dec-12 14:17
 Re: getting right string value from textbox with arabic text in vb6 Member 970722123-Dec-12 20:34 Member 9707221 23-Dec-12 20:34
 Re: getting right string value from textbox with arabic text in vb6 Dave Kreskowiak24-Dec-12 5:06 Dave Kreskowiak 24-Dec-12 5:06
 Re: getting right string value from textbox with arabic text in vb6 Eddy Vluggen25-Dec-12 8:26 Eddy Vluggen 25-Dec-12 8:26
 Last Visit: 31-Dec-99 18:00     Last Update: 19-Aug-17 11:11 Refresh « Prev1...131132133134135136137138139140 Next »