Click here to Skip to main content
15,390,470 members

Comments by OriginalGriff (Top 200 by date)

OriginalGriff 42 mins ago View
   
Just a guess, but maybe he's found some recent VB code and is failing to get it working in VB 6 ...
   
And?
What does it do that you didn't expect, or not do that you did?
What have you tried to do to find out why?
Are there any error messages, and if so, where and when? What did you do to make them happen?

"It's not working" is one of the most useless problem descriptions we get: it tells us absolutely nothing about the problem. We don't know if you get an error message, or the wrong data, or even that that code compiles successfully!
So tell us what happens when you run that code, what you expected to happen, how you checked what happened. Help us to help you!

This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 6hrs 10mins ago View
   
And?
What does it do that you didn't expect, or not do that you did?
What have you tried to do to find out why?
Are there any error messages, and if so, where and when? What did you do to make them happen?

This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 6hrs 15mins ago View
   
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff yesterday View
   
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

So we have no idea what you mean by "comparing data in a chart" or why it's giving you a problem.

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 2 days ago View
   
And?
What does it do that you didn't expect, or not do that you did?
What have you tried to do to find out why?
Are there any error messages, and if so, where and when? What did you do to make them happen?

This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 3 days ago View
   
And?
What does it do that you didn't expect, or not do that you did?
What have you tried to do to find out why?
Are there any error messages, and if so, where and when? What did you do to make them happen?

This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 3 days ago View
   
Nope - I thought I told it to put it as a quote, it's a copy from the OP homework instructions, not a solution.
OriginalGriff 3 days ago View
   
You're welcome!
OriginalGriff 3 days ago View
   
Try JOINing by matching IDT's, and add a WHERE clause to select the Symbols that don't match:
SELECT *
FROM StfnStbl 
JOIN StfnStbl_Temp 
ON StfnStbl.IDT = StfnStbl_Temp.IDT
WHERE StfnStbl.Symbol <> StfnStbl_Temp.Symbol;
OriginalGriff 3 days ago View
   
And that is what you are getting.
Perhaps if you gave an example of the two tables input and what you expected it might help.
OriginalGriff 5 days ago View
   
As I said, look at what the % operator actually does. When you know that, it's pretty obvious!

To the point where I can't "tell you what to do" without writing the damn code for you! :laugh:
OriginalGriff 5 days ago View
   
You have asked three questions in 8 hours, all the same: "how do I write this program" complete with your homework assignment and not a trace of actual effort.

We are not a "do my homework for me" service.
OriginalGriff 2-Aug-22 12:04pm View
   
He was getting close, and it was such a trivial problem that it's pretty much impossible to guide him without complete code.
But ... it's not something he can hand in without changes as it's more advanced than his course has got yet I suspect ... :D
OriginalGriff 2-Aug-22 6:59am View
   
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

I'd start by going back to your assignment, and reading it carefully - we can't see it so we have no idea what rules you are supposed to be following.

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 2-Aug-22 4:18am View
   
You're welcome!
OriginalGriff 1-Aug-22 12:06pm View
   
And?
What does it do that you didn't expect, or not do that you did?
What have you tried to do to find out why?
Are there any error messages, and if so, where and when? What did you do to make them happen?
Where are you stuck?
What help do you need?

Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 1-Aug-22 3:53am View
   
No, you can't: they are completely different paradigms.
What your are asking is "Can I make a bicycle that will carry 3000Kg at up to 200KPH and seat four?" when what you actually want is an estate car ...
OriginalGriff 31-Jul-22 3:16am View
   
Stop guessing, and think logically.
Use SSMS to test your queries and see that you get what you expect, and build your query a bit at a time, test it, and then move on to use those results.

So what did you get from the GROUP BY? Remember I can't access your DB or see your screen!
OriginalGriff 30-Jul-22 14:12pm View
   
Much better - modified! :thumbsup:
OriginalGriff 30-Jul-22 14:10pm View
   
Sorting isn't free, but Quicksort doesn't use too much memory and is pretty quick (there are "cheaper" sorting algorithms if the sample size is small enough).

Having a count array that is the sample space size can get very expensive in terms of memory at large samples!

But you know this - I'm only mentioning it because it's likely the OP doesn't!
OriginalGriff 30-Jul-22 11:03am View
   
One of the essentials, I believe! :D
OriginalGriff 30-Jul-22 5:40am View
   
Where did you get yours?
OriginalGriff 30-Jul-22 5:40am View
   
Seriously, guesswork isn't a good idea.

If you want to find out why your code is doing something at run time, the first thing to do is use the debugger to see what exactly is going on while your code is running, not ask others.

You do know how to use the debugger, don't you?
OriginalGriff 30-Jul-22 5:38am View
   
Most people seem to just pick the design pattern they know and force the project into that shape. :sigh:
OriginalGriff 30-Jul-22 4:39am View
   
What name?
OriginalGriff 30-Jul-22 4:38am View
   
Oh good grief.
That's even worse!
It "doesn't run" because it shouldn't even compile ... and if it did, it would still be wrong.

Have a look at two things:
1) C / C++ conditional expressions.
2) The string class in C++: https://cplusplus.com/reference/string/string/

