Cat-a-tonic
New member
- Joined
- Feb 25, 2012
- Messages
- 3
- Programming Experience
- 3-5
I've written a program to multiplex serial port input streams as a first VB.Net project. All working fine but has one anomaly which I can't crack.
When I run it in Debug mode, the program has a SplashScreen at start up then a Yes/No MsgBox pops up over it as expected. Clicking the Yes or No then brings up the main form after the SplashScreen closes. This is what I expect.
However, when I publish the solution and run the .EXE it runs as follows: the SplashScreen appears but the MsgBox doesn't popup. The MSgBox is minimised and doesn't popup until I click it. Then I can click Yes or No and the program continues as above.
Can anybody explain why this is happening and what I can do to ensure that the MsgBox behaves the save in the .EXE as it does under Debug?
When I run it in Debug mode, the program has a SplashScreen at start up then a Yes/No MsgBox pops up over it as expected. Clicking the Yes or No then brings up the main form after the SplashScreen closes. This is what I expect.
However, when I publish the solution and run the .EXE it runs as follows: the SplashScreen appears but the MsgBox doesn't popup. The MSgBox is minimised and doesn't popup until I click it. Then I can click Yes or No and the program continues as above.
Can anybody explain why this is happening and what I can do to ensure that the MsgBox behaves the save in the .EXE as it does under Debug?