4,439 Posted Topics

Member Avatar for tanatos.daniel
Member Avatar for tanatos.daniel
0
193
Member Avatar for Warrens80
Member Avatar for SaRa Ahmad

You first have to respond to a modal dialog (Click OK, Cancel, whatever) before you can do anything else. That's why it's called modal.

Member Avatar for Learner010
0
223
Member Avatar for ddanbe

A modal dialog is a window that you must respond to. The MessageBox for example is such a window. It is a handy tool for displaying a warning or other kind of message to the user. But, you can configure it only in a limited way. Xcelled194 did a good …

Member Avatar for ddanbe
3
970
Member Avatar for 2384443
Member Avatar for joester007
Member Avatar for prashantsharmazz

If debugging is the process of removing software bugs, then programming must be the process of putting them in. (Edsger Dijkstra)

Member Avatar for CodingCabbage
0
242
Member Avatar for daniel1977

You can find `Console.Writeline` in a C# console application code.

Member Avatar for mike_2000_17
0
153
Member Avatar for ranar
Member Avatar for gategold

On line 4 you test if both matrices have equal rows and columns, before performing a minus operation. Seems correct to me. Line 37 is correct. Line 38 calls a method, wich you placed in comments. Line 22 reads `for (int i = 1; i <= this.So_Hang; i++)` should this …

Member Avatar for ddanbe
0
129
Member Avatar for AmrMohammed

Controls like Label and Button have a Paint method. You can override that method if you want to change the drawing behaviour.

Member Avatar for ddanbe
0
71
Member Avatar for ddanbe

The test.txt file I'm using is: 1,2,3,Name1,Pizza,Pizza Hut,7,8,9 1,2,3,Name2,goose,my home,7,8,9 1,2,3,Name3,chicken,airplane,7,8,9 Most of the explanation can be found in the snippet. Some CSV(Comma Separated Value) files often contain as first line, a header. You could skip this, or threat it a bit differently. I had no header, so I leave …

Member Avatar for deceptikon
0
3K
Member Avatar for tsomondos

Hi Tsomondos, welcome at DaniWeb. What OS do you have? I have Windows 7, I open **My computer** via Start. A Window opens and here I can drag and drop the files in folders where I like to have them.

Member Avatar for Netcode
0
272
Member Avatar for Kratoswoo

