>If you have a routine in VB.NET that doesnt return anything it needs to be declared SUB not Function.
>
>In FOX function and sub are the same. In .net they are not.
>
>If you turn option explicit on you will see that these issues are marked as Errors not warnings.
Ok, it's probably in the migration process then. Probably the option explicit setting got changed. I thought it was a restriction in VS 2005 but probably before those errors didn't show because of that setting.