4,439 Posted Topics
Re: Still sitting in class doing an exam? By the time you read this(if ever) it will be too late... | |
Re: Why do you think the b file contains integers? It's a text file just like your a file. So just read both files and concatenate every line. | |
Re: SelectionStart and SelectionEnd of the monthcalendar are datetime structures. So the following should work: `TimeSpan t1 = monthCalendar1.SelectionEnd.Subtract(monthCalendar1.SelectionStart);` Success! | |
Re: Think [MSDN](http://msdn.microsoft.com/en-us/library/system.windows.forms.control.keydown(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-2) might help you here. Just change the code of the example a bit and it should work for you. Success. | |
Re: It is not always clear if hep is inside or outside an if-statement. Do you have a debugger? | |
Re: Another possibility is [this webpage](http://www.csharp-examples.net/string-format-datetime/) | |
To refresh my mind I did some exercises about complex numbers. I was constantly drawing axes and arrows. So I decided to print out some worksheets with a program to make my life a bit easier, and because it is always fun to design a little program to do that … | |
Re: Google is your friend, [example](http://msdn.microsoft.com/en-us/library/system.windows.forms.toolstripmenuitem(v=vs.110).aspx) | |
Re: What souce control is, I don't know, but [here](http://www.thefreedictionary.com/fault) is an explanation of fault. | |
Re: You could try to increase the buffer size(default is 4KB I think) use for instance [this constructor](http://msdn.microsoft.com/en-us/library/0wf7ab94(v=vs.110).aspx) | |
Re: Could you specify the line wher the error occurs? My first guess is that there's something wrong with your brackets. | |
| |
Re: Sitting at home, a book maybe, a drink and for the rest just doing nothing and staring at the clouds in the sky. | |
Re: Have a look [here](http://www.csharp-examples.net/string-format-datetime/). | |
Re: Welcome at DaniWeb! You could start [here](https://www.daniweb.com/software-development/csharp/threads/437362/getting-started-with-c-the-list) and [here](https://www.daniweb.com/software-development/csharp/threads/448647/new-programmers-what-resources-are-available-to-you) | |
Re: > the OP should be able to select one or more helpful answers. Often enough the combination of two replies solves it, not just a single reply. And there's also the fact that sometimes, I(and others) got a raise of their solved questions, but the contribution did little or nothing … | |
Re: Do you know how to convert degrees to radians? Do you know what a for-loop is? Do you know the temperature limits between which to convert? Do you know the rules of Daniweb? | |
Re: If by place, you mean a vacation destination, then it was Benidorm in Spain. If not, I must totally agree with <M/> ! | |
![]() | Re: I agree with tinstaafl that you should give meaningful names to all your controls. If you are using Visual Studio (as I do) a new label is auto named as `label1, label2` etc. Change that to something meaningfull like `userNamePrompt`. But in contrast to tinstaafl I would still leave the … ![]() |
| |
Re: What is the code you already have in your click handler? | |
Re: The last two months or so, no posts from AD. Thought maybe he was on a long journey... Well he took the longest journey you can take. Feel very sad. R.I.P. Mel. :( | |
Re: In fact, you just have to loop to the square root of Value. | |
Re: Hi Don, I would remove lines 21,22 and 23. Change line 10 to `tbxProp1.Text = txtProps` Do the same on line 13 and 16. Well... watch out for the "index" of course. Perhaps an `if else if` construct would be better here, but not sure about that. | |
Re: A comparative study of the productivity of programmers eating pizza and drinking soft drinks versus those that don't. | |
![]() | Re: You probably got an index out of range error, better tell that in the future, instead of code doesn't print... Try `for (int j = 0; j < 9; j++)` on line 18 and also try to format your code a bit better. |
Re: It is a [parametric equation](http://en.wikipedia.org/wiki/Parametric_equation) | |
Re: If my memory serves me well, `add dword [userscore],6` will add 6 to the memory location pointed to by userscore. So I guess no conversion is needed. | |
Re: For the same reason, [my code snippet](https://www.daniweb.com/software-development/csharp/code/455852/fibonacci-in-c) also goes to 93. | |
Re: CIS fan? That's also a musical term, which in English is referred to as C sharp or C# ? Welcome btw! :) | |
Re: To solve your question, my fee is 1000$ to start with, depepending on the difficuties I may encounter along the way this may be more. If you show us what you have done so far to solve this yourself this may become a fee of 0$. The choice is yours. | |
Re: Or use [Zeller's formula](http://24x7interestingfacts.blogspot.be/2008/09/zellers-rule.html). | |
![]() | Re: Could you elaborate why you need circular referencing? It will not even compile. ![]() |
Re: The whole purpose of an enum is to avoid doing things like you do on line 49. asuit can only have the values CARDSUIT.CLUBS, CARDSUIT.DIAMONDS and so on. You cannot pass 99 to your method and expect it to be clubs. I guess that works in C++, C# is much … | |
Re: Welcome sdanistan! :) If you not already done it, please read the rules. You'll find a link at the bottom of this page. Happy programming! | |
Re: Write a C++ program What does that say? What have you tried so far? Will be happy to solve this problem for you if you pay me 1000$. :o) So I sugest you send in the efforts you already did and point out the difficulties you have, and we all … | |
Re: Just write down the code of what you know, send it to us and point us to the point where you get stuck. | |
Re: As Gribouillis puts it, there is no "best" language. I guess it is the language you feel most confortable and productive in. For me for the moment that is C# in the Visual Studio IDE. In the past it used to be Modula-2 under MPW(Mactosh Programmers Workshop); Who knows what … | |
This piece of code is far from perfect, but it works! It produces a list of substrings (consisting of digits and letters) and their delimiters. If it is practicaly a sin to manipulate the index of a for loop, then I'm a sinner. If two delimiters follow each other, an … | |
Re: *If multiple sources say the same thing, it's probably correct.* I know you meant a different context, but it seems a very dangerous sentence to me. | |
Re: Yes, there was also some famous Greek, who once said the following: Give me a lever long enough and a fulcrum on which to place it, and I shall move the world. Archimedes Read more at http://www.brainyquote.com/quotes/quotes/a/archimedes101761.html#Tgy2wB8RLY4PvH3l.99 Or is this beginning to sound too much like Stafford and Waldorf? | |
Re: What do you mean by the word "*mechanism*"? The correct spelling of "any1" is "anyone" b.t.w. | |
Re: Eveybody ever heard of a `for` statement? | |
Re: It started [here](https://www.daniweb.com/software-development/cpp/threads/486856/help-me-with-this-urgent-) I guess. | |
Re: Granted, but you don't want to be old. I wish I was 25 years old, without knowing what I know now. |
The End.