I need to write a program where I have to convert a temp provided by user to celcius or farenheit and vice versa. I am using text boxes to get the temp in degrees but when I am trying to convert the string to double by CDbl it is showing error while debugging..
I will be thankful If anyone can provide answer..
I think you need to show us the code. There's certainly no reason why you can't convert a string to a double, assuming it contains reasonable data at the time.
Of course, I suppose it depends on what you mean by "convert the string". I assume you are placing the output of the conversion in a double variable, not back in the string variable?