From what I can see at the moment, you are just guessing and hoping instead of thinking, and that just won't work.
OriginalGriff 30-Jul-22 1:41am View
   
It does, but only in some places:
https://stackoverflow.com/questions/15197040/arabic-encoding-in-itextsharp
OriginalGriff 29-Jul-22 5:34am View
   
It's not whether *you* care or not: it's what it looks like to others. :D

If you post just a URL to an old question some people are going to see it as "gaming the system" and will kick you for it.
OriginalGriff 29-Jul-22 2:01am View
   
And?
What does it do that you didn't expect, or not do that you did?
What have you tried to do to find out why?
Are there any error messages, and if so, where and when? What did you do to make them happen?

This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 29-Jul-22 1:18am View
   
While I applaud your urge to help people, it's a good idea to stick to new questions, rather than 8 year old ones. After that amount of time, it's unlikely that the original poster is at all interested in the problem any more!
Answering old questions can be seen as rep-point hunting, which is a form of site abuse. The more trigger happy amongst us will start the process of banning you from the site if you aren't careful. Stick to new questions and you'll be fine.

And when the answer you post is basically just a URL you will get assumed to be a spammer ...
OriginalGriff 28-Jul-22 9:56am View
   
:D Easier for me to find stuff I wrote, I guess!
OriginalGriff 27-Jul-22 6:02am View
   
You're welcome!
OriginalGriff 27-Jul-22 0:48am View
   
You're welcome!
OriginalGriff 26-Jul-22 10:09am View
   
What? And RTFM? :omg:
OriginalGriff 25-Jul-22 9:35am View
   
Do you want to try that again, in English? And SQL with examples of what you expected and got by preference?
OriginalGriff 25-Jul-22 4:48am View
   
"i think you understand what i want to say"

Nope, not a clue.
How about giving an example of the initial folder status, and the result you expect?

Then explain what you have tried, and what happened when you did.

And then tell us what that code is, and what code language you expect - becuase that code sure isn't C++ ...

