Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > error C2664 ???

Reply
Thread Tools

error C2664 ???

 
 
sambuls sambuls is offline
Junior Member
Join Date: Nov 2008
Posts: 1
 
      11-13-2008
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?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiler error C2664 mkarja C++ 1 02-06-2005 10:28 PM
Compile error C2664 - Why?? David Hoffman C++ 4 10-12-2003 02:07 AM
Re: Error C2664: Cannot Convert Parameter 1 from 'x' to 'y' John Harrison C++ 1 06-25-2003 08:03 PM
Re: Error C2664: Cannot Convert Parameter 1 from 'x' to 'y' Jack Klein C++ 0 06-25-2003 05:39 PM
Re: Error C2664: Cannot Convert Parameter 1 from 'x' to 'y' Suzanne C++ 0 06-25-2003 05:38 PM



Advertisments