4,439 Posted Topics
![]() | Re: Wish you all the best Jim. The last 3 weeks I spend more time in a hospital than at home. Still at least two weeks to go ... OK call me a MIA too for the moment. |
Re: What are the coding issues you have. Tell us that and we will try to solve them. | |
Sometimes you only want to enter numeric data in a textbox. You have two options here : Let a user type whatever he/she wants into a textbox, validate the input and show him or her an annoying message that he/she has done something wrong.:angry: Or: capture the key before input, … | |
Re: Your best option here would be to look in the EnCog documentation to see what can cause this error. Maybe you did not provide the exact format, I see only one `data.DefineSingleOutputOthersInput(columnSSN);` is this not needed for your other column? | |
Re: Read a book about it. "AVR An Introductory Course" by John Morton is very good. | |
Re: Line 111. Is that the start of a function or what? | |
Re: Could you show us the code of your calulation please? | |
Re: Still don't know exactly your intentions. Seems you try to mix the concept of a row and a column. So I'm doing a wild guess. I consider that in your example your list type has 4 rows and 2 columns. As a List supports indexing just do this: static void … | |
Re: My additions: *Go follow a nitting course instead of IT. You better start up a candyshop!* Ha, that's a relieve, ventilating what you sometimes think without offending the rules of Daniweb. :) | |
Re: We are finding this difficult also. We have rules, read them. | |
Re: It is obvious you are referencing a null pointer somewhere. If you don't have a dev environment at hand, you could try to make a special version of the program with MessageBoxes, to try to pinpoint the problem. | |
Re: YOU need to write it, not we. Show us your code and the problems you have with it and we will kindly help. :) | |
Re: There exists a Rows.Add method. You could do it like this: **DataGridView1.Rows.Add(arT);**(arT, your string array from line 17) Look [here](http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.rows.aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1) for another example. | |
Re: As long as you don't implement the change, nothing will happen. | |
Re: You can't define a function in a function in C++. (=nested function) Bring it outside of the Main function and call it in Main if you wish. | |
Re: Hi Zed_1 welcome. :) A cvs file is the same as a text file. But in the future, it is better to pose your question in a new thread, perhaps referring to this already solved and answered thread. | |
Re: Have two extra variables. Call them `min` and `max`. Give `min` initially an impossible "high" value, say 999. Give `max` initially an impossibl "low" value, say -1. Now after every input of a score, compare that score to `min` and `max`. Use lower than for `min` and higher than for … | |
Re: Don't know how you did your installation. But you will find the .exe file in the Release folder inside the bin folder of your project. | |
Re: Of course you can multiply an array with a number. You do it yourself in your loop on line 24. What is the text of your error message? How does your UI look like? Three textboxes? Put line 28 outside your for loop. | |
Re: Look for algorithms that draw coordinates of a sphere. Although your picture suggests some correction on that. | |
Re: I believe it was used in Turbo C and Turbo Pascal in the previous century. It adresses the terminal's screen positions. | |
Re: It should be forbidden that a compiler had an option to turn warnings off. Some warning might be ignored after careful consideration. | |
Re: Did you publish in release mode? | |
Re: Could you at least mention the application you're talking about? | |
Re: @rproffitt: amazing as it may seem, some teachers still work with Turbo C. I guess some countries don't (or can't) provide enough money for their education system. Hence Turbo C is better than nothing. Or: the teacher is still stuck in the previous century and doesn't "evolve". Which is bad … | |
Re: You cannot rely on the designer in this case! If you put a checkbox from the toolbox on the designer, care is taken that all the dreadful chores are updated in the designer.cs file. Now you are on your own and have to do that yourself. For instance did you … | |
Re: Some time ago I modified a checkbox. Here is the [code snippet](https://www.daniweb.com/programming/software-development/code/217338/custom-checkbox). I derived a class from checkbox, perhaps you should try the same? Let me know if it helps. :) | |
Re: I would "walk" through the line read from the file and use the [IsDigit](http://www.cplusplus.com/reference/cctype/isdigit/) function to collect numbers and store them in a vector. | |
Re: If you are trying to make an app, I assume that you made a schema of how your app would look and that you at least have some code to show us or are you just one of those homework solver snatchers? Sorry, won't work over here, me and I … | |
Re: Have a look at the selectedvaluechanged event. | |
Re: Looks like great stuff. Surely will try this out soon :) | |
Re: Have a look at the [SubString method](https://msdn.microsoft.com/en-us/library/aka44szs(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-2) | |
Re: Could it be you are given ParseExact the format "dd/MM/yyyy", while your customformat is "dd-MM-yyyy" ? | |
Re: No good feedback often happens as users are looking for (in this case) a C++ book. If the book covers advanced topics and is talking about loop structures in about 2 pages instead of 50 or so beginning or intermediate users get dissapointed and give negative advice. I should look … | |
Re: Don't expect us to flea out ALL "your" code. Be specific on this line is this error message, on that line I have that problem. Don't tell us you have errors or it does not work. We know it doesn't, just be specific with your question if you hope to … | |
Re: Think [this video](http://xoax.net/cpp/crs/visualcpp/lessons/CreateExe/) might help you out. | |
Re: AFAIKS your class `Numbers` does not contain properties, just fields. Did you already considered a `Dictionary`? | |
Re: In which programming language? [This one?](https://en.wikipedia.org/wiki/Brainfuck) | |
Re: Your needs are not our needs. Show us what you have already in a NEW thread and maybe we'll help. Try to read the rules of this site. | |
Re: I know there's a `Paralel.For` in C# and probably some same kind of construct in other languages. Perhaps worth [to give it a look.](http://blogs.msdn.com/b/csharpfaq/archive/2010/06/01/parallel-programming-in-net-framework-4-getting-started.aspx). | |
Re: MSDN knows the answer. [Read this](https://msdn.microsoft.com/en-us/library/339stzf7.aspx). | |
Re: I am having a hard time comparing my if else statements and getting it right. Could probably be, but you don't tell us what is wrong. Does it compile? Do you get errors? If so what error messages and codes are you getting? A quick observation of your code: line … | |
Re: You can only set the transparancy of the main window(your form) Could you not show or hide your picturebox and oldest panel when needed? | |
![]() | Re: My Pascal skills are also a bit rusty, but I used a superset of Pascal(Modula-2) during 5 years while working so this can help here. Your teacher had a good idea teaching you Pascal, but we have evolved into the 21th century. He/she should have noticed that. So here we … ![]() |
I wish everyone around here a happy and healty new year! And a life full of joy , love and a lot of programming. |
The End.