Use the "Improve question" widget (hover your mouse over the question and it'll appear at the bottom) to edit your question and provide better information.
OriginalGriff 24-Jul-22 10:53am View
   
We've all over complicated stuff - it's probably part of the job description ... :D
OriginalGriff 24-Jul-22 9:19am View
   
Yep.
Always have, always will. :D
OriginalGriff 24-Jul-22 8:57am View
   
That won't work either, the '\n' from the previous entry is still in the input buffer!
OriginalGriff 23-Jul-22 12:29pm View
   
Sorry ... I've been reading Terry Pratchett again ... :D
OriginalGriff 23-Jul-22 11:49am View
   
No, that's my poor English, not yours.
I've changed it slightly, hopefully making it a little clearer.
OriginalGriff 23-Jul-22 8:38am View
   
Why the heck would you want to do that?
You want to show / select one by one, use a combo box or similar ...
OriginalGriff 23-Jul-22 6:33am View
   
Don't post this as a solution - it removes your question from the "Unanswered" list and makes it less likely that you will receive actual help.
Edit the question instead using the "improve question" widget by hovering your mouse over it, and add information that way.

I'll delete this "solution" to move it back to the queue.
OriginalGriff 22-Jul-22 8:34am View
   
And?
What does it do that you didn't expect, or not do that you did?
What have you tried to do to find out why?
Are there any error messages, and if so, where and when? What did you do to make them happen?

This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 22-Jul-22 7:48am View
   
Yes, I guessed that ... what is preventing you from doing that?

What have you tried?
Where are you stuck?
What help do you need?
OriginalGriff 22-Jul-22 7:41am View
   
Have you tried actually writing your own code?
I find it works for me, and generally much faster and better quality than random code found on the internet ...
OriginalGriff 22-Jul-22 7:39am View
   
It's normally a good sign that the author didn't author, and has no idea how it's supposed to work. :sigh:
OriginalGriff 22-Jul-22 4:35am View
   
"It doesn't work" is probably the most useless problem report we get - and we get it a lot. It tells us nothing about what is happening, or when it happens., or what code your used to try and make it happen.

So tell us what it is doing that you didn't expect, or not doing that you did.
Tell us what you did to get it to happen.
Tell us any error messages.
Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 22-Jul-22 3:29am View
   
Code for what?
OriginalGriff 20-Jul-22 8:44am View
   
And?
What have you tried?
Where are you stuck?
What help do you need?

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 20-Jul-22 7:54am View
   
Could be - I'm suspecting a class full of homework since opengauss is open source though.
OriginalGriff 18-Jul-22 6:23am View
   
You know how to create a form, I assume?
And you know how to handle a Click event?

So what part is difficult for you?
OriginalGriff 18-Jul-22 1:17am View
   
Compiling does not mean your code is right! :laugh:
Think of the development process as writing an email: compiling successfully means that you wrote the email in the right language - English, rather than German for example - not that the email contained the message you wanted to send.

So now you enter the second stage of development (in reality it's the fourth or fifth, but you'll come to the earlier stages later): Testing and Debugging.

Start by looking at what it does do, and how that differs from what you wanted. This is important, because it give you information as to why it's doing it. For example, if a program is intended to let the user enter a number and it doubles it and prints the answer, then if the input / output was like this:
Input   Expected output    Actual output
  1            2                 1
  2            4                 4
  3            6                 9
  4            8                16
Then it's fairly obvious that the problem is with the bit which doubles it - it's not adding itself to itself, or multiplying it by 2, it's multiplying it by itself and returning the square of the input.
So with that, you can look at the code and it's obvious that it's somewhere here:
int Double(int value)
   {
   return value * value;
   }

Once you have an idea what might be going wrong, start using the debugger to find out why. Put a breakpoint on the first line of the method, and run your app. When it reaches the breakpoint, the debugger will stop, and hand control over to you. You can now run your code line-by-line (called "single stepping") and look at (or even change) variable contents as necessary (heck, you can even change the code and try again if you need to).
Think about what each line in the code should do before you execute it, and compare that to what it actually did when you use the "Step over" button to execute each line in turn. Did it do what you expect? If so, move on to the next line.
If not, why not? How does it differ?
Hopefully, that should help you locate which part of that code has a problem, and what the problem is.
This is a skill, and it's one which is well worth developing as it helps you in the real world as well as in development. And like all skills, it only improves by use!
OriginalGriff 16-Jul-22 1:38am View
   
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 15-Jul-22 14:03pm View
   
Right ... so don't touch the TAB or ENTER keys - use the TextBox.Leave event instead:
https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control.leave?view=windowsdesktop-6.0
That way no matter how the user exits the textbox, the validation gets done and the DB query executed.
OriginalGriff 15-Jul-22 7:12am View
   
ENTER also has a specific function: "I've finished with the form, submit these values"

What are you trying to do?
OriginalGriff 15-Jul-22 4:42am View
   
C99 allowed variable sized arrays to be declared: https://www.tutorialspoint.com/initialization-of-variable-sized-arrays-in-c#:~:text=Variable%20sized%20arrays%20are%20data,that%20allows%20variable%20sized%20arrays.
OriginalGriff 15-Jul-22 3:41am View
   
Certainly! Where would you like me to send the pro forma invoice?

This is not a "do my code for me" service: while we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for us to do it all for you.

So we need you to do the work, and we will help you when you get stuck. That doesn't mean we will give you a step by step solution you can hand in!
Start by explaining where you are at the moment, and what the next step in the process is. Then tell us what you have tried to get that next step working, and what happened when you did.

If you are having problems getting started at all, then this may help: How to Write Code to Solve a Problem, A Beginner's Guide[^]
OriginalGriff 13-Jul-22 11:14am View
   
You forgot "Pro Froma" for new customers. :D
OriginalGriff 12-Jul-22 4:55am View
   
NIH syndrome?
OriginalGriff 11-Jul-22 8:25am View
   
How many times do we have to tell you: This is an English language site, and we can only accept and answer questions in that language.
I have run this through Google Translate to produce a probably-good version, but you should check it and make sure it does say what you are actually asking.
OriginalGriff 10-Jul-22 9:54am View
   
Yes, and that means it's likely to accurately reflect what the user is typing ...
OriginalGriff 10-Jul-22 3:39am View
   
And what - exactly - did you try?
What effects did it have?
What did you expect it to do?
OriginalGriff 9-Jul-22 13:52pm View
   
You're welcome!
OriginalGriff 8-Jul-22 9:21am View
   
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 8-Jul-22 3:57am View
   
You're welcome!
OriginalGriff 6-Jul-22 4:18am View
   
While I applaud your urge to help people, it's a good idea to stick to new questions, rather than year old ones. After that amount of time, it's unlikely that the original poster is at all interested in the problem any more!
Answering old questions can be seen as rep-point hunting, which is a form of site abuse. The more trigger happy amongst us will start the process of banning you from the site if you aren't careful. Stick to new questions and you'll be fine.
OriginalGriff 6-Jul-22 3:48am View
   
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 5-Jul-22 12:05pm View
   
How can I "give you a solution" to a problem you haven't described, and I can't see or duplicate with the little info you have given us?
OriginalGriff 5-Jul-22 11:57am View
   
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 4-Jul-22 8:17am View
   
Yes. I know.
The principle is still exactly the same ...
OriginalGriff 3-Jul-22 5:46am View
   
So ... you have the same task, and you don't want to do your homework yourself either?

Child, you learn by doing, not by handing other people's work in as your own.
And ask yourself this: if you have been given the same assignment 8 years later, that means it's almost certainly the teacher setting it. And that means that any code you find and hand in, he has seen before - possibly many times. Which means he's likely to remember it, and know that you plagiarised "your" solution. In many schools, that means suspension, or even expulsion - it's cheating.

I'd strongly recommend that you think carefully before you do it ...
OriginalGriff 2-Jul-22 9:19am View
   
Auto-f'ing-complete ...
Fixed. :thumbsup:
OriginalGriff 2-Jul-22 0:55am View
   
Excellent!
OriginalGriff 1-Jul-22 9:32am View
   
How do you expect me to have any idea what you are trying to INSERT from where?
OriginalGriff 1-Jul-22 3:22am View
   
How do you expect anyone to do that when we have no idea where your data comes from, how you are loading it, or what the heck you do with it after that?
OriginalGriff 1-Jul-22 1:20am View
   
That gets more complicated, as your local IP address could be either static or dynamic depending on how much you pay your ISP - static is normally an extra cost, but that's what you would need for remote sites to access your NAS if it was shared across the internet.
This may help: https://www.google.com/search?q=map+drive+to+cloud+folder&oq=map+drive+to+cloud+folder&aqs=chrome..69i57j0i546l4j69i64.7648j0j7&sourceid=chrome&ie=UTF-8
But I haven't tried it: the security issue is far too great for me to want to do that, but it would depend on what you are storing / sharing. Do remember that exposing data to the internet means that GDPR applies so you'll need to be pretty careful how you secure things if you share a whole folder, even if you don't know exactly what your legitimate users are storing / accessing!
OriginalGriff 1-Jul-22 1:13am View
   
:laugh:
I only just got round to reading my emails this morning, and assumed this was a reply to the solution I posted to your QA question ...
OriginalGriff 1-Jul-22 1:12am View
   
You're welcome!
OriginalGriff 1-Jul-22 1:11am View
   
"Patrice T", not "Patrica T"
It's a French masculine first name.
OriginalGriff 30-Jun-22 14:11pm View
   
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 30-Jun-22 8:41am View
   
You're welcome!
OriginalGriff 30-Jun-22 6:04am View
   
Deleted
"It doesn't work" is probably the most useless problem report we get - and we get it a lot. It tells us nothing about what is happening, or when it happens.
So tell us what it is doing that you didn't expect, or not doing that you did.
Tell us what you did to get it to happen.
Tell us any error messages.
Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 30-Jun-22 2:24am View
   
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 29-Jun-22 2:08am View
   
Yes, but we get a bunch of morons who decide that posting answers to old questions is a good way to boost their rep (probably to look good on a resume).

Mostly the answers are garbage, irrelevant, or copy'n'paste but some trigger happy members will assume that any answer to an old question is "fair game" and start the banning process, particularly with a new member.
This was just a polite warning that we don't tolerate such things, rather than no comment and an abuse report!
OriginalGriff 29-Jun-22 1:33am View
   
While I applaud your urge to help people, it's a good idea to stick to new questions, rather than 3 year old ones. After that amount of time, it's unlikely that the original poster is at all interested in the problem any more!
Answering old questions can be seen as rep-point hunting, which is a form of site abuse. The more trigger happy amongst us will start the process of banning you from the site if you aren't careful. Stick to new questions and you'll be fine.
OriginalGriff 29-Jun-22 0:42am View
   
Yes ... and on second thoughts, you're probably right it should be rejected.
an exercise for the OP then ...
Not a difficult mod!
OriginalGriff 28-Jun-22 14:51pm View
   
Works for me ... does it not work for you?
OriginalGriff 28-Jun-22 14:09pm View
   
You need to learn how regexes work if you are going to use them: none of your examples end with a period, so it wasn't considered as valid by either Piebald or myself.
To allow it, you need to reduce the minimum number of digits allowed after the period from one to zero. If you have understood the examples we gave you, you should be able to change that very easily.
OriginalGriff 28-Jun-22 11:21am View
   
Easy to miss it! That's half the problem with testing regexes ... :sigh:
OriginalGriff 28-Jun-22 5:17am View
   
You're welcome!
OriginalGriff 27-Jun-22 7:44am View
   
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 25-Jun-22 12:22pm View
   
Deleted
And?
What does it do that you didn't expect, or not do that you did?
What have you tried to do to find out why?
Are there any error messages, and if so, where and when? What did you do to make them happen?

This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 25-Jun-22 1:01am View
   
If I have data on the clipboard, it's because I want it there - I'm going to use it soon. If you app then bounces up and loads your data in the clipboard, mine ifs gone - and I'm going to be very annoyed when I paste my data and get your text instead of the image I just worked on for the last hour ...

And the "Share" button in Wordle copies to the clipboard when I press the button - knowing what it does! Your's is just using the clipboard to transfer info to Excel without user intervention because you don't want to use the "proper" mechanism - that's very different.
OriginalGriff 24-Jun-22 13:47pm View
   
While I applaud your urge to help people, it's a good idea to stick to new questions, rather than 4 year old ones. After that amount of time, it's unlikely that the original poster is at all interested in the problem any more!
Answering old questions can be seen as rep-point hunting, which is a form of site abuse. The more trigger happy amongst us will start the process of banning you from the site if you aren't careful. Stick to new questions and you'll be fine.
OriginalGriff 24-Jun-22 7:17am View
   
And?
What does it do that you didn't expect, or not do that you did?
What have you tried to do to find out why?
Are there any error messages, and if so, where and when? What did you do to make them happen?

This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 24-Jun-22 5:24am View
   
Reason for my vote of 1: This is not a solution.
OriginalGriff 22-Jun-22 7:27am View
   
"System.Byte[]" has 13 characters ... and is what you get if you use ToString (explicitly or implicitly) on any byte array.
Like if you were storing it in a DB without using parameterised queries, perhaps ... :D
OriginalGriff 22-Jun-22 6:52am View
   
No, no - that sounds far too like hard work. Much easier to get you to point me at the one I can hand in as my own work once I've filed off the serial numbers!
OriginalGriff 21-Jun-22 17:11pm View
   
I'm pretty sure the one passed in is always 13 bytes long ... :laugh:
And you know what it translates to as characters as well :D
OriginalGriff 21-Jun-22 7:41am View
   
You're welcome!
OriginalGriff 20-Jun-22 12:50pm View
   
Or two students found the same code on the internet and want it fixed to hand in ... :sigh:
OriginalGriff 20-Jun-22 12:32pm View
   
And?
What does it do that you didn't expect, or not do that you did?
What have you tried to do to find out why?
Are there any error messages, and if so, where and when? What did you do to make them happen?

This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 20-Jun-22 8:40am View
   
To be honest Richard, you'd need to use BigInteger values or similar to get the stack to blow. Even with long values you'll overflow before you reach 100 values in the sequence! :laugh:
OriginalGriff 18-Jun-22 14:45pm View
   
I rolled it back - removing the homework assignment so his teacher didn't spot it, I suspect as that was the only change ...
OriginalGriff 18-Jun-22 14:45pm View
   
I rolled it back - removing the homework assignment so his teacher didn't spot it, I suspect as that was the only change ...
OriginalGriff 17-Jun-22 6:54am View
   
Ignoring your link - if I wanted to do stuff at SO, I would. I don't like the attitude there, so I don't. If you want to ask a question here, ask it properly here - it's rude to expect volunteers to go elsewhere to read other information.

So ... what you have given us so far ...

What does it do that you didn't expect, or not do that you did?
What have you tried to do to find out why?
Are there any error messages, and if so, where and when? What did you do to make them happen?

This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 15-Jun-22 9:59am View
   
You do have to wonder if some people actually read error messages at all, don't you? :sigh:
OriginalGriff 15-Jun-22 9:56am View
   
You're welcome!
OriginalGriff 15-Jun-22 7:02am View
   
Two things:
1) MAC address isn't unique: it's unique within a lan segment (hopefully) but it's not a GUID type value, and the range of values is pretty small. It's also really easy to spoof, and if you use a VM you can pick your own MAC address at will. Not a secure solution in any way!

