converting textlabel to double
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2

Thread: converting textlabel to double

  1. #1
    Join Date
    Feb 2009

    converting textlabel to double

    I'm trying to convert the text string from a TextBox to a double by pressing a button
    I've found on the internet that this is done by:


    Intellisense doesn't show ToDouble...

    When building I get an error:

    error C2039: 'ToDouble' : is not a member of 'System::String'

    private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {

    How do I convert the string do a double?

  2. #2
    VictorN's Avatar
    VictorN is online now Super Moderator Power Poster
    Join Date
    Jan 2003
    Wallisellen (ZH), Switzerland

    Re: converting textlabel to double

    Wrong forum.
    Victor Nijegorodov

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

This is a survey!

HTML5 Development Center