15,891,567 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 13566383 (Top 31 by date)
Member 13566383
21-Aug-23 10:20am
View
Here is a link to the screenshot:
https://www.file-upload.net/download-15180065/Screenshot2023-08-21112041.png.html
Member 13566383
21-Aug-23 5:32am
View
I have got a screenshot of a typical path but I don't know how to upload it.
Member 13566383
20-Aug-23 4:17am
View
Math is no problem.
At least for now, I have no intention of visualizing or simulating a machine tool like a sophisticated CAD system. Currently, I am only interested in the path of the tool in 2D applications.
But who knows. The appetite comes with the meal.
I think single pixel drawing without antialiasing is not a suitable solution.
Member 13566383
20-Aug-23 4:05am
View
Yes I already have seen that WPF may have a solution for my problem. Looks like a completely new world to me, where learning how to draw a line or circle in slow motion will be the smallest problem to be mastered.
Member 13566383
16-Aug-22 1:57am
View
Do you know what the word syntax means?
Perhaps you should read https://en.wikipedia.org/wiki/Syntax_(programming_languages).
If you have read and understood this article, you will see that your question doesn't make much sense.
Member 13566383
9-Aug-22 15:52pm
View
That's a helpful hint. I hope I will remember it in similar situations in the future.
Member 13566383
9-Aug-22 15:39pm
View
That's the solution I implemented as calling the function didn't work.
My NetFrameWork version is 4.6.1 so your suspicion is correct.
I not even thought about the possibility that such trivial function is a feature available in newer versions only.
Member 13566383
29-Apr-22 12:57pm
View
"Good evening everyone" is not really a good headline for a question.
Member 13566383
27-Apr-22 4:26am
View
That's exactly what I was looking for. Did solve my problem.
Member 13566383
27-Apr-22 4:26am
View
Sorry OriginalGriff, that was not the answer I was looking for. As I already mentioned in my question I know the "Find All References" command and use it.
But often the feature I wanted to enable (and which is called CodeLens as I know now thanks to Phil J Pearsons's answer) is sufficient and more convenient.
Member 13566383
9-Mar-22 1:56am
View
Why do you need more code?
The three lines of code Gerry Schmitz provided is all you need.
Member 13566383
26-Jan-22 2:36am
View
What have you tried already (I don't want to check any images for this kind of questions)?
Member 13566383
20-Oct-21 1:31am
View
How do you know what the questioner intended to do? I hate this "is not working"-questions, lacking any further information.
Member 13566383
18-Jun-21 1:36am
View
Your problem has an infinite number of solution. So there is no programme which can find them all in finite time. Choose any number for X (excluding zero) and you get y by dividing n by X.
But I strongly suspect that you didn't precisely state the task you are expected to perform.
Member 13566383
2-May-21 1:44am
View
You wrote:
I have come across a reverse coded procedure call in C++.
But you have no example at hand? How's that?
Member 13566383
1-Apr-21 14:39pm
View
I just encountered the same problem. Did anybody find a better solution in the meantime?
Member 13566383
4-Feb-21 16:13pm
View
The symbol for grams is g and not G. G stands for Gauss, an old unit for magnetic flux density no longer in use. And the symbol for kilo is k and not K. K stands for Kelvin.
So KG for me reads as Kelvin-Gauss.
Member 13566383
23-Oct-20 3:03am
View
Have you tried to use Process.MainWindowHandle Property?
If the associated process does not have a main window, the MainWindowHandle value is zero.
Member 13566383
10-Jun-20 7:08am
View
There are several loops in the code you have posted.
Only one of the loops contains a break statement. When this statement is executed your outer loop (foreach....) will not terminate. It only terminates the loop directly enclosing this statement. So I think that's what you want your code to do.
You may rewrite your inner loop by using a while-statement if you don't want to terminate your loop with break;
I don't think that converting your code into recursively called method is good alternative.
By the way: The last visible statement in your code fragment ("continue;") may be unnecessary. But we can know about that only if we can see where the outer loop will be closed.
Member 13566383
21-Mar-20 19:26pm
View
OK, I thought you recommended to remove my second code line in the class Polynomial and not the first.
Now the behaviour is as expected (and I even begin to understand why).
Member 13566383
21-Mar-20 19:12pm
View
My array is private and therefore hidden from the outside. Removing the setter in index-accessor property or removing the indexer completely doesn't solve the problem.
If I do that I can still use the (not existing??) set method p.Coeff[2] = 17;
Just try it.
Member 13566383
23-Feb-20 15:53pm
View
Do it step by step.
First step: Read the documentation ( https://docs.microsoft.com/en-us/dotnet/api/system.int32.tryparse?view=netframework-4.8 )
Second step: Copy the example given in the documentation I cited and try to understand what's going on. Use the debugger to step through the code.
Third step: Apply your new acquired knowledge to your programme.
Member 13566383
23-Jan-20 4:54am
View
Show us the content of your TextBox contents, the values of your variables c and d and the result contained in TextBox3.Text.
"The result is wrong" is not a meaningful error description.
Member 13566383
20-Nov-19 2:09am
View
I had never any problems reading Base64 characters. A Base64 stream consists of valid ASCII characters only. No problem with NUL bytes, see the MDSN documentation for the Convert.ToBase64String Method:
".....The following example demonstrates the ToBase64String method. The input is divided into groups of three bytes (24 bits) each. Consequently, each group consists of four 6-bit numbers where each number ranges from decimal 0 to 63. In this example, there are 85 3-byte groups with one byte remaining. The first group consists of the hexadecimal values 00, 01, and 02, which yield four 6-bit values equal to decimal 0, 0, 4, and 2. Those four values correspond to the base-64 digits "A", "A", "E", and "C" at the beginning of the output."
Member 13566383
18-Nov-19 16:27pm
View
If your encrypting / decrypting software cannot handle binary files but only text files you should convert the binary filestream into Base64 strings or character arrays (each 3 Bytes will be represented by 4 characters).
The methods to use are Convert.ToBase64String / Convert.ToBase64CharArray.
Decrypting your encrypted file will produce Base64 strings / characters which you can convert to binary format by using the corresponding methods Convert.FromBase64...
Member 13566383
1-Oct-19 15:27pm
View
It's already running. Did require little more than copy and paste.
Thank you very much again.
Member 13566383
1-Oct-19 4:11am
View
Thank you for your advice. To make sure that only one instance is running was an easy task.
But I'm afraid my first real encounter with sockets will turn out a little bit more challenging. But I will try.
Member 13566383
9-Sep-19 15:37pm
View
a and b are bad names for variables. Rename them for example into "age" and "ticketCount".
Member 13566383
20-Aug-19 10:31am
View
Did you really try to define OnTriggerExit within OnTriggerStay? Makes no sense.
Member 13566383
25-Apr-19 12:58pm
View
Where is the closing bracket for your for-loop?
I don't see any two-dimensional array in your code.
What is the value of index?
Have you tried to step through your code with the debugger?
Do you somewhere within your for-loop modifiy i or index?
What do you mean with "infinity"? Do get an infinity exception when dividing (certainly by zero) or do you mean that your loop doesn't come to a stop?
Member 13566383
3-Apr-19 15:50pm
View
I copied the file (manually) with windows explorer (copy and paste), i.e. there was no software of my own involved.
Only after copying the file I started my own software in order to check for differences of properties in both files.
Show More