2) While I applaud your urge to help people, it's a good idea to stick to new questions, rather than 8 year old ones. After that amount of time, it's unlikely that the original poster is at all interested in the problem any more!
Answering old questions can be seen as rep-point hunting, which is a form of site abuse. The more trigger happy amongst us will start the process of banning you from the site if you aren't careful. Stick to new questions and you'll be fine.
OriginalGriff 15-Jun-22 4:32am View
   
I suspect the same, but ... wait for the reply payload, I guess.
On the watch list, anyway.
OriginalGriff 14-Jun-22 4:49am View
   
So do what I suggested, and use the debugger to find out why.
Unless you know exactly what values you are dealing with, and what exactly happens in your code while it is running, you can't fix it ...
OriginalGriff 14-Jun-22 3:22am View
   
And?
What does it do that you didn't expect, or not do that you did?
What have you tried to do to find out why?
Are there any error messages, and if so, where and when? What did you do to make them happen?

This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 14-Jun-22 1:32am View
   
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 13-Jun-22 0:45am View
   
You're welcome!
OriginalGriff 12-Jun-22 16:37pm View
   
You're welcome!
OriginalGriff 12-Jun-22 0:33am View
   
And?
What have you tried?
Where are you stuck?
What help do you need?

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 11-Jun-22 12:46pm View
   
