The database size is set in the connection string:
conn.ConnectionString = _
"Persist Security Info = False; Data Source = 'SalesData.sdf';" & _
"Password = ' '; File Mode = 'shared read'; " & _
"Max Database Size = 256; Max Buffer Size = 1024"
The default size is 128M.
Dewey Harris