Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can is olve this error?

Status
Not open for further replies.

luisve

Programmer
Jun 24, 2005
29
US
The class EAL32VCS can be designed, but is not the first class in the file. Visual Studio requires that designers use the first class in the file. Move the class code so that it is the first class in the file and try loading the designer again.

i downloaded a sample but i cannot get in to the code, i got this error, can someone help me? thanks!!!
 
General practice is to only have one class per source file, and to name the source file after the class.

Just put each class in their own source file, make sure they're all in the same namespace, and you should be fine.

Chip H.


____________________________________________________________________
Donate to Katrina relief:
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top