It's just under "return totwork;" ... :sigh:
OriginalGriff 11-Jun-22 10:04am View
   
Start with the specification: the assignment you were given if you have nothing else - then expand that into a "proper" spec you can work from.

Then you need to find out what the vehicles have that would enable you to track them, or if they don't have a tracker onboard, start researching what is suitable.

From that, you get the coms info that you need to interface with and can start thinking about maybe designing (but not writing yet) some code.

But until you have the basics set up, you can't even decide how you app is to be hosted, or what environment it will run under, or what hardware it requires.

Nothing we can do for any of that!
OriginalGriff 8-Jun-22 4:20am View
   
But you didn't give him the full code he could hand in, I suspect ... :sigh:
OriginalGriff 7-Jun-22 0:41am View
   
You're welcome!
OriginalGriff 6-Jun-22 13:43pm View
   
Excellent!
OriginalGriff 6-Jun-22 8:17am View
   
While I applaud your urge to help people, it's a good idea to stick to new questions, rather than ten year old ones. After that amount of time, it's unlikely that the original poster is at all interested in the problem any more!
Answering old questions can be seen as rep-point hunting, which is a form of site abuse. The more trigger happy amongst us will start the process of banning you from the site if you aren't careful. Stick to new questions and you'll be fine.
OriginalGriff 6-Jun-22 7:45am View
   
You're welcome!
OriginalGriff 6-Jun-22 7:21am View
   
While I applaud your urge to help people, it's a good idea to stick to new questions, rather than 7 year old ones. After that amount of time, it's unlikely that the original poster is at all interested in the problem any more!
Answering old questions can be seen as rep-point hunting, which is a form of site abuse. The more trigger happy amongst us will start the process of banning you from the site if you aren't careful. Stick to new questions and you'll be fine.
OriginalGriff 6-Jun-22 6:22am View
   
