4,439 Posted Topics
Re: I agree with Jim, it will become inevitable. The city of Antwerp is already forbidding older diesel cars and trucks to drive into the city. I guess this will turn into a worldwide acceptance. Wonder what the Arabic petrol lobby has to say about that. An electric car would be … | |
Re: Just browsing the code I wondered why there is no case '-' in string ES::doOperation(const string& lhs, char op, const string& rhs){... | |
Re: The radiobutton Checked property can be set to true or false in your program. | |
Re: Do you have other hobbies besides coding? Practise one of those before going to sleep. As you said, you being a nerd the chances you have any other hobbies are perhaps low. Try to get one. The obvious one is reading. Don't start reading an IT related book though! Read … | |
Re: If you mess up Form.Designer.cs you are head on for big trouble. Open this file, read it, learn from it, but don't touch it! | |
Re: What do you mean by "data coms after My added columns"? | |
Re: Don't know what `DAL.searchForComments` stands for, but what about this(have not tested it) var results = A().GroupBy( n => n.ID, n => n.Name, (key, g) => new { ID = key, Name = g.ToList() }); | |
Re: `form2.txbox.Text = form1.dgv.Rows[RowIndex].Cells[ColumnIndex].Value.ToString();` | |
Re: An understanding of [quaternions](https://www.3dgep.com/understanding-quaternions/) always helps when moving your spaceship or whatever else through 3D space. | |
Re: What is that '>>' doing ther on line 3? Should be '>' I guess. As an advise on the side, don't name your textboxes textbox15 whatever number. Give them meaningful names. Please do. | |
Re: Are you trying to run a project build with a higher version number of Visual Studio? Twelve years have passed, I use VS 2017 now. | |
Re: Do you mean string concatenation? | |
Re: Here is a little C# programmer! To pass data between forms really isn't that hard. Example: `form3.Label5.Text = form2.TextBox42.Text;` | |
Re: Show us what you already have. We will help. A homework assignment doesn't count as such. | |
Re: [This tex](http://www.pythonforbeginners.com/files/reading-and-writing-files-in-python)t should be a good start to read. | |
In a XAML file you can add a control like a Button and start to edit its attributes like `<Button Width="200" ..`. When you type in Width you get something like `Width="|"` and is rather nice. After typing 200, you end up with `Width="200|"` Does anyone knows a way to … | |
Re: @rproffitt: Seems that Turbo C/C++ is still very popular in India and perhaps other countries. Ask google: "Where is turbo c still used" and be amazed. | |
Re: You forgot `area =` on line 13. The Circle class you defined is a type, an object. It only comes alive if you call its constructor. You didn't do that in your main(). At least have something like `Circle c;` in main. Now `c` has come 'alive' and is 'constructed'. … | |
Re: Use a select case statement here. As your code is written now it will indeed open all your froms and hide the one you're in. Follow the advice of diafol. | |
I have a table with nutrient data(in Dutch) it looks like this  My DB design skills are very low, I only know Mr. Codd is lurking 'round the corner somwhere. Could anyone give me some hints on how to set up my tables or should I just usr … | |
Re: Standard A4 paper weighs 5g. So 5X32000 (and more) = 160000g = 160kg that's quite a report! | |
| |
Re: Google is your friend here. Ask the same question and you will get many hits. [Example](https://www.codeproject.com/Questions/409490/Save-Data-From-Datagridview-To-Database-in-vb-net). Now if you have already some code with issues, please send it to us and we will have a look. | |
Re: In case the MessagBox is not really what you want, you could always set up a modal dialog of your own: https://www.daniweb.com/programming/software-development/code/364073/how-to-set-up-a-modal-dialog-form | |
Re: The world seems to be full of surprises. In the pouring rain, very strange. | |
Re: One question is IIF not the same as the existing `iif` function? | |
Re: If you really have to use such big numbers, you could use an unsigned int instead. But there's a limit to them as well of course. | |
Re: .NET has a [SpeechSynthesizer](https://msdn.microsoft.com/en-us/library/system.speech.synthesis.speechsynthesizer(v=vs.110).aspx) class. I even used it in one of my snippets I posted on DW. | |
![]() | Re: OK Jim, but where to place for example a thread like [this one](https://www.daniweb.com/programming/threads/508929/how-to-set-datagridview-s-row-number-form-textbox-c)? It is tagged with C#,vb.net and even vb6. |
Re: It is always handy for us if you would tell us what the error message was you got. EDIT: Just guessing: Line 11 you could try `caseNum.ToString();` | |
Re: How does your dgvPrint looks like? | |
Re: Extract values from DGV1 row. Convert them to doubles. Do calculations. Fill in values in DGV2 row. | |
Re: You need to **add** rows. Look [here](http://csharp.net-informations.com/datagridview/csharp-datagridview-add-column.htm) for an example. | |
Re: @Benjamin_18: The OP has a C++ assignment that has little to do with math assignment you have to pay for. We do all things for free, the only thing we ask is that you show some effort first. | |
Re: Google? 6. async just so happens I'm reading[ this book](https://www.amazon.co.uk/Async-C-5-0-Alex-Davies/dp/1449337163/ref=sr_1_1?ie=UTF8&qid=1496858113&sr=8-1&keywords=Async+in+c%23) for the moment. Suggest you do the same. | |
Re: Here is a short tutorial on Timer. Do you want to time every question or just the global test? Tip: If you see frequently duplicated code like RadioButton1.Text = questions(0, 1) RadioButton2.Text = questions(0, 2) RadioButton3.Text = questions(0, 3) turn it into a method. | |
Re: Take a tutorial, book, start from page 1. If you would take a course, start from day one. | |
Re: What is bad? If you would tell us we might help you out. :) | |
Re: > its due tomorrow Procrastination? | |
Re: Suspect you're usig a PIC microcontroller. More explanation would help. | |
Where can I buy a T-shirt with the DaniWeb logo? Or a sticker to pimp up my car? Or is this not feasible? | |
Re: BF was designed to be as small as possible. The interpreter was about 700 bytes or so. In the previous century most computers had sometimes no more than 4K RAM. I once saw a mandelbrot set written in BF. The teacher who wants to use it wants to be progressive … | |
Re: Get well soon Dani. If it can be of any help, I take 15 pills every day, for the rest of my life. |
The End.