Click here to Skip to main content
15,349,569 members

Comments by OriginalGriff (Top 200 by date)

   
You're welcome!
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!

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 2 days ago 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 3 days ago 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 3 days ago 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 4 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 4 days ago 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.
OriginalGriff 7-May-22 17:07pm View
   
You're welcome!
OriginalGriff 7-May-22 5:29am View
   
Well, cake is involved in both ... :O
OriginalGriff 7-May-22 3:35am 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. So we have no idea what part of this is giving you difficulties: we don't know what you have done to read the CSV, where it is stored, or what part of outputting it as separate files is giving you difficulties. In short, we don't know what help you actually need, or what you expect us to do for you!

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 6-May-22 7:59am View
   
And that even the best coders absolutely need to do documentation if the product is to be usable! :D
OriginalGriff 6-May-22 3:37am View
   
You're welcome!
OriginalGriff 6-May-22 1:52am View
   
Downvote countered.
OriginalGriff 5-May-22 16:09pm View
   
:thumbsup:
OriginalGriff 3-May-22 14:47pm View
   
Because your code specifies an absolute path:
so.SoundLocation=(@"C:\Game\Debug\audio\ad.wav");

That tells the system "I know better than you, I know the file is in this exact folder".
Which is silly, because in production it will be installed under the "Program Files" folder (which is a protected folder for antivirus reasons).

So when you duplicate the folder path so it matches the path you specified it works. Maybe - it will depend on permissions applied to that folder path when you created it compared to the permissions set by the installer or user.

A better idea is to store your data in a "safe place" that is user specific. This may help: Where should I store my data?[^] for some better ideas.
OriginalGriff 2-May-22 12:38pm View
   
As I said last time you asked this:
Quote: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!

It's going to depend on how the data is loaded into the control, which GridView control it is (there are several with the same name), and what environment it is running in.

Use the "Improve question" widget to edit your question and provide better information.

A web based app is different from an Android app, and a WinForms app, and a WPF app, and ... You need to be precise and give us accurate information instead of repeating what you said last time with a couple of added words!
OriginalGriff 2-May-22 11: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!

You need to tell us what GridControl you are using, how it's data is loaded into it, and what environment it's running in, as well as what you have tried so far!

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 2-May-22 9:31am View
   
You're welcome!
OriginalGriff 2-May-22 9:31am View
   
If you look at where it says "Solution 1" above, you will see five stars on the right hand side. These are a "voting system" where 1 star means "bad answer" and 5 stars means "excellent answer".
Carlo was just saying "well done!" to me for the answer I gave you, is all.
OriginalGriff 2-May-22 3:01am 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 2-May-22 1:29am 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.

And when you do, posting non-solutions is a fine way to get you kicked as well ...
OriginalGriff 29-Apr-22 8:12am View
   
My word but this one is not a quick learner ... :sigh:
OriginalGriff 29-Apr-22 4:21am View
   
Failed what?
We have no idea what your problem is, or what that code is supposed to do!

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-Apr-22 3:19am 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 28-Apr-22 11:33am View
   
You're welcome!
OriginalGriff 27-Apr-22 10:29am View
   
What did you think the "16.0" part of the Provider meant? :laugh:
OriginalGriff 27-Apr-22 9:58am View
   
No, Access is different: Excel has it's own engine which is installed as a part of Excel, and uninstalled when the app is uninstalled.
If you remove a version from your system, that removes the engine as well: in this case Excel 2007 installs 12.0, Excel 2019 installs 16.0, so your connection string needs to reflect the actually installed version on the specific system the app is running on.

The engine can't be installed as part of your app because it is subject to Microsoft licencing T&C's and won't work without a "full" Excel installation.
OriginalGriff 27-Apr-22 1:54am View
   
Well done!
OriginalGriff 25-Apr-22 2:33am View
   
You're welcome!
OriginalGriff 24-Apr-22 16:30pm View
   
