4,439 Posted Topics

Member Avatar for Vimal123
Member Avatar for ddanbe

Would I create "more" randomness if if I had the library random function selecting randomly a value from the logistic function,with initial values showing chaotic behaviour, which I then would use as a seed to the random function provided by the library? Phew, whole mouthfull I guess . . . …

Member Avatar for deceptikon
0
116
Member Avatar for Diamonddrake
Member Avatar for payal.h.narayan

How rude! You don't even make the effort to ask a decent question!

Member Avatar for Mike Askew
-4
179
Member Avatar for Violet_82

The year 2012 was a leap year as will be the year 2016. Both years are not divisible by 100 or 400.

Member Avatar for Violet_82
0
283
Member Avatar for 7429EEFC
Member Avatar for somjit{}

Either choose VB2012 or C#2012. Not both, that would be confusing I guess. I would opt for C#, since you have a C and Java background. I'm a C# man, but if you want to go for VB.NET 2012, go for it! Happy programming!

Member Avatar for somjit{}
0
331
Member Avatar for peymankop

What are lines 27-29 doing in your button add method? My guess is that they somehow belong in your translate button event handler

Member Avatar for tinstaafl
0
345
Member Avatar for NidhiSree

Your first example catches ALL exceptions. Your second example just catches one specific exception. You can have multiple catch clauses and you can even write your own exceptions derived from the Exception class.

Member Avatar for Ketsuekiame
0
251
Member Avatar for Zulu123

