4,439 Posted Topics

Member Avatar for game06

In the book "Desingning Embedded Systems with PIC(R) Microcontrollers" there is a complete discription of a robot called Derbot AGV. A google <ould help you further. Success!

Member Avatar for hiyoes
0
209
Member Avatar for kiail

To sort descending you could first use Array.Sort and then Array.Reverse method [Click Here](http://msdn.microsoft.com/en-us/library/d3877932.aspx)

Member Avatar for kiail
0
248
Member Avatar for BeyvKoYy
Member Avatar for hackoman96

A library is a collection of "blackbox" functions with some "common" functionality. Consider the Math library [Click Here](http://www.cplusplus.com/reference/cmath/) You just include this lib in your code and you are now ready to use any of its functions in your code. An alternative is to write any of the math functions …

Member Avatar for ddanbe
0
115
Member Avatar for GeekPlease
Member Avatar for GeekPlease
0
288
Member Avatar for piczim

Instead of **%f** use something like **%3.2f** This means you can print 3 digits and two digits after the decimal point.

Member Avatar for ddanbe
0
170
Member Avatar for Learner010

What about: If e.KeyChar = "A" then 'here i don't know how to call button1_click procedure 'do not call button click TextBox1.Text = "65"; e.Handled = true; End If

Member Avatar for Luc001
0
370
Member Avatar for vishalonne

Raise the number **-1** to a power, say **n** what will the outcome be when **n** is even? What if **n** is uneven? This tip should help.

Member Avatar for Ancient Dragon
0
179
Member Avatar for mah300274

[Here](http://www.instructables.com/id/Build-Your-Own-555-Timer/) are the instructions of building a fairly simple (but famous!) 555 timer IC. It was e.g. used in the first Apple computers. It has some 20 transistors in it. I would not even think about buildding it up from transistors, just give me the chip.

Member Avatar for mike_2000_17
0
176
Member Avatar for Eternal Newbie

Did you try the [TopLevel property](http://msdn.microsoft.com/en-us/library/system.windows.forms.form.toplevel.aspx)?

Member Avatar for Eternal Newbie
0
14K
Member Avatar for GeekPlease

You could use the CurrentCellAdress property. [Click Here](http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.currentcelladdress.aspx)

Member Avatar for Eternal Newbie
0
217
Member Avatar for khiemkim.xuan
Member Avatar for ogsirus

I still should reconsider the tip of tinstaafl. TreeView is not so hard to learn as you think [Click Here](http://www.youtube.com/watch?v=aGEdb-4mH5E)

Member Avatar for ogsirus
0
211
Member Avatar for Learner010

Yes you can create controls at runtime using an array. To display a control dialog [Click Here](http://msdn.microsoft.com/en-us/library/system.windows.forms.colordialog.anycolor.aspx?cs-save-lang=1&cs-lang=vb#code-snippet-2) to start.

Member Avatar for Learner010
0
415
Member Avatar for 2concussions

I guess the orbit of your planet starts with a parabola, to become an ellipse, just calculate the tangent line on the point where your planet actually is. Or if you know the tangent, calculate a parabola between the actual point and the point where the planet will come in …

Member Avatar for 2concussions
0
249
Member Avatar for adil.ghori

Hi adil.ghori welcome at DaniWeb! Can you work with Visual C++ and did you already wrote a "Hello world" program in it?

Member Avatar for lindajane
0
250
Member Avatar for kevinyu

Consider a carthesian coordinate system. By the way, invented by René Descartes in the 17th century, when in his bed and watching a fly walking on his ceiling! Consider you are on the x-axis at coordinate x=0 and on the y-axis at coordinate y=0. It is called the origin.(x,y)=(0,0). To …

Member Avatar for ddanbe
0
130
Member Avatar for johang_80

_horizontalIter is defined as zero and I see no change in it? so e.g. on line 42 the multiplication stays zero. I that the intention? What is crudObj?

Member Avatar for ddanbe
0
435
Member Avatar for Labdabeta
Re: EOFs

Let the operating system be busy to find out what an EOF is. Just concentrate on your file format. The reason I could think of why some file formats start with size info is to calculate in some way how many "records" are in the file. But the OS file …

Member Avatar for Labdabeta
0
182
Member Avatar for visweswaran28
Member Avatar for james6754
0
110
Member Avatar for cudawella
Member Avatar for Sunil_6
Member Avatar for Ancient Dragon
0
75
Member Avatar for savedlema

I hope these are just example ingredients for a salad. Water in a salad? :-) Another note: The offial symbol for milliliters is not **mil** but **ml** The offial symbol for grams is not **gm** but **g**

Member Avatar for tinstaafl
0
617
Member Avatar for Learner010

I don't think that is possible, you can only change their properties. They are not functional during design.

Member Avatar for ddanbe
0
289
Member Avatar for subash sonar

To help you on the way: If a number is not even it is odd. If a number is not prime it is composite.

Member Avatar for Lucaci Andrew
0
180
Member Avatar for GeekPlease

Perhaps have a look [here](http://vb.net-informations.com/excel-2007/vb.net_excel_2007_open_file.htm)

Member Avatar for GeekPlease
0
660
Member Avatar for Mak!zZz
Member Avatar for Ancient Dragon
Re: F#

I have this book *Programming F# (Animal Guide) by Chris Smith (20 Oct 2009)* and found F# functional programming very interesting indeed! Being retired, I have so many things to do (strange enough) that I did not find the time yet to dig in completely. VS 2010 has all the …

Member Avatar for sepp2k
0
120
Member Avatar for Aadhya169

Try to read a beginners book on C. Or read "The C programming language" by Kernigan and Ritchie.

Member Avatar for whitech
-1
298
Member Avatar for mesbahuk

> C# does not provide this feature by default. I think C# does not have it [Click Here](C# does not provide this feature by default.) for a possible solution. The links provided by tinstaafl should also be helpfull. Success!

Member Avatar for Ketsuekiame
0
306
Member Avatar for ZER09

Because a Using block automatically disposes of any resources used in it. So if you stil want to use your form, don't put it in a using block. See MSDN for more details.

Member Avatar for ddanbe
0
96
Member Avatar for AmrMohammed
Member Avatar for ddanbe
0
65
Member Avatar for spowel4
Member Avatar for ddanbe
0
90
Member Avatar for ddanbe

Many situations arise when you have to choose between two options: true/false, male/female etc. This short snippet will only allow two chars to pass through: capital 'Y' or capital 'N'. The Read and ReadLine methods can serve also, but have the side effect you have to use Upper and Lower …

0
250
Member Avatar for alaba81

alaba81, welcome! OK. What have you designed already? Our assignment is not giving solutions, but providing answers to problems you encounter.

Member Avatar for Lucaci Andrew
0
126
Member Avatar for me.sapna

I'm certainly not the most sagacious or intelligent guy, but this beats it all. This "problem" question surely must win a price over here! I will abstain from further comments, I might get banned...

Member Avatar for ddanbe
0
437
Member Avatar for markyjj

You could use `CellCount = Dgv1.RowCount * Dgv1.ColumnCount;` to get the result yoy want.

Member Avatar for markyjj
0
205
Member Avatar for Hanshinie
Member Avatar for mr.unknown

@mr.unknown: your code will never produce the output you gave. Remove the **endl** on line 13 an place it elsewhere.

Member Avatar for rubberman
0
415
Member Avatar for Papa_Don

Use the [TryParse method](http://msdn.microsoft.com/en-us/library/f02979c7.aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-2) when converting text to an integer.

Member Avatar for Papa_Don
0
3K
Member Avatar for vishalonne

Overload the step2 constructor and use **public step2(List<string> mylist):this()** The special this syntax will invoke your normal constructor. In the body of this second constructor you can do with **mylist** what you want.

Member Avatar for itzcuinzin
0
460
Member Avatar for peymankop
Member Avatar for piyusoni.soni
Re: hi

Hi, welcome at DaniWeb! Could you please state WHICH problem? I have a problem with my car . . . now try to solve it, I guess you would find it impossible. I have the same with your question. :)

Member Avatar for ddanbe
0
116
Member Avatar for bamysim
Member Avatar for mesbahuk

Welcome mesbahuk! I should change StringBuffer into [StringBuilder](http://msdn.microsoft.com/en-us/library/system.text.stringbuilder.aspx) AS you can derive your own exceptions from the Exception class, look [here](http://msdn.microsoft.com/en-us/library/ms173160(v=vs.100).aspx) for a start in C#. Success!

Member Avatar for mesbahuk
0
275
Member Avatar for SpottyBlue

To test for equality use the **==** operator **=** is the assignment operator.

Member Avatar for sepp2k
0
264
Member Avatar for cosmosthompson

Start with downloading [this](http://www.microsoft.com/visualstudio/eng/downloads#d-2010-express) Then start to read [here](http://www.c-sharpcorner.com/Beginners/) Success!

Member Avatar for deceptikon
0
97
Member Avatar for EDWARDO 92

Hi EDWARDO 92, welcome to DaniWeb! Compilers take care of converting your program code into binary, so a computer can work. To learn a bit more [Click Here](http://l3d.cs.colorado.edu/courses/CSCI1200-96/binary.html)

Member Avatar for ddanbe
0
36
Member Avatar for CloudZELL91

Do you think, that when later having some job in IT business it will always be *easy*?

Member Avatar for rubberman
-1
159
Member Avatar for Eternal Newbie

The End.