My first guess (and what happens to me too often) is that you didn't set the com port as a default in one of the controls, and it is defaulting elsewhere. If you freshly open the program (VI, not exe), then run it, without touching any controls, will it work? If you have to change any controls, do them after you hit run, as that is what the exe will see. It may give some insight.