In your project properties, there will be a c++ compiler option called something like "additional include directories". You need to add the parent of the 'enet' directory into that list (either as an absolute path, or a relative path from the project file).

In your project properties, there will be a c++ compiler option called something like "additional include directories". You need to add the parent of the 'enet' directory into that list (either as an absolute path, or a relative path from the project file).

exactly, i have set them as a relative path as i said before, but still i get these errors

Can you post some more info? This isn't an enet problem, it's a visual studio projection configuration problem.
e.g. what's the absolute path of your project file, what's the absolute path of the enet.h file, what include directories do you have set?

I wasted a whole day on this bullshit with VS 2010, I found out it doesn't actually use any of the directories you change in the project properties unless you do a save all or restart VS 2010, maybe that is your problem.