what is the error msg?

what does the code look like for the ReadProperty and the WriteProperties subs ?