Just a quick sketch: const int EOF = -1; using (StreamReader SR = new StreamReader(filePath)) { while (SR.Peek() != EOF) //I like EOF! { string Aline = SR.ReadLine(); List<string> CVSValues = Aline.Split(',').ToList(); // think you need CVSValues[3], CVSValues[4] and CVSValues[5] // etc.

Member Avatar for ddanbe
0
234
Member Avatar for ManthanB
Member Avatar for Ketsuekiame
0
589
Member Avatar for programmer76
Re: 2020

Who will tell if we will use computers in 2020, the way we do now? Perhaps we all talk via our smartphone, to quatumcomputers living in a cloud. Who had a smartphone or a phablet, 7 years ago?

Member Avatar for ddanbe
0
383
Member Avatar for Xantipius

@AD Hope all gets well with your son. Medical science, as good as it is, is never **exact** science. So you might say that a study has proven that consumption of chicken soup of brand X cures some disease Y. And second point: because it is in the news, does …

Member Avatar for jwenting
0
366
Member Avatar for Saboor880

Just install it, start up Visual Studio, select New Project, select Visual Basic choose Windows Forms Application or Console Application and you are ready to start programming.

Member Avatar for Saboor880
0
541
Member Avatar for KAMAE94

> @iamtwee Look up bubble sort Just get yourself some Hungarian orchestra and dancers http://www.youtube.com/watch?v=lyZQPjUT5B4

Member Avatar for iJimJones
0
160
Member Avatar for Saboor880

It is an IDE (Integrated Development Environment) You can program in it in C#, C++, VB, F# etc. It offers all the tools to make life of a programmer as easy as possible.

Member Avatar for mavtcr
0
241
Member Avatar for Virendra_1
Member Avatar for castajiz_2
0
188
Member Avatar for bryann
Member Avatar for Deep Modi

Do you want to store data in the app.exe resources? If so, have a loo at the automobile example [here](http://msdn.microsoft.com/en-us/library/xbx3z216(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-9)

Member Avatar for Deep Modi
0
179
Member Avatar for JOSheaIV

Don't know if it matters much, but the right picture is 7x5 "pixels", but the left and middle picture are 13x10 "pixels.

Member Avatar for ddanbe
0
212
Member Avatar for v.r.t
Member Avatar for vegaseat
0
158
Member Avatar for mavtcr
Member Avatar for Deep Modi
0
278
Member Avatar for saja.omarii.7

I think the line: **56–48 years Aged** should read **65–84 years Aged**

Member Avatar for saja.omarii.7
0
381
Member Avatar for mavtcr

You are concatenating the strings in the 3 textboxes. First convert the Text strings to numbers, add, and convert the result to a string again to feed Text4

Member Avatar for rishif2
0
213
Member Avatar for mixelplik

setprecision just does what it says. It sets the precision to 2 figures after the decimal point and it will stay that way.

Member Avatar for mixelplik
0
136
Member Avatar for kkjaykamau
Member Avatar for ddanbe
0
264
Member Avatar for castajiz_2

You surely are going to need some integration methods, here is a [snippet](http://www.daniweb.com/software-development/csharp/code/295819/simulating-normdist-function-of-excel-in-c) And this is an [example](http://www.daniweb.com/software-development/csharp/code/451281/simple-line-graph-charting) of how to make a chart in C#. Success!

Member Avatar for ddanbe
0
192
Member Avatar for Warren_1
Member Avatar for catastrophe2

Maybe it is a matter of the exact pathname? I suggest to leave this program for a day or two. Google for a simple example of file IO. Once you practice your reading and writing ability of a simple textfile and it works, then return to your project.

Member Avatar for catastrophe2
0
226
Member Avatar for pythonnewbie16

Well I guess it is not bad.:) One small criticism though. Don't restrict the user in his options. (See line 10) The same for your if statements, where you test the capitals. You can avoid all this with the **lower()** function. Happy programming.

Member Avatar for snippsat
0
397
Member Avatar for smitty68503

Stop annoying users with unwanted Msgboxes saying: **"He dummy! You typed a letter!"** A Masked textbox might be ok, but I would rather use it for social security codes etc. BTW, you still have to validate for divisibility by 10. Try handling a [KeyDown/KeyPress event](http://msdn.microsoft.com/en-us/library/system.windows.forms.control.keydown.aspx?cs-save-lang=1&cs-lang=vb#code-snippet-2). Here you can only allow …

Member Avatar for raidenx44
0
365
Member Avatar for castajiz_2

The only thing I can come up with is that you have an English dictionary in a database and you pick random words out of it. A real random word generator should at least take account of the fact that there are few words that don't contain vowels.

Member Avatar for castajiz_2
0
283
Member Avatar for johni700

Google! [Example.](http://social.msdn.microsoft.com/Forums/en-US/1da1014b-a7d9-407d-8dc4-c914d158300d/cimage-store-and-read-from-database?forum=adodotnetentityframework)

Member Avatar for ddanbe
0
184
Member Avatar for Saboor880

Google to download VB.NET free [example](http://en.kioskea.net/download/download-104-visual-basic-express-edition) Google for free tutorial [example](http://www.tutorialspoint.com/vb.net/vb.net_pdf_version.htm)

Member Avatar for Deep Modi
0
395
Member Avatar for pmwilliams

In your Do While loop you are reading the file until the end. Then the whole of the file is assigned to TextBox1.Text.

Member Avatar for Deep Modi
0
689
Member Avatar for glao

In a while loop, the increment of an index, counter, etc. should always be the last statement. At least, that's what I mostly do.

Member Avatar for glao
0
269
Member Avatar for mohamed.abdelsalam.96558061
Member Avatar for hulkishungry

Hi, hulkishungry, welcome at DaniWeb. Oh man, oh man, oh man! You sound so depressive. Advise(for what it's worth): leave your studies and go do something totally different. What are your hobbies? What do you like?

Member Avatar for hulkishungry
0
170
Member Avatar for dws.ash04

Perhaps this [article](http://social.msdn.microsoft.com/Forums/en-US/4177671c-8fee-46b4-9dce-6694ba912e4c/load-image-into-a-datagridview-cell?forum=Vsexpressvcs) will help.

Member Avatar for ddanbe
0
171
Member Avatar for strongard63
Member Avatar for ddanbe
0
203
Member Avatar for castajiz_2

A for loop without an intitialisation. The intitialisation is probably done before the loop. Yes you could say is is like a while.

Member Avatar for Ketsuekiame
-1
173
Member Avatar for PulsarScript

Find out whith an if-statement, which line of the loop you are in(check loop index) Print stars or spaces and stars accordingly.

Member Avatar for darkfire3133
0
193
Member Avatar for Saboor880
Member Avatar for ddanbe
0
61
Member Avatar for Yani18

You might want to study some printing tutorials. Google for it,[example](http://www.vbtutor.net/vb6/lesson39.html).

Member Avatar for Mr.M
0
88
Member Avatar for decade
Member Avatar for johnrosswrock
Member Avatar for johnrosswrock
0
186

The End.