hi! i'm using VS 2005 and i'm confused on how i can make my application an exe file. I tried saving it as .exe but when i click the .exe file the command prompt and a message appears. The message says that it has encountered an illegal operation.
Can someone help me with this thanks!

create exe of the program
Krutika
I'm not sure what steps you're taking but when you do a build, you create an exe. You need to change to a release build to create an exe that you can redistribute, and even then, you need to ship the .NET framework to anyone who is going to run your app.
If you get this error while doing a build, chances are your code contains an error. CTRL-B does a build, F5 does a build and starts the debugger.
Shavona48
When you debug your app without error
I think your exe file has been created in Bin folder
this is one of sub folder in your project folder
does it help you