Your post reminds me of that ship that went amuck when MS Windows crashed in the auto pilot computer. Why the Navy would use Windows in a crucial navigation system is beyond comprehension.
Because both Windows and the Visual Basic programmers are Common-Off-The-Shelves commodities.
cheers, caveman