That code has nothing to do with the settings of the COM component. They affect only the host application.
>So sorry, the code really is
>
>
>SET STEP ON
>
>SET CENTURY ON
>SET CENTURY TO 20 ROLLOVER 30
>SET DATE DMY
>SET HOURS TO 24
>SET POINT TO "."
>SET SEPARATOR TO ","
>
>obj = CREATEOBJECTEX( {181848BA-43E1-464A-A93C-53C3C9CA6999}, "" )
>
>a=1
>
>and the I get the error message
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer