4,439 Posted Topics
Re: I like both. I don't drink while programming, I'll have a break instead! | |
Re: Well, peymankop your questioning is improved. :) Was the answer I gave you in the other thread not sufficient? | |
Re: Do you mean by "activated" that a button gets clicked? | |
Re: And here is [something for you to read.](http://www.daniweb.com/software-development/csharp/threads/448647/new-programmers-what-resources-are-available-to-you) | |
Re: . . . x y cloum want first show all second on fastly boxt tb tbb . but this doesnt how can do Huh??? I'm no English speaker myself, so I quess I cannot help you here, because it doesn't make sence. Why did you put this in the tag … | |
Re: [This ](http://www.daniweb.com/software-development/csharp/code/295819/simulating-normdist-function-of-excel-in-c)is the closest I got to doing an integration in C#. You also have the book "Practical Numerical Methods with C#" by Jack Xu. | |
Re: Do the lines in your text file, all contain the same number of words? | |
Re: Maybe [this class](http://msdn.microsoft.com/en-us/library/system.environment.aspx) can help? | |
Re: What is the exact phrasing of your assignment? As I see it now it could be that you just have to use 10 numbers as seeds for the Random method and generate 5 random number with the 10 numbers. | |
Re: Don't know exactly what you are trying to achieve here. If an integer value is even and you add 1 to it, it will be odd. static void Main(string[] args) { int userinput = 8; do { Console.WriteLine(userinput); userinput++; } while (userinput % 2 > 0); Console.ReadKey(); } The above … | |
Re: What is your definition for "a line of code"? Does it really matter how many lines of "code" a program contains? Is a program with 100000 lines of code better that one with 1000 lines of code? | |
Re: Your English is as good as mine. :) I don't see why you could not do what you are trying to do. You only got to have some indebt knowledge of all the objects involved. In the beginning this can look very complex, I know. The more you are using … | |
Re: Something like this? static void Main(string[] args) { int value = 11; int power = 8; Console.WriteLine(Math.Pow(value, power)); Console.WriteLine(Math.Pow(value, 2)*Math.Pow(value, 6)); Console.ReadKey(); } | |
Re: NULL here, is also called the "end of string" character. | |
Re: Here's a [tutorial.](http://www.youtube.com/watch?v=mv2I8bA_zls) | |
Re: IntValue is not defined. Define it. Start your loop with while (Intvalue < ...) Do a ReadLine. Put your if statement next. Test Intvalue as you did. Augment Intvalue only if between 10 and 50. Are 10 and 50 inclusive or not? Succes! | |
Re: We aim to please. MSDN should be your friend. Here is [The String class](http://msdn.microsoft.com/en-us/library/system.string.aspx), all the string manipulation you want! Happy programming. | |
Re: That's the spirit! Think positive. Make love, no war! (And make love does not always mean something that rabbits often tend to do) | |
Re: Perhaps you could consider [this.](http://msdn.microsoft.com/en-us/library/system.numerics.biginteger(v=vs.100).aspx) | |
Re: Determine if a char is whitespace and exclude a space. [Look here](http://msdn.microsoft.com/en-us/library/vstudio/t809ektx.aspx) for a start. If you are familiar with Regex, you could use that as well. | |
Re: My native language is **Flemish**, which is a **Dutch** dialect. Further I can speak and write **English** and **French** rather fluently. Some **German**, **Spanish** and **Italian**. @decepticon : I doubt if some knowledge of Spanish would be handy in learning Japanese :) | |
Re: What is the type of the value? What kind of split? Please rephrase your question. | |
Re: Look [here](http://www.daniweb.com/software-development/csharp/code/217187/console-calculator-part-3-the-calculator-engine) what I did some 4 years agoo | |
Re: Look [here](http://www.getbookee.org/get_book.php?u=aHR0cDovL3dpa2kuemltYnJhLmNvbS9pbWFnZXMvYS9hNy8xMjg1OC5wZGYKQ09NUFVURVIgR1JBUEhJQ1MgVVNJTkcgT1BFTkdMICgzUkQgRURJVElPTikgQlkgRlJBTkNJUyBTIC4uLg==) don't know it's for free though. | |
Re: I zip them. Did you Publish your project correctly? Thenyour friend can run the installer. If your friend has VS, send him your project and he can open and the project through VS. | |
Re: You could use e.g. **objTool.SetStarted();** it would print started on the console. objTool inherits all the methods from the base class. You can use them as such or override them. | |
Re: Consider the possibilities of a DataGridView. | |
I wanted to make an array of bits which I could click on and off at will. Sort of a register you could manipulate. First thing that came up was a checkbox control. But I wanted to change the usual checkmark with a 1 or a 0. With tips from … | |
Re: I once used [this article](http://www.codeproject.com/KB/printing/datagridviewprinter.aspx) to help me explain how to print a DataGridView. On the CodeProject site you may find other stuff about printing. Succes! | |
Re: Think [this tutorial](http://www.c-sharpcorner.com/UploadFile/mahesh/TabControlTutorial11302005235835PM/TabControlTutorial.aspx) is a good place to start.Check out MSDN also. Succes! | |
These are (I guess) the most basic printing instructions in C#, to let some printed paper coming out of a printer. Start a new Forms application, drop a ComboBox, a Label and a Button on the form. Implement a form Load and a Button Click event and fill in the … | |
Re: On line 30, if you just tap return for a test with no answer you will get a null value from ReadLine, wich you are trying to convert to a char wich gives your error. So test for null values( as deceptikon proposes) before you do the conversion to a … | |
Re: To me your line of code reads as **txtNetPrice.Text = 0 + ContxtPriceCut.Text;** Before the plus sign you are multiplying by zero. After the plus sign you are converting text to a double and you make again text of it with the ToString method. | |
Re: Did you try to put lines 27-30, behind lines 32-41? | |
Re: Every C# program has to have a static Main(...) method (a so called entrypoint) From here is where your program starts to run. Are you using Visual Studio? | |
Re: Perhaps one of my snippets is easier to use:[Click Here](http://www.daniweb.com/software-development/csharp/code/217194/data-encryption-in-c) | |
Re: Depends on what you want Serkan. This [url]http://www.daniweb.com/code/snippet1022.html[/url] loops through what is called the KnowColors. All the colors would need 256*256*256 iterations I guess. | |
Re: Console.WriteLine returns void so return a string first and then feed that string to the WriteLine method. | |
Re: Are you using WPF or WinForm? You could implement 100 TextBox, Button etc. and implement the MouseHover event. There is a video lesson somewhere about it I will try to find it for you. | |
Re: Have you had a look at [this ](http://www.csharp-examples.net/string-format-datetime/)? | |
Re: Also List can be used. **List<Item> tempLst = new List<Item>();** [See here](http://msdn.microsoft.com/en-us/library/6sh2ey19.aspx) Use IndexOf,RemoveAt, Insert methods to get wath you want. | |
Re: What idea have you tried already? We would like to see it, so we can help you better. | |
Re: @tinstaafi I guess the Str would do nicely in VB.NET. In C# it is called ToString()! @ajassal1 Google "The triangle of Pascal" | |
Re: I don't see your design image. But it should be a fairly simple taskto fill your PictureBox with coloured rectangles, with a size depending on the percentage. | |
Re: If I understand you well. Can you not change the worksheet cell, before you feed it to the dataset? | |
Re: How about **WelcomeForm.usernameTxb.Text = LoginForm.txtUsername.Text;** | |
Re: How are your usernames, loginnames and passwords stored? | |
Re: Let's get [cultural](http://www.enotes.com/shakespeare-quotes/what-s-name-that-which-we-call-rose)! | |
Re: Why shouldn't SubString do the job? Show us that code part please. |
The End.