4,439 Posted Topics
Re: To me a Stream is like just a bunch of bytes passing by. Hence why they call it a Stream I guess. That bunch of bytes could be just about anything, a signal from an oscilloscope on an USB port, a file downloading from the internet etc. Have a look … | |
Re: At least show us that you are eager you want to solve this. But if you are willing to pay me for it I will ome up with a complete solution. My hourly pay rates are usualy around 10000 $ | |
Re: Use a stop button or something of the like and use the Stop() method. `simpleSound.Stop();` | |
Re: I'm sure we all appreciate your effort. At least I do. You made a mistake, I made very often in the beginning! `for(int j=2;j<=150;j++)` should be `for(int j=2;j<150;j++)` Why? You defined an array with 150 booleans. You can access each bolean with an index from 0 to 149. So the … | |
Re: I would start with [MSDN](http://msdn.microsoft.com/en-US/) and look for ADO.NET | |
Re: I definitely have a beard.  | |
Re: fingerprint verification code? | |
Re: As far as I can see you are doing well. Carry on! Success! | |
Re: Make each player a struct with say a Name,Xcoord and Ycoord. | |
Re: Header files also come in very handy if you are working in a team of programmers. Every programmer can use the definitions in stuff.h and compile his code, without stuff.cpp being implemented already. | |
Re: @oussama_1 You first suggestions are correct. The suggestion of using a timer is not. What if the timer ticks at say every second? The delivery time would augment with an extra hour etc. I should use the [ValueChanged event](http://msdn.microsoft.com/en-us/library/system.windows.forms.datetimepicker.valuechanged(v=vs.110).aspx) of the DateTimePicker to add an hour to the other control. | |
Re: Your code so far? Do you mean a boolean flag? Specify what you want. | |
Re: Line 14: write a minus sign after the -b instead of a plus sign. | |
Re: > 'Enter two numbers(with spaces) to solve out.(No decimal numbers)' Extend this instruction to include an operator between two spaces. Now after the user enters a number, a space, an operator, a space and a number, you have your operation and rework the whole thing in one case statement. | |
Re: Did you googled for the Asc, Mid and Chr functions? I guess if you read what they mean, they would explain alot. | |
Re: You could also search DaniWeb. Contains lots of threads about calculators. | |
How can I remove the selection triangle in the rowheader of a DataGridView? I looked here, I googled, MSDN etc. Perhaps I overlooked it on how to do it because it is such a huge class. The only thing I have right now is the [B]ShowEditingIcon [/B]property. When set to … | |
Re: Just an exercise in pure logic thinking. Why would erasing a character from a string would sort a string? | |
Re: Loosing your privacy can be handy from times to times. [Click Here](http://mistupid.com/jokes/page096.htm) | |
Re: Set Date.day = 1 and loop using Date.AddDays(1) until Date.DayOfWeek = DayOfWeek.sunday the second time. Hope this helps, have not time to work this out right now myself. Also have a look [here](http://msdn.microsoft.com/en-us/library/System.DateTime(v=vs.110).aspx) for more info. | |
Could the "visibility" be improved, to notice if someone wants to chat with you? I mean something like done with private messages, where you get an alert to respond to. Now I only see a number has changed in the base of my screen, often 2 or more days later … | |
Re: Manipulation of the masses has more to do with sociology, religion or psychology. I don't see where programming fits in. Although a computer program is able to come up with the best chess moves and wins a chess game from a world champion, that does not make it an intelligent … | |
Re: If Heron (an old Greek) could do it, so can you. | |
Re: This is working with me: namespace WindowsFormsApplication1 { public partial class Form1 : Form { private Panel panel2; //NOTICE OUTSIDE of Form1_Load public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { this.panel2 = new Panel(); panel2.Size = new Size(1280, 720); panel2.Location = new Point(20, 20); panel2.BackColor = … | |
Re: Especially liked the [Brain](http://en.wikipedia.org/wiki/Brainfuck) part. :) | |
Re: You could try `DGV[col, row].Style.BackColor = Color.Orange;` if you want to change the backgroundcolor of column col and row row of the DataGrid. Will have a look at your passenger problem. | |
Re: Did you try to work with the [DataGridViewmn.ValueType](http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridviewcolumn.valuetype(v=vs.110).aspx)? | |
Re: Do you mean a Child form? Why would one create a Parent form from the first form on the screen and controlling it from the first form. I see use in that. If you want to give a personal touch to your forms, it is better to design a logo … | |
I you ever would have the need to do this conversion you probably would use `string myStr = Convert.ToString(myInt,2);` which does the job. Here is presented another way to do this with some simple formatting included. Some highlights for newbies and not so newbies: Line 9: Custom enum type Line … | |
Re: Excerpt from [the rules](https://www.daniweb.com/community/rules) : > Do provide evidence of having done some work yourself if posting questions from school or work assignments | |
Re: Try to do the copying outside the using clause. | |
Re: Your teacher is asking the impossible. As `base` is a reserved word, you cannot use it as a variable. However, you could use: `@base` Now C# ignores it's a reserved word. `basis` which is an alternative for base. `_base` a correctly used variable name with a resemblance to the word … | |
Re: I suggest that for a start you could read [this article](http://www.codeproject.com/Articles/27404/An-absolute-beginner-s-guide-to-printing-in-NET). | |
Re: Hi Sam welcome here at DaniWeb! :) Do you want to add text on the button, or do you want to concatenate text? | |
Re: Better use a foreach. `foreach (Student item in _StudentList) { ....` | |
Re: Hi Chibuike 1 welcome here at DaniWeb. How does SGFPMANSITemplateInfo look like? | |
Re: You definitely can train in the use of operator overloads. | |
Re: Hi abdlrahman.etry welcome here at DaniWeb. Please read [the rules](https://www.daniweb.com/community/rules). Browsing through [this](http://msdn.microsoft.com/en-us/library/system.string(v=vs.110).aspx) might give you some ideas. What have you done for yourself already? Don't be afraid to show us code that doesn't work. | |
Re: May the source be with you! IMHO this is a very hard task of trying to document code of someone else. Make use of any comments you find in the code. Are there still paper documents availabable who discribe what the system is doing or suposed to do? Cannot give … | |
Re: Do you mean something like [this](http://msdn.microsoft.com/en-us/library/bb613545(v=vs.110).aspx) or more like [this](http://www.actiprosoftware.com/products/controls/wpf?gclid=CNz00bXGpMACFWTHtAodSicAag)? | |
Re: Connection strings should be stored in App.Config [see here](http://msdn.microsoft.com/en-us/library/ms254494.aspx). | |
Re: It would help us if we would know what your input was :) | |
Re: Where do you input your data? Do they come from a file? a database? Manual input? btw It doesn't make much sense to calculate percentiles if your data size is less than 20 samples. | |
Re: Hello Shen06, welcome at DaniWeb! :) | |
Re: Yes, I and others here, know how to do it. What have you done so far? Show us your attempt, your effort. Without it I fear none of us will be able to help you. | |
Re: The area of a circle is equal to the square of its radius, multiplied by pi. Pi being equal to 3.1415926..... | |
Re: What about select case statement? Select Case charinput Case 'A' To 'C' digit = 1 Case 'D','E','F' digit = 2 'etc End Select | |
Re: Chinese calendar calculations are more complex than the simple use of a switch statement. | |
Re: A point of interest is also [the randomize function](http://msdn.microsoft.com/nl-be/library/8zedbtdt(v=vs.90).aspx). |
The End.