Doesn't the protection feature just show a dialog box when they open the form in the designer? I didn't think it prevented the user from seeing the code. Maybe I'm wrong though.
Hi Rggg and welcome,
Another way to do this is to use managed code (.NET) and obfuscate the code that you create. I heard somewhere that obfuscation was built into Visual Studio 2005 but I haven't tried it. We have a commercial obfuscator for our projects.
Patrick Halstead
Project Manager at Qdabra