What version of the IDE are you using? VS.NET 2003 you change the configuration on the tool bar. VB 2005 Express you create a Release build by using the Build menu. VS 2005 also has the configuration on the tool bar I think, although I haven't used it so I'm not too sure.