error C2664 ???

Discussion in 'C Programming' started by sambuls, Nov 13, 2008.

  1. sambuls

    sambuls

    Joined:
    Nov 13, 2008
    Messages:
    1
    hello,

    I'm using microsoft visual studio c++ to create a windows form application
    When I try to link the value of a trackbar to a label I get an error C2664...

    This is my code:

    private: System::Void trackBar1_Scroll(System::Object^ sender,System::EventArgs^ e) {
    this->label1->Text = this->trackBar1->Value
    }
    };

    can someone tell me what i'm doing wrong?
    sambuls, Nov 13, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John Harrison
    Replies:
    1
    Views:
    14,924
    Tim Mierzejewski
    Jun 25, 2003
  2. Suzanne
    Replies:
    0
    Views:
    997
    Suzanne
    Jun 25, 2003
  3. Jack Klein
    Replies:
    0
    Views:
    2,653
    Jack Klein
    Jun 25, 2003
  4. David Hoffman

    Compile error C2664 - Why??

    David Hoffman, Oct 11, 2003, in forum: C++
    Replies:
    4
    Views:
    3,653
    David Hoffman
    Oct 12, 2003
  5. mkarja

    Compiler error C2664

    mkarja, Feb 6, 2005, in forum: C++
    Replies:
    1
    Views:
    1,642
    David Lindauer
    Feb 6, 2005
Loading...

Share This Page