I developed a program using VB5 to create and send e-mails via Outlook Express using MAPI. I have since upgraded to VB6 and have been trying to make some amendments to the program. However, VB6 keeps crashing with the "This program has performed an illegal operation …". When I look at the details, it usually says the error occurred in VB6.EXE but sometimes Kernel32 or an un-named module. I've re-installed VB6 twice and applied Service pack 3 but it makes no difference. The error occurs when I run in development mode or try to compile the program. Can anyone help, please?