So ... you've sat on it for three months, and now the deadline is looming and you haven't done any of it yourself?
OriginalGriff 5-Jun-22 8:32am View
   
You're welcome!
OriginalGriff 5-Jun-22 6:43am View
   
As I said, there are other problems - not the least is that that doesn't look like code that you sat down and thought about before you dived into code ... which is probably why it's throwing up other errors, and will continue to do so as you fix them one by one.

You should expect to get syntax errors every day, probably many times a day while you are coding - we all do regardless of how much experience we have! Sometimes, we misspell a variable, or a keyword; sometimes we forget to close a string or a code block. Sometimes the cat walks over your keyboard and types something really weird. Sometimes we just forget how many parameters a method call needs.

We all make mistakes.

And because we all do it, we all have to fix syntax errors - and it's a lot quicker to learn how and fix them yourself than to wait for someone else to fix them for you! So invest a little time in learning how to read error messages, and how to interpret your code as written in the light of what the compiler is telling you is wrong - it really is trying to be helpful!

So read this: How to Write Code to Solve a Problem, A Beginner's Guide Part 2: Syntax Errors[^] - it should help you next time you get a compilation error!
OriginalGriff 5-Jun-22 4:52am View
   
Read the link: it's not the number, it's the default string representation of the number.
SQL doesn't "know" you saved it as 0.000001 or 0.1: it just stores it as 1 plus an exponent.

Ignore it and format your data in your presentation language the way you want.
OriginalGriff 4-Jun-22 17:38pm View
   
You are getting it's value! It's just that the value is meaningless ...
OriginalGriff 4-Jun-22 1:38am View
   
The idea of an interview question is not that you submit "my solution" - it's that they get to see how you think. How you work. What exactly you can do.

And to be honest, if you can't solve this on your own, then they need to know that as it means you probably can't do the actual job either, and advancing you to the next interview stage / round would be unfair on you, on the prospective employer, and on the other candidates who were more honest about their abilities!
OriginalGriff 3-Jun-22 0:20am View
   
This is not a solution to a development problem: it requires user effort instead of software automation!

Think of it like driving a car: your solution requires each passenger to have their own chauffer on call 24 hours a day!
OriginalGriff 2-Jun-22 7:06am View
   
While I applaud your urge to help people, it's a good idea to stick to new questions, rather than 10 year old ones. After that amount of time, it's unlikely that the original poster is at all interested in the problem any more!
Answering old questions can be seen as rep-point hunting, which is a form of site abuse. The more trigger happy amongst us will start the process of banning you from the site if you aren't careful. Stick to new questions and you'll be fine.
OriginalGriff 2-Jun-22 6:08am View
   
And?
What does it do that you didn't expect, or not do that you did?
What have you tried to do to find out why?
Are there any error messages, and if so, where and when? What did you do to make them happen?

This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 1-Jun-22 7:13am View
   
Why are you using sp_executesql? It expects a SQL statement, not an SP name which may be confusing it.
Try:
exec dbo.UserProfileGet @userID=N'36-character string'

[edit] Forgot to remove enough from your SQL [/edit]
OriginalGriff 1-Jun-22 6:13am View
   
Connection string? You are connected to the right DB? I'm guessing here ...
OriginalGriff 1-Jun-22 3:14am View
   
While I applaud your urge to help people, it's a good idea to stick to new questions, rather than 11 year old ones. After that amount of time, it's unlikely that the original poster is at all interested in the problem any more!
Answering old questions can be seen as rep-point hunting, which is a form of site abuse. The more trigger happy amongst us will start the process of banning you from the site if you aren't careful. Stick to new questions and you'll be fine.
OriginalGriff 1-Jun-22 0:49am View
   
Without a relevant code fragment?
We can't do anything ...
OriginalGriff 31-May-22 16:37pm View
   
+5!
Versioning should definitely be part of the build process, and as early as possible - certainly before obfuscation (which should be the last part of the process if used). :thumbsup:
OriginalGriff 31-May-22 15:59pm View
   
I just checked. "Vampire Troll" and "Chris Tillack" both come up from March: a Help Vampire that refused to learn.

If you have started to learn, then welcome back. But if you are going to act the same way as last time, you won't stay long ... and the signs so far aren't good.
OriginalGriff 31-May-22 15:53pm View
   
I have no idea who you are, or were ... but if you think your were not helped last time, and aren't being this time, then perhaps you should consider that it may be the questions you ask, and how you ask them? Just a thought ...
OriginalGriff 31-May-22 14:17pm View
   
That's not rude: it's a statement of fact.
You are asking for a direction to go in based on your current code - and it's useless because it's not even valid HTML, much less anything that shows us where you are as a developer.

What do you expect to get as a result? :laugh:
OriginalGriff 31-May-22 11:51am View
   
We have no idea what you consider "distorted", or what OutputTB is, or how it is coded.

This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 31-May-22 1:00am View
   
"what should I do with this program?"

Finish is so it contains valid HTML?
OriginalGriff 30-May-22 7:15am View
   
And?
What does it do that you didn't expect, or not do that you did?
What have you tried to do to find out why?
Are there any error messages, and if so, where and when? What did you do to make them happen?
What help do you need?