Perhaps [this recent post](http://www.daniweb.com/software-development/csharp/threads/451669/need-help-with-c-while-loop) can help you out. It discusses a while loop to read a file line by line.

Member Avatar for ddanbe
0
222
Member Avatar for IT_Techno

Beside a ContextMenu, you could make use of the following events: private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { // this will only work if the cell has content in it // use e.ColumnIndex and e.RowIndex determine the cell clicked } private void dataGridView1_MouseClick(object sender, MouseEventArgs e) { // use if …

Member Avatar for IT_Techno
0
398
Member Avatar for ddanbe

I have no problem of putting a break statement in the default option of a **switch case** statement, just wondering why it is needed. Anyone any ideas? int a = 42; switch (a) { case 1 : case 2 : //statements for case 1 and 2 break; // probably more …

Member Avatar for ddanbe
1
366
Member Avatar for Mbokodvo

In the previous century I made a Date and Calender app(try to calculate easter day!) as part of a bigger data manipulation application in the compagny where I worked.

Member Avatar for ddanbe
0
285
Member Avatar for Dani
Member Avatar for pritaeas
0
324
Member Avatar for blacklooksgood

Sounds like a really, really big, mega homework assignment to me.What have you tried for yourself so far?

Member Avatar for <M/>
0
2K
Member Avatar for xHellghostx
Member Avatar for <M/>

I your case you probably don't need to convert a string to an integer. Console.WriteLine or Write take care of converting your int loop variable to a string, if needed.

Member Avatar for <M/>
0
180
Member Avatar for silvercats

@deceptikon: Have this book on my amazon wish list! Is it really worth the buy, even for a non pro like me?

Member Avatar for silvercats
0
264
Member Avatar for LionelMessi

A DataGridView has a default of textboxes, so you don't have to add one from the toolbox.[Click Here](http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridviewtextboxcolumn.aspx)

Member Avatar for ddanbe
0
139
Member Avatar for omojolinho

@tinstaafl If you wander through my code snippets, you could see I have a great interest in charting. Thanks for the link.

Member Avatar for <M/>
0
438
Member Avatar for JannuBl22t

Try this: [CODE=c#]class Program { static void Main(string[] args) { Console.WriteLine("***original array***"); string[] strs = new string[4] { "one", "two", "two", "three" }; for (int i = 0; i < strs.Length; i++) { Console.WriteLine(strs[i]); } Console.WriteLine("***distinct array***"); var Results = strs.Distinct(); foreach (var item in Results) { Console.WriteLine(item); } Console.ReadLine(); …

Member Avatar for saclines
0
1K
Member Avatar for harinath_2007
Member Avatar for hussain_786

Did you know Google is your friend? Try **Genetic algorithm in C# source code** or something like that. Success!

Member Avatar for Ketsuekiame
0
105
Member Avatar for coolnezz

The obvious thing I can think off is there is something wrong in the calculations in your Financial class. The code you send us just fills in a DataGridView.

Member Avatar for coolnezz
0
414
Member Avatar for sk8ergirl

A radiobutton is used in a group to turn one selection on and all the rest off. You better use one checkbox, to turn something on or off.

Member Avatar for ddanbe
0
127
Member Avatar for $Tweety$

A program to print out the squares of the numbers 1 to 9 can be really though if you're just starting to learn to program.(In any language)

Member Avatar for vmanes
0
260
Member Avatar for <M/>
Member Avatar for rsewak

Is this a political issue? Or is Budget 2013 an application to manage your budget?

Member Avatar for stultuske
0
180
Member Avatar for <M/>
Re: Pain

Oh, Michael! You were feeling pain during a football game! Lucky you. Can you imagine the pain of a soldier with his legs bombded off in some kind of silly war? I think I can. I had my sick kidneys replaced by a newone. I can tell you I was …

Member Avatar for GrimJack
0
308
Member Avatar for blaze007

You could start by reading [this](http://msdn.microsoft.com/en-us/library/vstudio/94223t4d(v=vs.100).aspx) on how to read a string from a file. Then read about the string Split member [here](http://msdn.microsoft.com/en-us/library/system.string.aspx)

Member Avatar for ddanbe
0
382
Member Avatar for Aaron_JY

Good question! I should create forms as I need them. Think for instance about a dialog form, informing the user that he has some options he can take, before finishing the application. Would you create such form at the start of the application? I see no need in doing so, …

Member Avatar for JOSheaIV
0
147
Member Avatar for Jboctor8

I was wondering why you created an extra variable **wks** because your Form appears to have an **ActiveSheet** field already. I also prefer to use the Cells object instead of the Range object, because you can easy loop through it if needed. Cells, is in fact also a Range object. …

Member Avatar for JOSheaIV
0
860
Member Avatar for rsewak

I started with 6 cans of beer. Then a bear was entering the room! I grabbed a bottle of wine and drunk it up all at once before te bear could grab me! Yes, I like beer and wine. I even like bears, the "teddy" kind that is.

Member Avatar for TonyG_cyprus
0
740
Member Avatar for untitled69

What comes up in your mind when you think about **something linked with the word puzzle** I'm not a native English speaker, but I guess by the word "the" you meant any kind of word puzzle. That what comes up in your mind is the project you want to make. …

Member Avatar for JOSheaIV
0
192
Member Avatar for Clan Onion

Maybe [this](http://en.wikipedia.org/wiki/MIX) could be a start, but I guess you are better of asking again in the computer science department of daniweb.

Member Avatar for mike_2000_17
0
1K
Member Avatar for jim45682
Member Avatar for silvercats

No. A computer is not **human**, you cannot hurt it. You can smash it with a sledgehammer, it won't give a damn.

Member Avatar for deceptikon
0
156
Member Avatar for <M/>

Life consists mainly of walking down a road and taking choices. You can take the left road, or the right road. Whichever road you choose, you should never regret it, because it is impossible to return!(no programmers pun intended here.) Conclusion: my life is fine as it is, no regrets! …

Member Avatar for <M/>
0
431
Member Avatar for april.kroll.9

For your Invalue property on line 20(C# 3.0), you could also opt for [automatic properties](http://csharp.net-tutorials.com/csharp-3.0/automatic-properties/)

Member Avatar for ddanbe
0
209
Member Avatar for Counterpartz

Related thread: http://www.daniweb.com/software-development/csharp/threads/448777/sorting-arrays-without-array.sort#post1939882

Member Avatar for tinstaafl
0
242
Member Avatar for chordian12

Analogy: Supose I have a car that starts, but I tell you it won’t bring me from point A to point B. Would you know what was wrong? Could you solve my problem? Supose I would send you a picture of my not working car and you would immediately notice …

Member Avatar for ddanbe
0
110
Member Avatar for Papa_Don
Member Avatar for shaun.b
Member Avatar for tsdeveloper
Member Avatar for terrier_unknown
0
132
Member Avatar for pwolf

What about [this?](http://www.daniweb.com/software-development/csharp/threads/437362/getting-started-with-c-the-list)

Member Avatar for ddanbe
0
346
Member Avatar for hitman007
Member Avatar for HunainHafeez

You find yourself a computer language you feel comfortable with, you devise an algorithm to solve your problem, You have problems during your development stage and then you come back here, posting a question. We are all here to help you out then!

Member Avatar for ddanbe
0
189
Member Avatar for EliteNMC

What do you mean by "seems to not work..."? Explain EXACTLY what you mean by Aob(Is it a string? a char array? a sequence of zeros and ones?) We also have absolutely no idea what a **AxShockwaveFlash1.SetVariable** is? Could you elaborate on that please?

Member Avatar for tinstaafl
0
197
Member Avatar for harshi414

I infer you are using some sort of microcontroller to drive the robot. Sugest to refer to the specific documentation for the microcontroller brand you are using.

Member Avatar for Ancient Dragon
0
272
Member Avatar for fsefsef23
Member Avatar for ddanbe
0
325

The End.