I have an application that works 100% in debug and as a compiled exe file. I communicates with an external HW. But, when using Publish with a ClickOnce, the program will install, load and startup. So far so good. First connection to HW is ok (protocol relies on simple
RS232 and command-reply style). Second parameters are sent to the HW and displayed on its LEDs. All ok. The reply is received in the VB program, but, when exiting the data receive routine, it hangs. Not so when running the exe file or in debug mode.
What is the difference and how can I remedy this?
I've tried all sorts of tricks, nothing works.
Help Please!!