4,901 Posted Topics
Re: And what do you expect us to do with that? I could write up a GUI that simulates a coin toss but I doubt that would be of any use. | |
When asked, "What language should I learn first?", my answer is always "English". If you can't communicate clearly then you can't do your job as a programmer properly. As a programmer your job does not begin and end with code. You must also be able to write documentation clearly. I … | |
A long standing complaint with the standard progress bar control is that there is no easy way to display text. In spite of numerous requests, Microsoft has not included this capability. The following code includes a class, `CustomProgress` which inherits the standard `ProgressBar` and adds such a feature. It is … | |
Re: Several things: 1. Remove lines 14-17. You are prompting for and reading input that you never use. 1. You don't have brackets around your two statements after the `else if` so only the first is part of the block. 1. Why are you summing the salaries? That wasn't part of … | |
Re: We won't do your homework for you, but if you show us what you have tried so far and where you are stuck perhaps we can help. | |
Re: There is no direct way to do that but I'd like to point out a potential problem. What do you do when a week straddles two months? If you still want to have months with weeks under you might use a tab control with one month per tab. That has … | |
Re: You need to put brace brackets around your two statements. Indenting is not enough. else if (yearlySalary <= LIMIT) { totalSalaryB += yearlySalary; lcount++; } But your problems extend beyond that. If the code, according to your spec, is only supposed to calculate the number of salaries below and above … | |
As part of a project to manage my collection of photos, I wanted to add the capability of displaying a series of files as thumbnails. This posed me with three problems: 1. how to preserve the aspect ratio of the original images 1. how to generate the thumbnails without tying … | |
Re: Not a single one. Something seems to be crowding out all the fluff news stories. | |
Re: There is a maximum size but I don't know what it is. If your avatar fails to upload, keep downsizing it until it works. | |
Re: Unfortunately your need does not correspond to any impetus for us to do your homework for you. Try your best to code a solution then feel free to ask for help with the parts you are having trouble with. | |
Re: I take it this is homework? I suggest you read the [Daniweb Posting Rules](https://www.daniweb.com/welcome/rules), particularly the Keep It Organized section. Alse read [Suggestions For Posting Questions](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question). | |
Re: I would not attempt a conversion lacking descriptive comments and a spec. | |
Re: Is it your plan to post all your homework here for someone else to do? You also posted the "reverse words" question and found a kind-hearted person to do it for you. One such post gets a rebuke. Two in a row gets a snarky answer. Wanna try for three? | |
![]() | Re: >just how you can configure an experience? I'd start by lowering my expectations. ![]() |
Re: So you legally changed your name to that of your website? That's commitment. I might have gone with Dorothy Com (Dot Com for short) ;-P | |
Re: 1. Backup the entire hard drive 1. Wipe the OS partition 1. Install the OS of your choice | |
Re: And to think I wasted the last few years of my programming career actually writing code. If only I'd known I could've just posted the specs here and gotten someone else to write the code for free. | |
Re: Your problem is in command = "UPDATE[Table1]SET[JOBNO]='" & TextBox2.Text & "',[LABNO]='" & TextBox3.Text & "',WHERE[ID]='" & TextBox1.Text & "'" How are we supposed to help you without knowing the values of the textbox controls? Please output the resulting value of `command` and post it here. | |
Re: We won't do your homework for you but if you show us what you have done so far and where you are stuck perhaps we can help. | |
Re: And you expect someone here to do your homework for you? That's not going to happen. Show us that you have put some effort into doing this yourself. If you are stuck we will try to help you out. | |
Re: I copied your code from the external site and pasted it into the thread. If you post it on an external site then we have to leave Daniweb to look at it and there is no guarantee it is a safe site. Also, if the code eventually disappears from that … | |
Re: Pleased to meet you. My grandparents were from the Netherlands. You are a de Groot. I'm a de Graaf. | |
Re: Look at your error message. The `else` on line 33 doesn't have a matching `if`. The `if` on line 25 matches with the `else` on line 29. | |
| |
Re: You might also try [Firefox Send](https://send.firefox.com/) | |
Re: Please be kind enough to describe the problem. If it won't compile then post the error and the line that generates it. If it errors out while running then do the same. If it is running but not doing what you want then describe it like "when I do X … | |
Re: That could be something as simple as an instance of the program is already running. The compiler can't write a new Yahtzee.exe if it is in use. | |
Re: So far so good. Hunkered down with lots of food in the freezer and we're far away from the worst centres. How about you? | |
Re: Pleased to meet you. Welcome to Daniweb. How are you managing during the outbreak? | |
Re: You might want to have a look at the `powercfg` [command line utility](https://technet.microsoft.com/en-us/library/cc748940(v=ws.10).aspx) that comes with Windows. It might be that one or more of your devices are set to wake the computer from a sleep state. To see if any are "armed" you can type: powercfg -devicequery wake_armed To … | |
![]() | Re: Memory is cheap. I'd fill it up to the max. |
Re: Can't fix it if we don't know what's broken. | |
Re: >It would be improper for any app to force itself to be the active application. Even though Windows does this all the time. | |
I'm hoping that people will post unusual or little known facts here. It would be proper to include a link to a source for confirmation. Here's a start. Speedy Gonzales was banned by the Cartoon Network for being an offensive stereotype, only to be returned after mass protest by the … | |
Re: If you read the [Daniweb Posting Rules](https://www.daniweb.com/welcome/rules) and [Suggestions For Posting Questions](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question) you'd already know that we need to see proof of effort. Show us what you have done so far. If you have a specific problem then please indicate what it is and we will try to help. Your … | |
Re: Although you should never code If True Then Button1.Enabled = True which is equivalent to Button1.Enabled = True | |
Re: Gonna get your kicks? I hope I'm not the only one here old enough to understand the reference. | |
Re: Registered letter perhaps? Anything that you can use to legally prove you gave them notice should do. | |
Re: Just a suggestion, but instead of repeatedly asking inane, vaguely worded, open-ended questions that seem intended only to boost your post count, why don't you try asking specific questions? If you don't put any thought into asking a question you are likely to get only inane, vaguely worded, open-ended answers … | |
Re: That should test the relationship. Have you ever wallpapered together? That's usually a deal breaker. | |
Re: The usual way is with a prompt and inputting a yes or no response. You might want to include a few brace brackets to enclose your main function and while loop. | |
Re: And the programming language is... I would guess c++ but, not knowing every language I don't want to assume. | |
Re: One piece of advice I wish I had learned in my younger years is "Spend less time trying to find the right person, and more time trying to **be** the right person." Good luck. | |
Re: If the question is "how do I change the background color" then the answer is button1.configure(bg = "red") or button1.configure(bg = "green") |
The End.