I have a SSIS package task that is displaying messageboxes even those that code in the task is commented out when I run it. How do I stop that?
You will need to disable interactive mode in the package. The answer to this question on Stack Overflow should point you in the right direction and the documentation for this property on Tech Net can be found here.
Alternatively, try right-clicking on the solution, Properties -> Configuration Properties -> Debugging -> Interactive Mode. Set this to false.