4,439 Posted Topics
Re: The error message indicates you have not implemented a Form21 class. | |
Re: Hi yamini.1 welcome at DaniWeb! Here is [an article](http://compilers.iecc.com/crenshaw/tutor7.txt). | |
Re: Hi Aakeem welcome at DaniWeb! I'm perhaps more newbie than you concerning Python, but this works with me: secrete_door = [1,2,3,4] if 1 in secrete_door: print( "Sorry try again.") You have a range of integers, not a range of strings. | |
| |
| |
After reading the intresting articles of vegaseat, I finally decided to get my toes wet. So I installed Pyton 3.3.2 amd the plugin for Visual Studio 2010. The best learning is of course practice, so I started coding right away. Here is my first try: import sys print('Hello World') print('I … | |
Re: If time = 12.5 for example then the integral part is the number of hours, So here this would be12 hours. Multiply the fractional part by 60 to get the minutes. Here this would be 0.5 x 60 = 30 minutes. Hope this helps. | |
| |
Put on your dancing boots and let the violins play! [Click Here](http://www.youtube.com/watch?v=ywWBy6J5gz8) | |
Re: First: There are no shamefull questions. Second: Why would you like to keep a debug window open when there is no program running in VS? Also [this article](http://msdn.microsoft.com/en-us/library/windows/hardware/hh406281(v=vs.85).aspx) may be of interest. | |
Re: Pixels on the screen are counted from the top left(0,0) of the screen. This is the way video works I guess. So X goes from 0 to the horizontal screen(right) resolution(positive direction) Y goes from 0 to the vertical screen(bottom) resolution(negative direction) | |
Re: Google is always your friend, for an example of the algorithm:[Click Here](http://en.wikipedia.org/wiki/Gaussian_elimination#Example_of_the_algorithm) | |
Re: Say, you are a jet pilot and during a flight your jet is badly malfunctioning. Would you like the EJECT button on your ejector seat to mean something else, depending on some sort of condition? A button that opens a file, should do just that, open a file. Same for … | |
Re: Use SubString method. [Click Here](http://bytes.com/topic/visual-basic-net/answers/369816-left-mid-right-vb-net) | |
Re: Just creating a DataGridView will not do very much. You have to initialize several things. Here is a [snippet](http://www.daniweb.com/software-development/csharp/code/374216/making-a-datagridview-look-like-an-excel-sheet) to put you on track. | |
Re: Dani knew it! She said: "Let's surprise ChrisHunter when he returns from holiday!" | |
Re: For a correlation, you always need two variables, so how would you correlate 1 picture? | |
Re: Did you know about [this](http://en.wikipedia.org/wiki/Quaternion)? | |
Re: The FoldeBrowserDialog ha s a SelectedPath property. | |
Re: In my country(Belgium) you may own one, but it is forbidden to fly it. Unless you are member of a model aeroplane club, who have special terrains.So for me I would rather like a kite at the beach. | |
| |
Re: [This](http://www.dreamincode.net/forums/topic/98400-solved-working-with-color-in-richtextbox/) may be helpfull. | |
Re: Perhaps read [this](http://www.codeproject.com/Articles/43438/Connect-C-to-MySQL) | |
Re: Your for loop will never execute. Look carefully at line 17. If you can't work it out, please feel free to ask. | |
Re: Now and then. When it starts acting "funny". | |
Re: Make an array of your textboxes and color the textbox with the maximum in it. Line**X**Scale**Y** screams out to be an array. | |
Re: CellValueChanged is called over and over until you get a stackoverflow. Every call to multiplyrows generates a CellvalueChanged event, which calls multiplyrows, which . . . | |
Re: Hi ogucheed, welcome here at DaniWeb! :) Do you mean upgrade your VB6 code toVB2008? | |
Re: I let the name Form1 as it is. It is the first form that opens in the Main method and has further very little connotations with "Main". I name extra forms, depending on their function. | |
Re: Good, depends. Define "good programmer". Only advice: write as many C programs possible, you will become a "better programmer". Happy computing! | |
Re: Well, it looks more alive, vivid, cheerfull... Personally I found the overhead of purple and black(colors that have a mourning connotation in my culture) a bit overwhelming. They become more in proportion now. Keep up the good working Dani! | |
Re: In my code snippets, you will find one that plots a random walk. It makes use of polar coordinates. I randomly generate an angle(direction) and a distance(to walk), which I then convert to cartesian coordinates, to be plotted. It is in C#, if you like it i will post a … | |
Re: Hi Waledsalah, welcome at DaniWeb. could you post a zip file instead of a rar? To erase a Rectangle, just redraw it in the background color of the container it is drawn in. | |
Re: The Program.cs file, contains the Main method. Every program has a starting point, in C# this is Main. For a console app it is sufficient to do all your coding in Main. For a Forms project, Main runs a new Forms object, all further action is done in the Form, … | |
Re: Line 3 will not compile, because Form3 does not exist. Did you mean **public Form ff = new Form();** or **public Form Form3 = new Form();** ? | |
Re: Did you mean [this](http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.aspx)? | |
Re: You say you have a problem, but as I don't understand a word of Turkish, please elaborate on what your problem really is. | |
Re: More easy would be: **string c = Console.ReadLine();** Don't tell the user anything and if the user is so bold and dares to input anything else but an integer, just start to laugh! | |
Re: I think every browser has a Save or Save As option. Is that not sufficient? | |
Re: You could use a boolean flag to mark if the decimal point button has been pressed or not. | |
Re: Use the ToString() method. MyTxtBox.Text = MyInt.ToString(); You can even do : MyTxtBox.Text = 42.ToString();//Puts the string "42" into the textbox. | |
Re: I would define the functionality of the C-program, and then try to completely rewrite it in C#. As a second option: C# can also compile C-code, to some extent. includes become using etc.,most IO and file manipulations would be different... Read C# documentation about that, try to translate as much … | |
Re: All the System.Net Namespaces can be found [here](http://msdn.microsoft.com/en-us/library/gg145039.aspx) | |
Re: Perhaps [this](http://social.msdn.microsoft.com/Forums/windows/en-US/fa4979cd-256f-4738-aa3a-f85cedf63666/change-the-image-of-a-datagridviewimagecolumn-for-a-specified-cell) can help. | |
Re: Best does not exist. Four different flowers, which one is best to decorate a room? I use C# most of the time, because it is the language I feel most confortable in. All four languages can do more or less, what you want to do. In your case I would … | |
Re: Hi, Zezo 1 welcome here! You could start with [this](http://www.daniweb.com/software-development/csharp/threads/448647/new-programmers-what-resources-are-available-to-you) Happy programming! |
The End.