4,439 Posted Topics

Member Avatar for John_176
Member Avatar for rproffitt

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 …

Member Avatar for JamesCherrill
1
558
Member Avatar for Alex Edwards

Just browsing the code I wondered why there is no case '-' in string ES::doOperation(const string& lhs, char op, const string& rhs){...

Member Avatar for hassan_24
1
8K
Member Avatar for Stella_3
Member Avatar for Dani

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 …

Member Avatar for jwenting
1
964
Member Avatar for dongtrien

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!

Member Avatar for dongtrien
0
193
Member Avatar for zebnoon1
Member Avatar for KushMishra

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() });

Member Avatar for KushMishra
0
4K
Member Avatar for SHWEYI_1

`form2.txbox.Text = form1.dgv.Rows[RowIndex].Cells[ColumnIndex].Value.ToString();`

Member Avatar for ddanbe
0
48
Member Avatar for Faith_4

An understanding of [quaternions](https://www.3dgep.com/understanding-quaternions/) always helps when moving your spaceship or whatever else through 3D space.

Member Avatar for Xetwnk
0
536
Member Avatar for zebnoon1

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.

Member Avatar for zebnoon1
0
215
Member Avatar for dongtrien

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.

Member Avatar for dongtrien
0
724
Member Avatar for pri.chakraborty
Member Avatar for Reginald Xavier

Here is a little C# programmer! To pass data between forms really isn't that hard. Example: `form3.Label5.Text = form2.TextBox42.Text;`

Member Avatar for tinstaafl
0
292
Member Avatar for Mike_43
Member Avatar for rproffitt
-2
496
Member Avatar for Abdullah_17

[This tex](http://www.pythonforbeginners.com/files/reading-and-writing-files-in-python)t should be a good start to read.

Member Avatar for Sue_2
-1
358
Member Avatar for ddanbe

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 …

Member Avatar for ddanbe
0
562
Member Avatar for itian.kongu

@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.

Member Avatar for ddanbe
0
275
Member Avatar for Name_1

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'. …

Member Avatar for David W
0
1K
Member Avatar for Reginald Xavier

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.

Member Avatar for ddanbe
0
482
Member Avatar for ddanbe

I have a table with nutrient data(in Dutch) it looks like this ![Nutrient_table.png](/attachments/small/1/ea03b9085fe045894414a3101f2d6b4b.png "align-left") 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 …

Member Avatar for ddanbe
0
374
Member Avatar for Programmer_2

Standard A4 paper weighs 5g. So 5X32000 (and more) = 160000g = 160kg that's quite a report!

Member Avatar for ddanbe
0
148
Member Avatar for Obbie_1
Member Avatar for Plinth
Member Avatar for Khabibb

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.

Member Avatar for ddanbe
-1
225
Member Avatar for My_4

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

Member Avatar for ddanbe
0
241
Member Avatar for lupacexi

The world seems to be full of surprises. In the pouring rain, very strange.

Member Avatar for ddanbe
-1
4K
Member Avatar for Reverend Jim
Member Avatar for MO13

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.

Member Avatar for ddanbe
0
135
Member Avatar for Kerri_1
Re: c

Show us the code at the point you got stuck. Then we can help.

Member Avatar for ddanbe
0
263
Member Avatar for davy_yg

.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.

Member Avatar for ddanbe
0
908
Member Avatar for diafol

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.

Member Avatar for Reverend Jim
5
3K
Member Avatar for Khaliunaa

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();`

Member Avatar for Khaliunaa
0
4K
Member Avatar for kaksbrian
Member Avatar for Khaliunaa
Member Avatar for ddanbe
0
388
Member Avatar for Khaliunaa

You need to **add** rows. Look [here](http://csharp.net-informations.com/datagridview/csharp-datagridview-add-column.htm) for an example.

Member Avatar for ddanbe
0
747
Member Avatar for dyan_1
Member Avatar for honelign

@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.

Member Avatar for ddanbe
-1
121
Member Avatar for KushMishra

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.

Member Avatar for KushMishra
0
380
Member Avatar for Vincent_6
Member Avatar for Offei

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.

Member Avatar for ddanbe
0
999
Member Avatar for Miguel_7
Member Avatar for Nantha_1
Member Avatar for Yohanes_1
Re: c++

Take a tutorial, book, start from page 1. If you would take a course, start from day one.

Member Avatar for rubberman
0
142
Member Avatar for Eric_19
Member Avatar for Paul_54
Member Avatar for This_1
Member Avatar for ddanbe

Where can I buy a T-shirt with the DaniWeb logo? Or a sticker to pimp up my car? Or is this not feasible?

Member Avatar for Dani
0
299
Member Avatar for AssertNull

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 …

Member Avatar for stephenlangton
0
467
Member Avatar for Dani

Get well soon Dani. If it can be of any help, I take 15 pills every day, for the rest of my life.

Member Avatar for Dani
0
350

The End.