This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 30-May-22 1:56am View
   
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 29-May-22 13:49pm View
   
"Compiler tell me that Error here"
No, it doesn't.
The compiler's job is done once the executable file has been produced: the app can then be run as many times as you like after that without involving the compiler at all.

Null reference errors are run time errors, not compile time - and you need to use the debugger to work out which part of that is null first, then look back though your code to find out why.
We can't do that for you: we do not have access to your code running with your data, and your user inputs - and that is what you need to find run time errors!
OriginalGriff 28-May-22 4:01am View
   
:thumbsup:
OriginalGriff 27-May-22 8:04am View
   
And?
What does it do that you didn't expect, or not do that you did?
What have you tried to do to find out why?
Are there any error messages, and if so, where and when? What did you do to make them happen?

This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 27-May-22 0:49am View
   
This is your 385th question: you should know by now (better than anyone else) how to ask a question!

What does it do that you didn't expect, or not do that you did?
What have you tried to do to find out why?
Are there any error messages, and if so, where and when? What did you do to make them happen?

This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 26-May-22 14:27pm View
   
Does "You?! Arrrrgh!" count?
OriginalGriff 26-May-22 12:23pm View
   
Your guess is as good as mine ...
OriginalGriff 26-May-22 10:41am View
   
Which means it;s a data problem, and that means you need access to your database to work out where in it the bad data is. Which we have no access to ...
OriginalGriff 26-May-22 9:55am View
   
It makes sense though - if Windows can't identify the actual make and model of a monitor (and it can't for all) then it has absolutely no way way to tell how big a real pixel is. Let alone what happens when Windows is running in a VM with virtual hardware in a Linux window!
OriginalGriff 26-May-22 8:01am View
   
While I applaud your urge to help people, it's a good idea to stick to new questions, rather than 11 year old ones. After that amount of time, it's unlikely that the original poster is at all interested in the problem any more!
Answering old questions can be seen as rep-point hunting, which is a form of site abuse. The more trigger happy amongst us will start the process of banning you from the site if you aren't careful. Stick to new questions and you'll be fine.
OriginalGriff 26-May-22 3:26am View
   
Fine - so create the date in appropriate classes, then use Newtonsoft to serialize the actual instance(s) to a JSON string.

What part of this is giving you difficulties?
OriginalGriff 25-May-22 17:16pm View
   
Then you are learning it the wrong way.
For starters, I wouldn't begin learning with C - it's too old, too many pitfalls: only really used for maintenance (in which case you really need to know the language and how to code before you can do anything useful) or very specialised embedded work (in which case you really , really need to know the language and how to code before you can do anything useful). And if you don't know how to start with a problem like this, then you need to learn a good amount of C and practice the simpler exercises before you get to slightly complicated stuff like this!

Instead, consider learning C# - it looks much the same but it's a lot newer and much easier to work with because it's a lot "stricter". Go on a course (best way), get a book (Wrox, Addison Wesley, and MS Press do good ones), and avoid YouTube "tutorials" like the plague.
MS will give you a copy of Visual Studio which will help you edit, compile, and debug your code for free (search MS for "Visual Studio Community" and you'll find it).
OriginalGriff 25-May-22 11:01am View
   
You're welcome!
OriginalGriff 25-May-22 5:33am View
   
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 25-May-22 0:48am View
   
And?
What does it do that you didn't expect, or not do that you did?
What have you tried to do to find out why?
Are there any error messages, and if so, where and when? What did you do to make them happen?

This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 23-May-22 14:05pm View
   
We don't do code to order.
And to be honest, a student isn't going to be able to afford my rates even if I did do it for you!
OriginalGriff 23-May-22 14:05pm View
   
Answer what? All you have done is post your homework question - and we definitely aren't here to do that for you!
You've had a further three days to work on this, so how far have you got?
OriginalGriff 23-May-22 6:11am View
   
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 22-May-22 12:22pm View
   
You posted your comment there 45 minutes ago, on a Sunday afternoon, to an American.

You are unlikely to get a response until tomorrow at the earliest, and he is the best person (possibly the only person) who knows the project well enough to answer you in any detail.

Have at least a little patience ...
OriginalGriff 22-May-22 12:06pm View
   
Sun Tzu:Keep your friends close; keep your enemies closer
OriginalGriff 22-May-22 10:03am View
   
THey are only defined if you target .NET Core, apparently:

https://stackoverflow.com/questions/54629452/target-framework-symbol-not-defined

Quite how you are supposed to use them in non-Core apps I'm not quite sure ...
OriginalGriff 21-May-22 9:06am View
   
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 21-May-22 4:50am View
   
And?
What have you tried?
Where are you stuck?
What help do you need?

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 20-May-22 16:34pm View
   
You're welcome!
OriginalGriff 20-May-22 12:35pm View
   
You're welcome!
OriginalGriff 20-May-22 11:45am View
   
So ... yout code that works passes no parameters, and your method doesn't want any.
And you are surprised when you get an error because you are passing a parameter to it?

And if Block doesn't implement IEnumerable then it can't be called a collection, and won't work with foreach.

Seriously, you need to know this stuff ...
OriginalGriff 19-May-22 10:58am View
   
So you get to learn a valuable lesson: procrastination isn't worth it. Homework doesn't appear "out of nowhere". It is set, and a delivery date is set with it.

It's a simple task - even a beginner in C should find it pretty easy, particularly if they already have java experience so know how to write code for a specific task.

You have over two hours: set aside twenty minutes and you'll probably finish it yourself. Keep waiting for someone to do it for you ... and you'll fail.
OriginalGriff 19-May-22 9:59am View
   
A time machine so he can go back a week and do his homework? :D
OriginalGriff 18-May-22 12:39pm View
   
Avoid public and / or static variables: if you think you need one, your design is generally wrong! :laugh:
OriginalGriff 18-May-22 12:07pm View
   
This is a very bad solution: it breaks OOP principles, and will really mess up should you ever need more than one instance of any form (and that happens, quite a lot). Go back to what I replied, and follow the link. It shows exactly what to do, and even includes code to do it!
OriginalGriff 18-May-22 4:49am View
   
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 18-May-22 3:18am View
   
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 17-May-22 11:36am View
   
You're welcome!
OriginalGriff 17-May-22 10:27am View
   
We can't even read the task your teacher assigned, so you have better information than we do!
So read the question carefully, and if you still don;t understand, discuss it with classmates or better you teacher.
Anything we explicitly told you to do would be a guess, and very likely wrong.

When you have the question sorted in your mind, follow the link I originally gave you and it'll get you started on producing an answer.
OriginalGriff 17-May-22 0:44am View
   
We can't see most of your code: you need to use the "Improve question" widget (hover your mouse over the question and it'll appear at the bottom) then remove it and repaste it, selecting the "Code block" option from the pop-up list of options. That engages the syntax highlighter, preserves formatting, and converts HTML characters such as < to a "safe" version so that your code doesn't get truncated.
OriginalGriff 16-May-22 6:39am View
   
