Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > TextBox & Conversion
 

TextBox & Conversion

Please help me understand. I'm new to programming.

Dim dblValueAS Double = example.text
Dim dblTotal AS Double

I receiveerror stating cannot convert string to Double. The line I am using is the following:

dblTotal = Ctype(dblValue, Double)

I have also tried:
dblTotal = Ctype(example.text, Double)

Option Strict ON.

What am I doing wrong. I just want the value entered in the text box to be converted to a Double since I am traying create an applicationfor invoicing.

Thanks for you help!
MarkHFH  Tuesday, October 21, 2008 10:58 PM
Hi Mark,

this is a GAX/GAT specific forum, please try to post your question in the VB related post.

thanks
jose.

Jose Escrich - weblogs.asp.net/jescrich
Jose Escrich  Monday, November 03, 2008 6:26 PM

You can use google to search for other answers

Custom Search

More Threads

• How to create a folder structure before template unfolding?
• Issue passing input parameters to actions
• Update project references accross solution.
• Register more then one Solution template
• What causes the project to be added under Guidance Packages when creating a new project?
• Share arguments between recipes
• Clarius SFT February 2007 CTP just released!!
• Solution no longer GAT solution
• Create different structures in Visual Studio and File System
• Create virtual directory and set Start Options?