how to compile the whole project and create an .exe file with vb6?

I put "option explicit" into all my units, and it cause error when I navigate into a function in which the variables arent declared properly.

but I dont want to navigate through all the funtions in the app to explore these errors , I need to compile the whole project and detect all the variable which aren declared properly..and I need an exe file too...

plz help