Click here to Skip to main content
15,911,646 members
Home / Discussions / C#
   

C#

 
AnswerRe: Streaming USB webcam for image processing Pin
Ravi Bhavnani17-Sep-14 15:15
professionalRavi Bhavnani17-Sep-14 15:15 
GeneralRe: Streaming USB webcam for image processing Pin
admbrt18-Sep-14 6:54
admbrt18-Sep-14 6:54 
AnswerRe: Streaming USB webcam for image processing Pin
Ravi Bhavnani20-Sep-14 11:16
professionalRavi Bhavnani20-Sep-14 11:16 
GeneralRe: Streaming USB webcam for image processing Pin
admbrt28-Sep-14 2:23
admbrt28-Sep-14 2:23 
Questionfinger print attendance device Pin
Jassim Rahma17-Sep-14 10:24
Jassim Rahma17-Sep-14 10:24 
AnswerRe: finger print attendance device Pin
Ravi Bhavnani17-Sep-14 15:17
professionalRavi Bhavnani17-Sep-14 15:17 
QuestionHow to use entity frame work in MVC web Application Pin
jeenak17-Sep-14 2:44
jeenak17-Sep-14 2:44 
AnswerRe: How to use entity frame work in MVC web Application Pin
Ravi Bhavnani17-Sep-14 4:51
professionalRavi Bhavnani17-Sep-14 4:51 
AnswerRe: How to use entity frame work in MVC web Application Pin
Dave Kreskowiak17-Sep-14 5:03
mveDave Kreskowiak17-Sep-14 5:03 
AnswerRe: How to use entity frame work in MVC web Application Pin
Suraj Sahoo | Coding Passion17-Sep-14 22:31
professionalSuraj Sahoo | Coding Passion17-Sep-14 22:31 
QuestionCodeplex D3 chart Pin
Sunil M P16-Sep-14 21:00
Sunil M P16-Sep-14 21:00 
AnswerRe: Codeplex D3 chart Pin
Bernhard Hiller16-Sep-14 21:24
Bernhard Hiller16-Sep-14 21:24 
AnswerRe: Codeplex D3 chart Pin
Pete O'Hanlon16-Sep-14 22:20
mvePete O'Hanlon16-Sep-14 22:20 
Questionwhy my graph error??? Pin
rikiz16-Sep-14 19:30
rikiz16-Sep-14 19:30 
AnswerRe: why my graph error??? Pin
Pete O'Hanlon16-Sep-14 19:56
mvePete O'Hanlon16-Sep-14 19:56 
GeneralRe: why my graph error??? Pin
rikiz18-Sep-14 18:42
rikiz18-Sep-14 18:42 
GeneralRe: why my graph error??? Pin
Pete O'Hanlon18-Sep-14 19:37
mvePete O'Hanlon18-Sep-14 19:37 
GeneralRe: why my graph error??? Pin
rikiz1-Oct-14 9:02
rikiz1-Oct-14 9:02 
GeneralRe: why my graph error??? Pin
rikiz3-Oct-14 17:57
rikiz3-Oct-14 17:57 
AnswerRe: why my graph error??? Pin
V.16-Sep-14 23:18
professionalV.16-Sep-14 23:18 
GeneralRe: why my graph error??? Pin
rikiz18-Sep-14 18:45
rikiz18-Sep-14 18:45 
GeneralRe: why my graph error??? Pin
V.18-Sep-14 19:29
professionalV.18-Sep-14 19:29 
in that case you better start by picking a C# book and start reading from the start. This is very basic stuff.

A textbox gives the user's input as a piece of text, a string. a double is a certain type of number. Your computer is a machine and it only know 0 and 1. In this case the function expects a double, which is represented as a different series of 0 and 1's than a string, hence it doesn't understand the input. To make the input change from text to double you need to "parse" it. (parsing is like converting, you change the text value 1.123 into a double number 1.123 which is represented differently), but the "parsing" function makes some "assumptions" on the text it is given. (decimal operator is a . or , eg).

int, bool, double, float, string, char, ... they're all represented differently in the machine.

hope this clarifies things, but take the first sentence as advice, please.
V.

(MQOTD rules and previous solutions)

GeneralRe: why my graph error??? Pin
rikiz1-Oct-14 9:01
rikiz1-Oct-14 9:01 
QuestionHow do I select, drag and align the controls like Visual Studio at the running time ? Pin
Javafree16-Sep-14 15:31
Javafree16-Sep-14 15:31 
AnswerRe: How do I select, drag and align the controls like Visual Studio at the running time ? Pin
Pete O'Hanlon16-Sep-14 19:58
mvePete O'Hanlon16-Sep-14 19:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.