4,439 Posted Topics

Member Avatar for selamina

Still sitting in class doing an exam? By the time you read this(if ever) it will be too late...

Member Avatar for ddanbe
-2
112
Member Avatar for Jeon_1

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.

Member Avatar for ddanbe
0
122
Member Avatar for reminem

SelectionStart and SelectionEnd of the monthcalendar are datetime structures. So the following should work: `TimeSpan t1 = monthCalendar1.SelectionEnd.Subtract(monthCalendar1.SelectionStart);` Success!

Member Avatar for ddanbe
0
243
Member Avatar for Triple_7

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.

Member Avatar for Santanu.Das
0
311
Member Avatar for verse.ability

It is not always clear if hep is inside or outside an if-statement. Do you have a debugger?

Member Avatar for verse.ability
0
374
Member Avatar for jean_5

Another possibility is [this webpage](http://www.csharp-examples.net/string-format-datetime/)

Member Avatar for gusano79
0
2K
Member Avatar for ddanbe

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 …

2
256
Member Avatar for no.promises.908

Google is your friend, [example](http://msdn.microsoft.com/en-us/library/system.windows.forms.toolstripmenuitem(v=vs.110).aspx)

Member Avatar for 良红
0
214
Member Avatar for My_1

What souce control is, I don't know, but [here](http://www.thefreedictionary.com/fault) is an explanation of fault.

Member Avatar for HiHe
0
96
Member Avatar for Garidius

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)

Member Avatar for Garidius
0
583
Member Avatar for mR.faVOriTo

Could you specify the line wher the error occurs? My first guess is that there's something wrong with your brackets.

Member Avatar for tinstaafl
0
2K
Member Avatar for sweetsmile
Member Avatar for ddanbe
0
106
Member Avatar for MasterChat

Sitting at home, a book maybe, a drink and for the rest just doing nothing and staring at the clouds in the sky.

Member Avatar for sweetsmile
0
184
Member Avatar for omnizw.ani
Member Avatar for Maryam_6
Member Avatar for sydoggs
Member Avatar for kvprajapati
0
326
Member Avatar for ajithkumardr

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)

Member Avatar for ddanbe
-1
235
Member Avatar for shoysmTP
Member Avatar for Dani

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

Member Avatar for Dani
0
2K
Member Avatar for somayyah

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?

Member Avatar for rubberman
0
138
Member Avatar for MasterChat

If by place, you mean a vacation destination, then it was Benidorm in Spain. If not, I must totally agree with <M/> !

Member Avatar for vegaseat
0
258
Member Avatar for humorousone

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 …

Member Avatar for humorousone
0
261
Member Avatar for Taufique111
Member Avatar for Taufique111
0
311
Member Avatar for Gregory_4
Member Avatar for rahulzephyr
Member Avatar for ~s.o.s~

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

Member Avatar for CodyOebel
2
792
Member Avatar for CodeWarrior14
Member Avatar for Papa_Don

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.

Member Avatar for Papa_Don
0
3K
Member Avatar for mjsv

A comparative study of the productivity of programmers eating pizza and drinking soft drinks versus those that don't.

Member Avatar for Schol-R-LEA
0
79
Member Avatar for asdsadddsadsd

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.

Member Avatar for richieking
0
243
Member Avatar for necrovore

It is a [parametric equation](http://en.wikipedia.org/wiki/Parametric_equation)

Member Avatar for ddanbe
0
240
Member Avatar for Roger_2

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.

Member Avatar for Roger_2
0
243
Member Avatar for Ray_2

For the same reason, [my code snippet](https://www.daniweb.com/software-development/csharp/code/455852/fibonacci-in-c) also goes to 93.

Member Avatar for Ray_2
0
178
Member Avatar for Rafiii

CIS fan? That's also a musical term, which in English is referred to as C sharp or C# ? Welcome btw! :)

Member Avatar for ddanbe
0
80
Member Avatar for andrehernandes

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.

Member Avatar for ddanbe
0
187
Member Avatar for Aizaz
Member Avatar for ddanbe
0
172
Member Avatar for lithium112
Member Avatar for lithium112
0
124
Member Avatar for Suzie999

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 …

Member Avatar for Suzie999
0
257
Member Avatar for sdanistan

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!

Member Avatar for ddanbe
0
46
Member Avatar for COKEDUDE
Member Avatar for amjed9999

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 …

Member Avatar for ddanbe
0
79
Member Avatar for Betty96
Re: help

Just write down the code of what you know, send it to us and point us to the point where you get stuck.

Member Avatar for David_50
0
189
Member Avatar for YorkshireSpud

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 …

Member Avatar for vegaseat
0
281
Member Avatar for ddanbe

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 …

Member Avatar for xrjf
0
1K
Member Avatar for MasterChat

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

Member Avatar for MasterChat
1
409
Member Avatar for ujjwale

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?

Member Avatar for mike_2000_17
0
152
Member Avatar for Mamy.Dad

What do you mean by the word "*mechanism*"? The correct spelling of "any1" is "anyone" b.t.w.

Member Avatar for shayan_doust
0
101
Member Avatar for Khan2014
Member Avatar for usmanjani

It started [here](https://www.daniweb.com/software-development/cpp/threads/486856/help-me-with-this-urgent-) I guess.

Member Avatar for usmanjani
0
161
Member Avatar for abelLazm

Granted, but you don't want to be old. I wish I was 25 years old, without knowing what I know now.

Member Avatar for James_40
8
9K

The End.