4,439 Posted Topics

Member Avatar for manel1989
Member Avatar for ddanbe
0
294
Member Avatar for yamini.l

Hi yamini.1 welcome at DaniWeb! Here is [an article](http://compilers.iecc.com/crenshaw/tutor7.txt).

Member Avatar for ddanbe
0
49
Member Avatar for Aakeem

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.

Member Avatar for ddanbe
0
155
Member Avatar for said ahmed
Member Avatar for said ahmed
Member Avatar for Reverend Jim
-1
68
Member Avatar for ddanbe

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 …

Member Avatar for vegaseat
0
277
Member Avatar for nitish.mohiputlall

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.

Member Avatar for ddanbe
0
115
Member Avatar for daniel.leowteckleong
Member Avatar for ddanbe

Put on your dancing boots and let the violins play! [Click Here](http://www.youtube.com/watch?v=ywWBy6J5gz8)

Member Avatar for ddanbe
0
105
Member Avatar for <M/>

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.

Member Avatar for <M/>
0
207
Member Avatar for castajiz_2

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)

Member Avatar for lolafuertes
0
289
Member Avatar for akasekaihime

Google is always your friend, for an example of the algorithm:[Click Here](http://en.wikipedia.org/wiki/Gaussian_elimination#Example_of_the_algorithm)

Member Avatar for knechod
0
601
Member Avatar for Trle94

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 …

Member Avatar for ddanbe
0
203
Member Avatar for Ahmed.C

Use SubString method. [Click Here](http://bytes.com/topic/visual-basic-net/answers/369816-left-mid-right-vb-net)

Member Avatar for ddanbe
0
142
Member Avatar for ahmed.talha.16

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.

Member Avatar for ahmed.talha.16
0
166
Member Avatar for ChrisHunter

Dani knew it! She said: "Let's surprise ChrisHunter when he returns from holiday!"

Member Avatar for Dani
2
202
Member Avatar for sszz
Member Avatar for phorce
0
159
Member Avatar for Tcll
Member Avatar for Tcll
0
105
Member Avatar for Ahmed.C
Member Avatar for happygeek

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.

Member Avatar for ChrisHunter
0
192
Member Avatar for Galbatorix
Member Avatar for yuvjeeth

[This](http://www.dreamincode.net/forums/topic/98400-solved-working-with-color-in-richtextbox/) may be helpfull.

Member Avatar for ddanbe
0
502
Member Avatar for fhau013

Perhaps read [this](http://www.codeproject.com/Articles/43438/Connect-C-to-MySQL)

Member Avatar for ddanbe
0
92
Member Avatar for hassje

Your for loop will never execute. Look carefully at line 17. If you can't work it out, please feel free to ask.

Member Avatar for ddanbe
0
162
Member Avatar for Klahr_R
Member Avatar for Kratoswoo

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.

Member Avatar for ss125
0
304
Member Avatar for mikeoabban

CellValueChanged is called over and over until you get a stackoverflow. Every call to multiplyrows generates a CellvalueChanged event, which calls multiplyrows, which . . .

Member Avatar for ChrisHunter
0
903
Member Avatar for DarthC#
Member Avatar for ogucheed

Hi ogucheed, welcome here at DaniWeb! :) Do you mean upgrade your VB6 code toVB2008?

Member Avatar for xcrunner15
0
77
Member Avatar for mrjekzz
Member Avatar for castajiz_2
Member Avatar for zachattack05

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.

Member Avatar for Momerath
0
274
Member Avatar for revelator

Good, depends. Define "good programmer". Only advice: write as many C programs possible, you will become a "better programmer". Happy computing!

Member Avatar for rubberman
0
242
Member Avatar for Momerath

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!

Member Avatar for ddanbe
0
105
Member Avatar for Yorkiebar14

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 …

Member Avatar for Yorkiebar14
0
333
Member Avatar for Waledsalah

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.

Member Avatar for TheApex
0
104
Member Avatar for Dimonai

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

Member Avatar for Dimonai
2
2K
Member Avatar for m1m6jbr

Line 3 will not compile, because Form3 does not exist. Did you mean **public Form ff = new Form();** or **public Form Form3 = new Form();** ?

Member Avatar for ddanbe
0
188
Member Avatar for killer88

Did you mean [this](http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.aspx)?

Member Avatar for Reverend Jim
-1
104
Member Avatar for kram54

You say you have a problem, but as I don't understand a word of Turkish, please elaborate on what your problem really is.

Member Avatar for kram54
0
268
Member Avatar for avinash7
Member Avatar for Saqlainz

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!

Member Avatar for Mike Askew
-2
285
Member Avatar for Mr.M
Member Avatar for game06

You could use a boolean flag to mark if the decimal point button has been pressed or not.

Member Avatar for stultuske
0
231
Member Avatar for fuhanspujisaputra

Use the ToString() method. MyTxtBox.Text = MyInt.ToString(); You can even do : MyTxtBox.Text = 42.ToString();//Puts the string "42" into the textbox.

Member Avatar for fuhanspujisaputra
0
991
Member Avatar for nnayram

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 …

Member Avatar for LesF
0
477
Member Avatar for mesbahuk

All the System.Net Namespaces can be found [here](http://msdn.microsoft.com/en-us/library/gg145039.aspx)

Member Avatar for ddanbe
0
346
Member Avatar for pc20912

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.

Member Avatar for pc20912
0
1K
Member Avatar for SirDarknight

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 …

Member Avatar for ss125
0
122
Member Avatar for Zezo_1

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!

Member Avatar for tinstaafl
0
236

The End.