I have a couple of applications in VB 6.0 which i want to move to C#.NET so I was looking for serial communication example. So far so good.
There was a couple of examples on the Internet but none of them worked on my PC (Win7 64bit, VS2012, .NET 4.5) so i decided to try them on another PC. Here is where everything start look like The X Files...
The sample application I'm trying is this one
First I've tried on a notebook with Win8 64bit now working at all. Then I tried on a desktop pc with Win7 64bit 3.5 .NET not receiving only transmitting. I installed .NET 4.0 and it stopped working at all.
I tried on same model another desktop PC, Win7 32bit 3.5 NET. It's working OK both receiving and transmitting. Installed .NET 4.0 and no receive no transmit. Uninstall .NET 4.0 still not working. Restore from restore poing before .NET 4.0 working again. After a couple of test stopped working no matter restore point or not.
I tried on another desktop pc with Win8 64bit worked ok, then installed .NET 4.5 stopped working at all. Tried on XP too 3.5 .NET working OK and .NET 4.0 OK. On all computers my old VB6.0 program is working OK no matter if .net example is working or not.
Can someone tell me what is going on? Also how to create program and give it to customer when it is so unstable?
I'm looking over the Internet for more than 3 days and nights and still haven't found somebody with problems like mine. Am I doing something wrong or just I'm missing something about the whole .NET thing ? I'll post more info about my tries if it's necessary!