Hi, >Ok, I understood. >You changed 'Public Class' into 'Public Module', and therefore its members >of are >implicitly Shared. Another important reason is that using Shared in Modules results in compilation errors. Kornél