4,901 Posted Topics

Member Avatar for student_6

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.

Member Avatar for Reverend Jim
0
86
Member Avatar for Reverend Jim

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 …

1
495
Member Avatar for Reverend Jim

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 …

Member Avatar for Mark@SF
4
79K
Member Avatar for Abardean

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 …

Member Avatar for Reverend Jim
0
218
Member Avatar for islandgirl242

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.

Member Avatar for Reverend Jim
1
316
Member Avatar for erendeniz
Member Avatar for andre.jonker

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 …

Member Avatar for Reverend Jim
0
125
Member Avatar for Abardean

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 …

Member Avatar for Reverend Jim
0
206
Member Avatar for Reverend Jim

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 …

Member Avatar for mariopepper
3
3K
Member Avatar for Dani

Not a single one. Something seems to be crowding out all the fluff news stories.

Member Avatar for Reverend Jim
1
612
Member Avatar for macfan

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.

Member Avatar for Dani
1
510
Member Avatar for shantuli

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.

Member Avatar for zunam
-5
81K
Member Avatar for Solomon_1

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).

Member Avatar for Solomon_1
-1
290
Member Avatar for Joseph_49
Member Avatar for rproffitt
0
583
Member Avatar for Aman_24

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?

Member Avatar for JamesCherrill
-1
155
Member Avatar for MickeyD

>just how you can configure an experience? I'd start by lowering my expectations.

Member Avatar for MickeyD
2
536
Member Avatar for mycontentstore.

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

Member Avatar for Dani
0
108
Member Avatar for mycontentstore.

1. Backup the entire hard drive 1. Wipe the OS partition 1. Install the OS of your choice

Member Avatar for Reverend Jim
0
232
Member Avatar for Kumar_1975

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.

Member Avatar for Reverend Jim
0
194
Member Avatar for Jeyaraman_1

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.

Member Avatar for Reverend Jim
0
753
Member Avatar for Gtr_1

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.

Member Avatar for DGPickett
0
191
Member Avatar for msaadmakhdoom

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.

Member Avatar for Reverend Jim
0
111
Member Avatar for Xozz

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 …

Member Avatar for Reverend Jim
0
284
Member Avatar for Xozz

Pleased to meet you. My grandparents were from the Netherlands. You are a de Groot. I'm a de Graaf.

Member Avatar for Dani
0
162
Member Avatar for Passy

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.

Member Avatar for Reverend Jim
0
116
Member Avatar for Lilimae
Member Avatar for Xozz
Member Avatar for Yrth
0
318
Member Avatar for Dilshan_2

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 …

Member Avatar for Reverend Jim
0
167
Member Avatar for Xozz

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.

Member Avatar for Reverend Jim
0
117
Member Avatar for resumetogo

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?

Member Avatar for Dani
0
90
Member Avatar for BayGarnet

Pleased to meet you. Welcome to Daniweb. How are you managing during the outbreak?

Member Avatar for Reverend Jim
0
115
Member Avatar for supercomputer

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 …

Member Avatar for mariah1902
0
636
Member Avatar for MickeyD
Member Avatar for Youtube_1
Member Avatar for Sonam_7
Member Avatar for user287961
Member Avatar for SoftBa

>It would be improper for any app to force itself to be the active application. Even though Windows does this all the time.

Member Avatar for Minimalist
0
948
Member Avatar for Reverend Jim

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 …

Member Avatar for John_smith
10
21K
Member Avatar for shem j

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 …

Member Avatar for Reverend Jim
0
135
Member Avatar for chris_58

Although you should never code If True Then Button1.Enabled = True which is equivalent to Button1.Enabled = True

Member Avatar for Reverend Jim
0
610
Member Avatar for root66

Gonna get your kicks? I hope I'm not the only one here old enough to understand the reference.

Member Avatar for Dani
0
130
Member Avatar for Dani

Registered letter perhaps? Anything that you can use to legally prove you gave them notice should do.

Member Avatar for Reverend Jim
1
951
Member Avatar for DanielKeith

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 …

Member Avatar for nikitacod
-2
299
Member Avatar for Dani

That should test the relationship. Have you ever wallpapered together? That's usually a deal breaker.

Member Avatar for Reverend Jim
1
2K
Member Avatar for mahmoud adel

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.

Member Avatar for Reverend Jim
0
145
Member Avatar for Xozz
Member Avatar for AlexHy

And the programming language is... I would guess c++ but, not knowing every language I don't want to assume.

Member Avatar for tinstaafl
0
228
Member Avatar for tilsvenson78
Member Avatar for tinamendybanker

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.

Member Avatar for Reverend Jim
0
156
Member Avatar for Czech

If the question is "how do I change the background color" then the answer is button1.configure(bg = "red") or button1.configure(bg = "green")

Member Avatar for Reverend Jim
0
174

The End.