- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 7
- Posts with Upvotes
- 7
- Upvoting Members
- 4
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re: If you can post what has you stuck, either the code that isn’t working or pseudo code if you’re completely stuck with the language, we can help you out. We are here to help and gladly do, but we will not do the work for you. | |
Re: The problem with the execution of dank = dankestmemes(); at line 54 is that it is only executed if option is not Y/y. The continue at line 50 when option = Y/y sends the program to check the while condition at line 58, bypassing line 54. | |
Re: I am guessing (since I don't have tables to verify with) that the problem is that in the below select you have two tables named p, the ledgertable and the result of the select. If I try this with MySQL, I get an error. If you find this is not … | |
Re: Just to clarify where your error is... if you find an even number, you are executing a boolean statement (number = even). if you find an odd number, you are executing a boolean statement (number = odd). You are never incrementing even or odd. That is what ddanbe is showing … | |
I have written a REST API using C# that runs on my server. When it is started, I want to preload some data from the database based on the organization that has purchased it (name, address, etc). However, I can't seem to figure out the name of the initial program … | |
Re: I am confused with what you are trying to do because your question says you want then number of days REMAINING in the year yet your sample shows days PASSED. I didn't walk through all of the code you posted but here are a few thoughts on what I'm seeing. … | |
I am trying to find an efficient way to build a cross reference in C# and I am at a loss so I thought I would ask for ideas. I have tried using a list view, concatenating the source and associated values into a single dimension array, and several other … | |
As I dig deeper into the capabilities of Visual Studio, I have seen that you can have multiple projects in a single solution. I must be missing something because I can't come up with a reason to ever do this? My guess is that I don't understand the benefit. So, … | |
Re: I'm not 100% clear on what you want. If you only care that both textboxes are non blank, can you initially set your button to disabled and then use the following code? When both textboxes have a non blank value, the button is enabled. private void textBox1_TextChanged(object sender, EventArgs e) … | |
Re: I don't see a screen print and don't know what you database looks like so maybe some stupid questions but... 1) is book_date a true date field or something else (char or number) with what something that looks like a date? 2) is there a sort defined on the list … | |
I am trying to find information on best practices for json data. I am working on a client server app that will contain family information. For purposed of this question, this is an oversimplification of the database. I have a family table, an address table, and a family members table. … | |
I'm looking for some ideas on a direction to take on a project. I have a software package that I want to develop. When I discussed the software with a potential customer, the first question I got was does it run on a mac? The second question was does it … | |
I am trying to build a webpage that has a list of topics on the left side of the page and then when the user points to them (request has been made for hover and not click), the details of that topic show on the right side of the page. … | |
Re: If you haven't already figured this out, you need to copy lines 28 and 29 to just after line 34 so it clears the boxes before adding values. If this doesn't fix the problem, let me know. | |
Re: What is the problem? Is the program blowing up? Is it not returning rows? Is it returning wrong rows? | |
Re: I use the Mod operator which returns the remainder. [CODE] Dim lvi As New ListViewItem lvi.Text = "Hello" If ListView1.Items.Count Mod 2 = 0 Then lvi.BackColor = Color.white Else lvi.BackColor = Color.LightGray End If ListView1.Items.Add(lvi) [/CODE] | |
Re: Is your app a window app or command line app? I found this on Microsoft's website. Command-line applications must have a Sub Main defined. Main must be declared as Public Shared if it is defined in a class, or as Public if defined in a module. You Main should look … | |
Re: The idea of children windows is so that many windows can be open and manipulated at the same time. If you want the app to halt while the child window is open, you should use a dialog box, not a child window. | |
Re: yy returns only the last two digits of the year (12). The variable strTheId in your program = 0112. Try extracting yyyy instead of yy to get 2012 and then concatenate them in the reverse sequence...strYear & strMonth to get 201201. | |
Re: You are missing some &s for joining strings. "" such as "string1""string2" is translated as string1"string2 and not string1string2 [CODE]Public urlMySQLDatabase1 As String = "Server=" & frmLogin.txtServerIP.Text & ";" _ & "Port=" & frmLogin.txtServerPort.Text & ";" _ & "Database=DatabaseName" & ";" _ & "Uid=UserID" & ";" _ & "Pwd=Password" & … | |
Re: Try dateTimePicker1.value.hour | |
I have a menustrip with several levels of submenus as in below Client 1 [INDENT]Project 1[/INDENT] [INDENT][INDENT]Project 1 Task 1[/INDENT][/INDENT] [INDENT][INDENT]Project 1 Task 2[/INDENT][/INDENT] [INDENT]Project 2[/INDENT] [INDENT][INDENT]Project 2 Task 1[/INDENT][/INDENT] [INDENT][INDENT]Project 2 Task 2[/INDENT][/INDENT] Each entry is clickable, even if it has children. In the above example, I can select … | |
Re: I have read your post a number of times and can't figure out what you are asking. Maybe if you can provide additional information someone will be able to answer your request. | |
Re: Line 28 should be cboStreetName1.Text. .selectedindex.tostring returns the number of the selected index. As a debugging hint, I often use MessageBox.Show to make sure I am getting the value that I am expecting as in MessageBox.Show(cboStreetName1.SelectedIndex.ToString) I am assuming that you are wrapping lines 22-33 in a SelectedIndexChanged block so … | |
| Re: I think you have a problem with the build of your names array. See if the value of the last entry in it is NOTHING. |
Re: Try setting a value for DialogResult in the second form based on the button clicked and then interrogate it in the first form. | |
Re: Maybe you could use an arraylist (drivers in the example below) instead of 6 different variables (d1 - d6). Then you could do something like this. [CODE] If player(x).drivers.Contains("VETTEL") Then player(x).score += score.vettel End If [/CODE] | |
Re: I'm confused with what you are expecting to see. Do you want the two textboxes to look the same without the first and last line or do you want it in a single line with a space between each value like this... sadsadasdas dsad as das d Either way, I … | |
I am trying to find a good sample license agreement for some software that I have written but can't find anything that meets my requirements. The software will be tier priced which will be controlled by an authorization key that limits the entries into the database. Since the control is … | |
I am working on an app that is an MDI. When the user clicks a button on an MDI child, I want to "disable" the current MDI child (and only the current child window), open a new window that has control, and then re-enable the child window when the new … |