:sigh:
How do you expect us to know how to fix code when we have no idea what it should do, what it actually does do, what you feed it to make it do that, or what you have tried to fix it?

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 24-Apr-22 14:53pm View
   
It's not a DateTime conversion, I don't think- that's a numeric ToString format code list, not date related:
https://www.codeproject.com/Tips/54577/Formatting-a-DateTime-for-display-format-string-de[^]
And since it talks about enum (and an enum is internally an integer-with-knobs-on) I'd still suspect the assignment.
What happened when you moved that to a line on it's own and used the variable in the interpolation?
var x = _options.Value.IsoQueryParameterName = totalRequest.CountryIsoCode;
OriginalGriff 24-Apr-22 14:00pm View
   
I thought about that, but that would leave a bool to convert to a string rather than an enum - unless a bool is internally implemented as a two-value enum, which is possible. And would make some elegant sense now I think about it.
OriginalGriff 23-Apr-22 5:30am View
   
To be honest, if you use a static variable, it's probably a mistake in almost every circumstance ...
OriginalGriff 22-Apr-22 7:57am View
   
You're welcome!
Good luck ...
OriginalGriff 22-Apr-22 7:11am View
   
No - we really have no access to your code, or the systems on which it works. And you need that to even start looking in depth at what might be going on.

Start with your hosting service and see if they can isolate and recent changes which might be affecting it, or some more detailed error message(s) you can think about.

Sorry, but we can't do that for you!
OriginalGriff 22-Apr-22 7:09am View
   
