4,439 Posted Topics

Member Avatar for Prateek_2

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 …

Member Avatar for JOSheaIV
0
204
Member Avatar for Nana_29

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 $

Member Avatar for NathanOliver
-1
179
Member Avatar for BibhutiAlmighty

Use a stop button or something of the like and use the Stop() method. `simpleSound.Stop();`

Member Avatar for BibhutiAlmighty
0
194
Member Avatar for aluhnev

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 …

Member Avatar for Lerner
0
731
Member Avatar for gil.nickson

I would start with [MSDN](http://msdn.microsoft.com/en-US/) and look for ADO.NET

Member Avatar for Santanu Das
0
242
Member Avatar for happygeek

I definitely have a beard. ![95156ae60b4dfffd5b2a031d7fcfa101](/attachments/small/1/95156ae60b4dfffd5b2a031d7fcfa101.png "align-left")

Member Avatar for DistantGalaxy
1
520
Member Avatar for Nehan
Member Avatar for kegs88
Member Avatar for Sadiiiiiiiiee
Member Avatar for nitin1

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.

Member Avatar for Lardmeister
0
235
Member Avatar for theashman88

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

Member Avatar for ddanbe
0
463
Member Avatar for khalil je

Your code so far? Do you mean a boolean flag? Specify what you want.

Member Avatar for Moschops
-1
97
Member Avatar for patricia28
Member Avatar for ddanbe
0
258
Member Avatar for Jemuel
Member Avatar for Razi_1

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

Member Avatar for Razi_1
0
268
Member Avatar for inthink

Did you googled for the Asc, Mid and Chr functions? I guess if you read what they mean, they would explain alot.

Member Avatar for inthink
0
91
Member Avatar for Afnan Mohammad
Member Avatar for BibhutiAlmighty
0
243
Member Avatar for ddanbe

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 …

Member Avatar for ddanbe
0
1K
Member Avatar for andrew mendonca
Member Avatar for Moschops
0
190
Member Avatar for Slavi

Loosing your privacy can be handy from times to times. [Click Here](http://mistupid.com/jokes/page096.htm)

Member Avatar for vegaseat
0
402
Member Avatar for Samarth_1

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.

Member Avatar for Zulu79
0
432
Member Avatar for ddanbe

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 …

Member Avatar for Dani
0
335
Member Avatar for iConqueror

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 …

Member Avatar for Reverend Jim
0
531
Member Avatar for Ghost0s
Member Avatar for Yorkiebar14

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

Member Avatar for Yorkiebar14
0
301
Member Avatar for Reverend Jim

Especially liked the [Brain](http://en.wikipedia.org/wiki/Brainfuck) part. :)

Member Avatar for Reverend Jim
1
392
Member Avatar for Joemeister

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.

Member Avatar for ddanbe
0
773
Member Avatar for sundog1

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)?

Member Avatar for sundog1
0
3K
Member Avatar for docfnt

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 …

Member Avatar for docfnt
0
203
Member Avatar for ddanbe

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 …

1
292
Member Avatar for Ivzirnalsradeys

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

Member Avatar for Taywin
0
236
Member Avatar for bananacat
Member Avatar for theashman88

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 …

Member Avatar for deceptikon
0
315
Member Avatar for NewCoder_31

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

Member Avatar for ddanbe
0
95
Member Avatar for sam289312

Hi Sam welcome here at DaniWeb! :) Do you want to add text on the button, or do you want to concatenate text?

Member Avatar for JorgeM
0
89
Member Avatar for Joemeister
Member Avatar for Chibuike_1

Hi Chibuike 1 welcome here at DaniWeb. How does SGFPMANSITemplateInfo look like?

Member Avatar for PoorRogue
0
157
Member Avatar for ken.green.142035
Member Avatar for ddanbe
-1
150
Member Avatar for abdelrahman.etry

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.

Member Avatar for PoorRogue
0
153
Member Avatar for ogsirus

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 …

Member Avatar for ogsirus
0
296
Member Avatar for PerplexedB

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)?

Member Avatar for PerplexedB
0
264
Member Avatar for burhanahmed92

Connection strings should be stored in App.Config [see here](http://msdn.microsoft.com/en-us/library/ms254494.aspx).

Member Avatar for ddanbe
0
1K
Member Avatar for andrew mendonca
Member Avatar for gesha

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.

Member Avatar for David W
0
2K
Member Avatar for shen06
Member Avatar for tan.revilleza

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.

Member Avatar for Hiroshe
0
150
Member Avatar for david muchuku

The area of a circle is equal to the square of its radius, multiplied by pi. Pi being equal to 3.1415926.....

Member Avatar for Sarkurd
0
170
Member Avatar for Tonderayi

What about select case statement? Select Case charinput Case 'A' To 'C' digit = 1 Case 'D','E','F' digit = 2 'etc End Select

Member Avatar for ddanbe
0
161
Member Avatar for kamylz.pm

Chinese calendar calculations are more complex than the simple use of a switch statement.

Member Avatar for kamylz.pm
0
76
Member Avatar for Start4me

A point of interest is also [the randomize function](http://msdn.microsoft.com/nl-be/library/8zedbtdt(v=vs.90).aspx).

Member Avatar for Minimalist
0
1K

The End.