You're welcome!
OriginalGriff 15-May-22 13:27pm View
   
Google for the name of your IDE and "Debugger" - you'll find the instructions there.
OriginalGriff 15-May-22 7:06am View
   
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!
For example, what the heck is "15 qs"? I have no idea ...

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 15-May-22 6:06am View
   
Have you checked your references?
OriginalGriff 15-May-22 4:01am View
   
I'd remove the email as well, but frankly spammers deserve spambots. :D
OriginalGriff 15-May-22 3:23am View
   
And it's still got the spam URL: it goes to a site "We are recruiting!".

Spam and spammer - this one seems very keen to get it through ...
OriginalGriff 14-May-22 7:17am View
   
To do what? We have no idea what you have tried, where you are stuck, or what help you want from us.
Just repeating "I want my app to do this" doesn't tell us anything useful, and the only code you have shown doesn't do anything much at all! Adding "glitz" to that would be a waste of time and effort, unless there is a body of code you haven't shown us.
OriginalGriff 14-May-22 6:41am View
   
It's still easier to use a loop! :laugh:
OriginalGriff 14-May-22 1:19am View
   
And?
What have you tried?
Where are you stuck?
What help do you need?

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 13-May-22 12:02pm View
   
It's worth learning: when you get used to it, they are just so flexible compared to text-based data storage.

Good luck with the education! :thumbsup:
OriginalGriff 13-May-22 9:56am View
   
While I applaud your urge to help people, it's a good idea to stick to new questions, rather than 9 year old ones. After that amount of time, it's unlikely that the original poster is at all interested in the problem any more!
Answering old questions can be seen as rep-point hunting, which is a form of site abuse - especially when your solution doesn't add anything particularly to the existing answer. The more trigger happy amongst us will start the process of banning you from the site if you aren't careful. Stick to new questions and you'll be fine.
OriginalGriff 12-May-22 7:53am View
   
You're welcome!
OriginalGriff 11-May-22 4:10am View
   
No, you are posting your homework and hoping you don't have to learn anything.
If you have got to this point in your course without knowing even how to start on this, then you've missed pretty much everything in the course so far - which is very unlikely if you did any of the previous exercises.

So we have to assume you just want it done for you ... are we wrong?
OriginalGriff 11-May-22 1:14am View
   
:thumbsup:
OriginalGriff 10-May-22 1:13am View
   
Please indicate which responses to either of your questions were "hate comments" - I've looked and I can't see any ...
OriginalGriff 10-May-22 1:11am View
   
And what does the error say when the comma is fixed? Exactly what - use the debugger to look at the actual exception object and copy'n'paste the error detail.
OriginalGriff 9-May-22 5:24am View
   
As we said with your last question: This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 9-May-22 3:43am View
   
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with - we get no other context for your project.
Imagine this: you go for a drive in the country, but you have a problem with the car. You call the garage, say "it broke" and turn off your phone. How long will you be waiting before the garage arrives with the right bits and tools to fix the car given they don't know what make or model it is, who you are, what happened when it all went wrong, or even where you are?

That's what you've done here. So stop typing as little as possible and try explaining things to people who have no way to access your project!

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 8-May-22 16:56pm View
   
And?
What does it do that you didn't expect, or not do that you did?
What have you tried to do to find out why?
Are there any error messages, and if so, where and when? What did you do to make them happen?

This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
Use the "Improve question" widget to edit your question and provide better information.