More helpful for whom?
Not for me - I have no need to complete this task, you do.
And surprisingly, not for you either! Yes, you get homework you can hand it, but you have no idea how to write it (and that's not the same thing as "looking at the code" at all) so the next task you are given will be even harder for you: it assumes that you learned something from this task that you haven't if I give you full code.

Give it a try: it's not a complex task so see how far you can get!
OriginalGriff 22-Apr-22 4:48am View
   
Whoa there! Why "Learn"? When Google is out there and knows everything?

You'll be asking them to "Think" next ... :laugh:
OriginalGriff 21-Apr-22 17:30pm View
   
Just because you can do something, doesn't mean you should! :laugh:
OriginalGriff 21-Apr-22 11:15am View
   
You're welcome!
OriginalGriff 21-Apr-22 5:57am View
   
No, they are supposed to generate Likes and Subscribes. They are generally produced by people who have no idea how to make a video, no idea how to teach, and more often than not no idea how to code either.
There are some good ones out there, but they are generally buried behind a huge pile of dross.

Likes and Subscribes generate money and that's what most of the channels are all about.

Books and courses are about learning the subject in a structured way that ensures you don't miss important details. Courses are the best, because a human can try to explain in a different way something you don't grok, but books come a close second. Work, Addison Wesley, and MS Press all do good ones.
OriginalGriff 21-Apr-22 4:51am View
   
C is great for low level hardware interaction (though Assembler is better) but for less hardware oriented stuff it's a PITA these days. Remember, C was invented in 1972 - fifty years ago - and it was designed for the tiny memory and processor systems we had then. Modern memory, CPU, and OS are much, much more powerful, and you need a more advanced framework to interact with them properly. C# is a good choice for that, C isn't!
OriginalGriff 21-Apr-22 4:48am View
   
If you don't understand the syntax, why are you trying to write it?
You need to learn the syntax properly, and any course r book will ensure that you do that in easy stages as you work your way through.

If you are guessing (or worse, using Youtube videos) in order to learn the language, than stop right now and get a course or book - you will miss far, far too much stuff purely because you don't even know it exists!
OriginalGriff 21-Apr-22 2:17am 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 21-Apr-22 2:16am View
   
Don't post this as an answer - nobody gets notified.
Instead, use the "Have a Question or Comment" button below the solution you want to respond to and an email is sent to the author, just as this one went to you.
OriginalGriff 20-Apr-22 12:43pm View
   
Read the error messages: they are pretty explicit.
"ForceModeD" is a Type - so it's a class name, not a variable!

You need to learn how to fix syntax errors, you are going to get them every time you write code (we all do). Getting others to fix them is the slowest way imaginable to get that done!

See here: How to Write Code to Solve a Problem, A Beginner's Guide Part 2: Syntax Errors[^]
OriginalGriff 20-Apr-22 11:10am View
   
And were you planning on sharing the error message with us at some point?
OriginalGriff 20-Apr-22 5:26am View
   
"CRC results do not match."
Do not match what? What are you testing / comparing with what, and how?
OriginalGriff 20-Apr-22 5:10am View
   
Yeah, but it's the only thing I can think of in that code fragment where a non-locked variable is modified in a locked area and used outside it.

As I said, I don't use Coverity, so I can't check.
OriginalGriff 20-Apr-22 2:24am View
   
Certainly!
Just ship your computer and the network it is connected to so I can looks ate the files and work out what the connections string for your specific situation might be ...

Or ... and this is quicker given how long international shipping can take ... look at the file you want and at the example strings and try for yourself?
OriginalGriff 19-Apr-22 12:49pm View
   
Okie-dokie!
OriginalGriff 19-Apr-22 10:56am View
   
Did you actually read what I said, or just skim it and hope it'll work?

Read your code, and read what I suggested you did instead. See the difference?
OriginalGriff 19-Apr-22 8:16am View
   
How do *you* think?

This isn't complicated - just think about what you would do in a real world situation.

It's beginning to look like you are trying to learn this by guesswork, instead of following a structured course or book ... and if so, you won't ever get anywhere useful ...
OriginalGriff 19-Apr-22 7:36am View
   
What problem? Your original post just mentions the ID...
OriginalGriff 19-Apr-22 7:29am 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. 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 19-Apr-22 7:22am View
   
You are kidding, right?
You can't write this code on your own:
bonus = 0
Or this:
bonus = bonus + 1
OriginalGriff 19-Apr-22 6:22am View
   
What part do you not understand?
What part of it can you do, and what can't you do?
OriginalGriff 19-Apr-22 4:37am View
   
Because the file copy function will not let you overwrite the file - so if a copy existed last time, you still try to create it with the same name.

And your method is terrible: it generates files which aren't necessarily in sequence - you could generate 666_x.txt today, and 3_x.txt tomorrow depending on how many files it finds in the zip folder.

I'd put the number after the file name - so related files are easier to see together - and increment it (or better use a time stamp in the order yyyyMMddhhmmss) so that the latest version is at the end of each list.
OriginalGriff 19-Apr-22 4:14am View
   
Store the "bonus score" in a variable when you do the range check instead of printing anything.
Then do the additional two checks, and modify the bonus value as needed.
Finally, print the result by adding the total bonus score to the base score.
OriginalGriff 18-Apr-22 4:43am View
   
ANd what error might that be?
What is the exact path you have given as shown with the debugger? How doesthat compare to the file system?

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?
OriginalGriff 18-Apr-22 2:40am View
   
well, what you you think it might mean?
What *might* be useful when opening a file?
OriginalGriff 16-Apr-22 12:20pm View
   
You're welcome!
OriginalGriff 16-Apr-22 11:20am View
   
Then go on a course, or get a book - Addison Wesley, Work, and MS press all do good ones.
OriginalGriff 16-Apr-22 10:14am View
   
Give a man a fish and you feed him for a day. Teach a man to fish and you won't see the bugger for weeks
OriginalGriff 16-Apr-22 10:11am View
   
Well, you can, and I can - but it's his homework, not mine! :D
OriginalGriff 16-Apr-22 2:14am 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.
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 16-Apr-22 2:04am View
   
It works for me:
var x = "123---abc-d";
var y = x.replace(/(.*?)-+(.+?)-(.*)/, '$1.$2.$3');
alert(y);

I get "123.abc.d"
You do realize that the replace functions doesn't modify the original string, but returns a new, changed string?
OriginalGriff 15-Apr-22 11:24am View
   
THEY HAVE BRAINS? :omg:
OriginalGriff 15-Apr-22 4:31am View
   
I'm just hoping their teacher sees them as well ... :D
Especially as so many of them signed up with their real names ... :laugh:
OriginalGriff 15-Apr-22 3:39am View
   
Yes, I got that from the original post.
But I'm not going to do your homework for you: it's your task, and me doign it would be counterproductive in the long run ...
OriginalGriff 14-Apr-22 11:32am View
   
Nah. The task is very similar, so when they copy'n'pasted the whole question Google came back with a C++ version. They figure "who'll know?" and just try to get it converted so they can hand it in. Sad really.
OriginalGriff 14-Apr-22 9:10am View
   
But ... but ... it's my *homework*
Plzzz do it 4 me m8 ...

:sigh:
OriginalGriff 14-Apr-22 1:50am 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-Apr-22 1:36am View
   
Answer updated
OriginalGriff 12-Apr-22 9:33am View
   
And? What good do you think it would do for us to do it all for you?
What would you learn from that, other than "others will do everything for me like my mom did when I was a child"?
OriginalGriff 12-Apr-22 5:22am 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 12-Apr-22 4:43am View
   
He's just not a quick learner, is he?
OriginalGriff 11-Apr-22 10:08am 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 11-Apr-22 7:04am View
   
He's trying to "roll his own" access to "all databases" in one application, and no matter how often he's told "this is a dumb idea, use the standard framework methods" he just won't listen.

Knows very little it seems, but once he gets a idea he just won't drop it even when it's obvious it's a really dumb idea. :sigh:
OriginalGriff 11-Apr-22 2:27am View
   
This is not a good question - we cannot work out from that little what you are trying to do. We have no idea what suddenly makes the new lines magically appear - we don't know what "rules" you are trying to implement and can;t guess them from a l;imited sample like that.

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 10-Apr-22 4:19am 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 10-Apr-22 1: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 9-Apr-22 4:51am View
   
You're welcome!
OriginalGriff 8-Apr-22 11:05am 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 8-Apr-22 11: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 8-Apr-22 10:55am View
   
Unless you want to completely reinvent the wheel, yes - pretty much.
OriginalGriff 8-Apr-22 2:16am View
   
What have you tried?
Where are you stuck?
What did 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?

Use the "Improve question" widget to edit your question and provide better information.
OriginalGriff 8-Apr-22 2:04am View
   
You're welcome!
Don't forget to set the build back to "Debug" so future mods don't change the Release version until your have finished and tested them!
OriginalGriff 7-Apr-22 8:35am View
   
As I said: throw that lot away and start again, without guesswork this time.
It is not worth your time to fix that code, it's just too poor to make it worthwhile!
OriginalGriff 7-Apr-22 7:42am View
   
Answer updated.
OriginalGriff 6-Apr-22 15:06pm View
   
What problem?
All you've done is dump code on us without any idea of what it is supposed to do, or what problem you are having with it!
OriginalGriff 6-Apr-22 10:00am 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 6-Apr-22 0:52am View
   
You're welcome!
OriginalGriff 5-Apr-22 4:45am View
   
"\" is the VB Integer Divide: 4 \ 2 and 5 \ 2 both give 2; 6 \ 2 and 7 \ 2 both give 3; and so on.
Arithmetic Operators - Visual Basic | Microsoft Docs[^]
OriginalGriff 5-Apr-22 4:00am View
   
For i As Integer = 0 To 14
    DGV.Rows(i).Cells(2).Value = i + 1
    DGV.Rows(i).Cells(3).Value = (i + 2) \ 2
Next
OriginalGriff 5-Apr-22 2:14am 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.
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 4-Apr-22 8:15am View
   
How are we supposed to know things if you don't tell us them? :laugh:
OriginalGriff 4-Apr-22 6:07am View
   
You're welcome!
OriginalGriff 4-Apr-22 6:06am View
   
:D And the only way you will change that is to start trying to write code!
This isn't a complex task, not really - all you have to do is think about it.

What says "this number is even" or "this number is odd"?