Sorry, my mistake, forgot the *.
sMap* sMapPtr=new sMap[runtime number does not have to be constant];

I don't know VB though so I can't help you converting snippet.